chore(linter): update eslint-config-prettier (#4899)
* chore(linter): update eslint-config-prettier * fix(linter): fix migrations * feat(linter): update migrations * fix(linter): move peer dependency to eslint-plugin-nx Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
This commit is contained in:
parent
48c7c7b6a3
commit
5b0f23a3e4
@ -25468,7 +25468,7 @@ export const mediumGraph: ProjectGraphCache = {
|
||||
type: 'npm',
|
||||
name: 'npm:eslint-config-prettier',
|
||||
data: {
|
||||
version: '6.0.0',
|
||||
version: '8.1.0',
|
||||
packageName: 'eslint-config-prettier',
|
||||
files: [],
|
||||
},
|
||||
|
||||
@ -9945,7 +9945,7 @@ export const smallGraph: ProjectGraphCache = {
|
||||
type: 'npm',
|
||||
name: 'npm:eslint-config-prettier',
|
||||
data: {
|
||||
version: '6.0.0',
|
||||
version: '8.1.0',
|
||||
packageName: 'eslint-config-prettier',
|
||||
files: [],
|
||||
},
|
||||
|
||||
@ -149,7 +149,7 @@
|
||||
"dotenv": "6.2.0",
|
||||
"ejs": "^3.1.5",
|
||||
"eslint": "7.10.0",
|
||||
"eslint-config-prettier": "^7.1.0",
|
||||
"eslint-config-prettier": "^8.1.0",
|
||||
"eslint-plugin-cypress": "^2.10.3",
|
||||
"express": "4.17.1",
|
||||
"file-loader": "4.2.0",
|
||||
|
||||
@ -28,7 +28,8 @@
|
||||
},
|
||||
"homepage": "https://nx.dev",
|
||||
"peerDependencies": {
|
||||
"@typescript-eslint/parser": "^4.3.0"
|
||||
"@typescript-eslint/parser": "^4.3.0",
|
||||
"eslint-config-prettier": "^8.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nrwl/devkit": "*",
|
||||
|
||||
@ -30,7 +30,6 @@ export default {
|
||||
'plugin:@typescript-eslint/eslint-recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'prettier',
|
||||
'prettier/@typescript-eslint',
|
||||
],
|
||||
rules: {
|
||||
'@typescript-eslint/explicit-member-accessibility': 'off',
|
||||
|
||||
@ -25,7 +25,6 @@ export default {
|
||||
'plugin:@typescript-eslint/eslint-recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'prettier',
|
||||
'prettier/@typescript-eslint',
|
||||
],
|
||||
rules: {
|
||||
'@typescript-eslint/explicit-member-accessibility': 'off',
|
||||
|
||||
@ -58,6 +58,15 @@
|
||||
"alwaysAddToPackageJson": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"11.5.0": {
|
||||
"version": "11.5.0-beta.0",
|
||||
"packages": {
|
||||
"eslint-config-prettier": {
|
||||
"version": "8.1.0",
|
||||
"alwaysAddToPackageJson": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import { Tree } from '@angular-devkit/schematics';
|
||||
import {
|
||||
readJsonInTree,
|
||||
readWorkspace,
|
||||
updateJsonInTree,
|
||||
updateWorkspace,
|
||||
|
||||
@ -5,10 +5,10 @@ import type { Linter } from 'eslint';
|
||||
import { runMigration } from '../../utils/testing';
|
||||
import {
|
||||
updateExtendsAndRemoveDuplication,
|
||||
updateObjPropAndRemoveDuplication,
|
||||
updateOverridesAndRemoveDuplication,
|
||||
updateParserOptionsAndRemoveDuplication,
|
||||
updatePluginsAndRemoveDuplication,
|
||||
updateObjPropAndRemoveDuplication,
|
||||
} from './update-eslint-configs-to-use-nx-presets';
|
||||
|
||||
describe('Update ESLint config files to use preset configs which eslint-plugin-nx exports', () => {
|
||||
|
||||
@ -5,4 +5,4 @@ export const buildAngularVersion = '~0.1102.0';
|
||||
|
||||
export const typescriptESLintVersion = '4.3.0';
|
||||
export const eslintVersion = '7.10.0';
|
||||
export const eslintConfigPrettierVersion = '6.0.0';
|
||||
export const eslintConfigPrettierVersion = '8.1.0';
|
||||
|
||||
@ -7,4 +7,4 @@ export const prettierVersion = '2.2.1';
|
||||
export const typescriptESLintVersion = '4.3.0';
|
||||
export const tslintVersion = '~6.1.0';
|
||||
export const eslintVersion = '7.10.0';
|
||||
export const eslintConfigPrettierVersion = '6.0.0';
|
||||
export const eslintConfigPrettierVersion = '8.1.0';
|
||||
|
||||
@ -10868,10 +10868,10 @@ escodegen@^1.11.1, escodegen@^1.14.1:
|
||||
optionalDependencies:
|
||||
source-map "~0.6.1"
|
||||
|
||||
eslint-config-prettier@^7.1.0:
|
||||
version "7.1.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-7.1.0.tgz#5402eb559aa94b894effd6bddfa0b1ca051c858f"
|
||||
integrity sha512-9sm5/PxaFG7qNJvJzTROMM1Bk1ozXVTKI0buKOyb0Bsr1hrwi0H/TzxF/COtf1uxikIK8SwhX7K6zg78jAzbeA==
|
||||
eslint-config-prettier@^8.1.0:
|
||||
version "8.1.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.1.0.tgz#4ef1eaf97afe5176e6a75ddfb57c335121abc5a6"
|
||||
integrity sha512-oKMhGv3ihGbCIimCAjqkdzx2Q+jthoqnXSP+d86M9tptwugycmTFdVR4IpLgq2c4SHifbwO90z2fQ8/Aio73yw==
|
||||
|
||||
eslint-plugin-cypress@^2.10.3:
|
||||
version "2.11.2"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user