|
1 | 1 | { |
2 | | - "env": { |
3 | | - "browser": true, |
4 | | - "es6": true, |
5 | | - "node": true, |
6 | | - "jest": true |
7 | | - }, |
8 | | - "extends": [ |
9 | | - "airbnb", |
10 | | - "airbnb/hooks", |
11 | | - "plugin:@typescript-eslint/recommended", |
12 | | - "plugin:prettier/recommended" |
13 | | - ], |
14 | | - "parser": "@typescript-eslint/parser", |
15 | | - "parserOptions": { |
16 | | - "ecmaFeatures": { |
17 | | - "jsx": true |
18 | | - }, |
19 | | - "ecmaVersion": 12, |
20 | | - "sourceType": "module" |
21 | | - }, |
22 | | - "plugins": [ |
23 | | - "react", |
24 | | - "@typescript-eslint", |
25 | | - "prettier", |
26 | | - "react-hooks", |
27 | | - "import-helpers", |
28 | | - "eslint-plugin-import-helpers" |
29 | | - ], |
30 | | - "rules": { |
31 | | - "@typescript-eslint/explicit-function-return-type": "off", |
32 | | - "@typescript-eslint/explicit-module-boundary-types": "off", |
33 | | - "@typescript-eslint/interface-name-prefix": "off", |
34 | | - "@typescript-eslint/no-explicit-any": "off", |
35 | | - "camelcase": "off", |
36 | | - "class-methods-use-this": "off", |
37 | | - "import-helpers/order-imports": [ |
38 | | - "warn", |
39 | | - { |
40 | | - "alphabetize": { |
41 | | - "ignoreCase": true, |
42 | | - "order": "asc" |
43 | | - }, |
44 | | - "groups": [ |
45 | | - "/^react/", |
46 | | - "module", |
47 | | - "/^[A-Z].*/", |
48 | | - ["parent", "sibling", "index"] |
49 | | - ], |
50 | | - "newlinesBetween": "always" |
51 | | - } |
52 | | - ], |
53 | | - "import/no-extraneous-dependencies": [ |
54 | | - "error", |
55 | | - { |
56 | | - "devDependencies": true |
57 | | - } |
58 | | - ], |
59 | | - "import/extensions": "off", |
60 | | - "import/no-unresolved": "off", |
61 | | - "import/prefer-default-export": "off", |
62 | | - "no-useless-constructor": "off", |
63 | | - "react/jsx-filename-extension": [1, { "extensions": [".tsx"] }], |
64 | | - "react/jsx-props-no-spreading": "off", |
65 | | - "react/react-in-jsx-scope": "off" |
66 | | - } |
| 2 | + "extends": ["cod3rocket"] |
67 | 3 | } |
0 commit comments