Skip to content

Commit

Permalink
fix(linter): add migration for eslint config prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini committed Oct 19, 2023
1 parent 0418708 commit d04b7f2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions packages/eslint/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@
"version": "^5.60.1"
}
}
},
"17.0.0": {
"version": "17.0.0-rc.2",
"packages": {
"eslint-config-prettier": {
"version": "^9.0.0"
}
}
}
}
}
2 changes: 1 addition & 1 deletion packages/eslint/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ export const nxVersion = require('../../package.json').version;

export const eslintVersion = '~8.46.0';
export const eslintrcVersion = '^2.1.1';
export const eslintConfigPrettierVersion = '9.0.0';
export const eslintConfigPrettierVersion = '^9.0.0';
export const typescriptESLintVersion = '^5.60.1';
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ exports[`lib should add correct jest.config.ts and dependencies to package.json
"@vue/vue3-jest": "^29.2.6",
"babel-jest": "^29.4.1",
"eslint": "~8.46.0",
"eslint-config-prettier": "9.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-vue": "^9.16.1",
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1",
Expand Down Expand Up @@ -254,7 +254,7 @@ exports[`lib should add vue, vite and vitest to package.json 1`] = `
"@vue/test-utils": "^2.4.1",
"@vue/tsconfig": "^0.4.0",
"eslint": "~8.46.0",
"eslint-config-prettier": "9.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-vue": "^9.16.1",
"jsdom": "~22.1.0",
"prettier": "^2.6.2",
Expand Down

0 comments on commit d04b7f2

Please sign in to comment.