|
4 | 4 | "env": { |
5 | 5 | "node": true, |
6 | 6 | }, |
7 | | - "parser": "babel-eslint", |
| 7 | + "parser": "@babel/eslint-parser", |
| 8 | + "ignorePatterns": [ |
| 9 | + "/build", |
| 10 | + "_book", |
| 11 | + "packages/*/build/", |
| 12 | + // Temporarily copied |
| 13 | + "packages/*/LICENSE.md", |
| 14 | + "packages/enzyme/README.md", |
| 15 | + "packages/enzyme-adapter-react-*/README.md", |
| 16 | + "packages/enzyme-adapter-utils*/README.md", |
| 17 | + ], |
8 | 18 | "rules": { |
9 | 19 | "id-length": 0, |
10 | 20 | "react/no-find-dom-node": 1, |
|
23 | 33 | "devDependencies": true, |
24 | 34 | }], |
25 | 35 | "comma-dangle": [2, { |
26 | | - arrays: "always-multiline", |
27 | | - objects: "always-multiline", |
28 | | - imports: "always-multiline", |
29 | | - exports: "always-multiline", |
30 | | - functions: "ignore", |
| 36 | + "arrays": "always-multiline", |
| 37 | + "objects": "always-multiline", |
| 38 | + "imports": "always-multiline", |
| 39 | + "exports": "always-multiline", |
| 40 | + "functions": "ignore", |
31 | 41 | }], |
32 | 42 | "strict": [2, "safe"], |
33 | 43 | "prefer-destructuring": 0, |
34 | 44 | "prefer-template": 0, |
35 | 45 | }, |
36 | 46 | "parserOptions": { |
37 | | - sourceType: "script", |
| 47 | + "sourceType": "script", |
38 | 48 | }, |
39 | 49 | }, |
40 | 50 | { |
41 | 51 | "files": [ |
42 | | - "*.md", |
43 | 52 | "**/*.md", |
| 53 | + "**/*.md/**" |
44 | 54 | ], |
45 | | - "plugins": [ |
46 | | - "markdown" |
47 | | - ], |
| 55 | + "extends": ["plugin:markdown/recommended"], |
48 | 56 | "rules": { |
49 | 57 | "class-methods-use-this": 0, |
50 | | - "import/no-unresolved": 0, |
51 | | - "import/no-extraneous-dependencies": 0, |
52 | 58 | "import/extensions": 0, |
| 59 | + "import/no-extraneous-dependencies": 0, |
| 60 | + "import/no-unresolved": 0, |
| 61 | + "import/prefer-default-export": 0, |
53 | 62 | "max-len": 0, |
54 | | - "no-unused-vars": 0, |
55 | 63 | "no-console": 0, |
56 | 64 | "no-undef": 0, |
57 | | - "react/react-in-jsx-scope": 0, |
| 65 | + "no-unused-vars": 0, |
58 | 66 | "react/jsx-filename-extension": 0, |
| 67 | + "react/jsx-fragments": 0, |
59 | 68 | "react/jsx-no-undef": 0, |
60 | | - "react/no-multi-comp": 0, |
| 69 | + "react/jsx-no-useless-fragment": 0, |
61 | 70 | "react/jsx-one-expression-per-line": 0, |
62 | | - "react/jsx-fragments": 0, |
| 71 | + "react/no-multi-comp": 0, |
| 72 | + "react/no-unknown-property": 0, |
| 73 | + "react/no-unused-class-component-methods": 0, |
| 74 | + "react/react-in-jsx-scope": 0, |
63 | 75 | }, |
64 | 76 | }, |
65 | 77 | ], |
|
0 commit comments