Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: upleveled/eslint-config-upleveled
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v9.0.0
Choose a base ref
...
head repository: upleveled/eslint-config-upleveled
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9.1.0
Choose a head ref
  • 7 commits
  • 5 files changed
  • 2 contributors

Commits on Jan 24, 2025

  1. Upgrade tests

    karlhorky committed Jan 24, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    karlhorky Karl Horky
    Copy the full SHA
    f2cd02a View commit details

Commits on Jan 30, 2025

  1. Update dependency upgrades - non-major (#485)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 30, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5e9d29c View commit details
  2. Update dependency eslint-config-flat-gitignore to v2 (#486)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 30, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d25daa1 View commit details

Commits on Jan 31, 2025

  1. Update dependency eslint-config-upleveled to v9 (#487)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 31, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0d10933 View commit details

Commits on Feb 11, 2025

  1. Configure strict-dep-builds to fail on pnpm v10 ignored build scripts (

    …#490)
    
    * Configure strict-dep-builds to fail on pnpm v10 ignored build scripts
    
    * Move URL to own line and bullet
    karlhorky authored Feb 11, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2da1fe0 View commit details
  2. Upgrade dependencies (#491)

    karlhorky authored Feb 11, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    1b027b6 View commit details
  3. 9.1.0

    karlhorky committed Feb 11, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    karlhorky Karl Horky
    Copy the full SHA
    92f0256 View commit details
Showing with 4,289 additions and 3,321 deletions.
  1. +1 −1 __tests__/package.json
  2. +3,094 −1,963 __tests__/pnpm-lock.yaml
  3. +25 −0 bin/install.js
  4. +16 −16 package.json
  5. +1,153 −1,341 pnpm-lock.yaml
2 changes: 1 addition & 1 deletion __tests__/package.json
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"eslint": "^9.10.0",
"eslint-config-upleveled": "^8.12.1",
"eslint-config-upleveled": "^9.0.0",
"postcss-styled-syntax": "^0.7.0",
"prettier": "^3.2.5",
"stylelint": "^16.0.0",
5,057 changes: 3,094 additions & 1,963 deletions __tests__/pnpm-lock.yaml

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions bin/install.js
Original file line number Diff line number Diff line change
@@ -363,6 +363,31 @@ writeFileSync(

console.log('✅ Done updating .gitignore');

const npmrcPath = join(process.cwd(), '.npmrc');

/** @type {string[]} */
let npmrcContentLines = [];

try {
npmrcContentLines = readFileSync(npmrcPath, 'utf-8').split('\n');
} catch {
// Swallow error in case .npmrc doesn't exist yet
}

if (!npmrcContentLines.includes('strict-dep-builds=true')) {
console.log('Updating .npmrc...');
npmrcContentLines.push(`# Fail on pnpm ignored build scripts
# - https://github.com/pnpm/pnpm/pull/9071
strict-dep-builds=true`);
writeFileSync(
npmrcPath,
npmrcContentLines.join('\n') +
// Add trailing newline if last line is not empty
(npmrcContentLines.at(-1) === '' ? '' : '\n'),
);
console.log('✅ Done updating .npmrc');
}

// Commented out in case we need to patch Next.js again in the
// future
// ```
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-upleveled",
"version": "9.0.0",
"version": "9.1.0",
"description": "UpLeveled ESLint defaults for programming in JavaScript, TypeScript, React, Next.js, Node.js, Postgres.js",
"keywords": [
"eslint",
@@ -35,19 +35,19 @@
"postpublish": "cd __tests__ && pnpm update-config-version"
},
"dependencies": {
"@babel/eslint-parser": "7.26.5",
"@eslint/compat": "1.2.5",
"@next/eslint-plugin-next": "15.1.6",
"@typescript-eslint/eslint-plugin": "8.21.0",
"@typescript-eslint/parser": "8.21.0",
"eslint-config-flat-gitignore": "1.0.0",
"@babel/eslint-parser": "7.26.8",
"@eslint/compat": "1.2.6",
"@next/eslint-plugin-next": "15.1.7",
"@typescript-eslint/eslint-plugin": "8.24.0",
"@typescript-eslint/parser": "8.24.0",
"eslint-config-flat-gitignore": "2.0.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-plugin-import-x": "4.6.1",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.4",
"eslint-plugin-react-compiler": "19.0.0-beta-e552027-20250112",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-react-x": "1.24.1",
"eslint-plugin-react-x": "1.26.2",
"eslint-plugin-security": "3.0.1",
"eslint-plugin-sonarjs": "3.0.1",
"eslint-plugin-testing-library": "7.1.1",
@@ -56,26 +56,26 @@
"is-plain-obj": "4.1.0",
"sort-package-json": "2.14.0",
"strip-json-comments": "5.0.1",
"ts-api-utils": "2.0.0"
"ts-api-utils": "2.0.1"
},
"devDependencies": {
"@typescript-eslint/utils": "8.21.0",
"eslint-config-upleveled": "8.12.1",
"prettier": "3.4.2",
"@typescript-eslint/utils": "8.24.0",
"eslint-config-upleveled": "9.0.0",
"prettier": "3.5.0",
"prettier-plugin-embed": "0.4.15",
"prettier-plugin-sql": "0.18.1",
"stylelint": "16.13.2",
"stylelint": "16.14.1",
"typescript": "5.7.3"
},
"peerDependencies": {
"@types/node": ">=22.10.10",
"@types/node": ">=22.12.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"eslint": "^9.18.0",
"eslint": "^9.19.0",
"globals": "^15.14.0",
"typescript": "^5.7.3"
},
"packageManager": "pnpm@9.15.4",
"packageManager": "pnpm@10.3.0+sha512.ee592eda8815a8a293c206bb0917c4bb0ff274c50def7cbc17be05ec641fc2d1b02490ce660061356bd0d126a4d7eb2ec8830e6959fb8a447571c631d5a2442d",
"engines": {
"node": ">=20.9.0"
}
2,494 changes: 1,153 additions & 1,341 deletions pnpm-lock.yaml

Large diffs are not rendered by default.