|
1 | 1 | { |
2 | 2 | "root": true, |
3 | 3 | "ignorePatterns": ["**/*"], |
4 | | - "plugins": ["@nrwl/nx", "prettier", "prefer-arrow"], |
| 4 | + "plugins": ["@nx", "prettier", "prefer-arrow"], |
5 | 5 | "rules": {}, |
6 | 6 | "overrides": [ |
7 | 7 | { |
8 | 8 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], |
9 | 9 | "rules": { |
10 | | - "@nrwl/nx/enforce-module-boundaries": [ |
| 10 | + "@nx/enforce-module-boundaries": [ |
11 | 11 | "error", |
12 | 12 | { |
13 | 13 | "enforceBuildableLibDependency": true, |
|
24 | 24 | }, |
25 | 25 | { |
26 | 26 | "files": ["*.ts", "*.tsx"], |
27 | | - "extends": ["plugin:@nrwl/nx/typescript", "airbnb", "airbnb-typescript", "next", "prettier"], |
| 27 | + "extends": ["plugin:@nx/typescript", "airbnb", "airbnb-typescript", "next", "prettier"], |
28 | 28 | "rules": { |
29 | 29 | "prefer-arrow/prefer-arrow-functions": [ |
30 | 30 | "error", |
|
34 | 34 | "classPropertiesAllowed": false |
35 | 35 | } |
36 | 36 | ], |
37 | | - "prefer-arrow-callback": ["error", { "allowNamedFunctions": true }], |
38 | | - "func-style": ["error", "expression", { "allowArrowFunctions": true }], |
| 37 | + "prefer-arrow-callback": [ |
| 38 | + "error", |
| 39 | + { |
| 40 | + "allowNamedFunctions": true |
| 41 | + } |
| 42 | + ], |
| 43 | + "func-style": [ |
| 44 | + "error", |
| 45 | + "expression", |
| 46 | + { |
| 47 | + "allowArrowFunctions": true |
| 48 | + } |
| 49 | + ], |
39 | 50 | "react/prop-types": "off", |
40 | 51 | "import/prefer-default-export": "off", |
41 | 52 | "import/no-extraneous-dependencies": "off", |
|
61 | 72 | }, |
62 | 73 | { |
63 | 74 | "files": ["*.js", "*.jsx"], |
64 | | - "extends": ["plugin:@nrwl/nx/javascript"], |
| 75 | + "extends": ["plugin:@nx/javascript"], |
| 76 | + "rules": {} |
| 77 | + }, |
| 78 | + { |
| 79 | + "files": "*.json", |
| 80 | + "parser": "jsonc-eslint-parser", |
65 | 81 | "rules": {} |
66 | 82 | } |
67 | 83 | ] |
|
0 commit comments