forked from saleor/saleor-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
38 lines (38 loc) · 1.09 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"extends": [
"airbnb-typescript",
"prettier",
"prettier/react",
"plugin:import/errors",
"plugin:import/typescript"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.eslint.json"
},
"plugins": ["import", "react", "prettier"],
"rules": {
"comma-spacing": "off",
"sort-keys": "error",
"sort-imports": "off",
"import/no-cycle": "off",
"import/no-internal-modules": "off",
"import/no-named-as-default": "off",
"import/prefer-default-export": "off",
"import/order": "error",
"prettier/prettier": ["error"],
"react/jsx-one-expression-per-line": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-wrap-multilines": "off",
"react/prop-types": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/quotes": "off",
"no-nested-ternary": "off",
"no-async-promise-executor": "warn",
"import/no-extraneous-dependencies": [
"error",
{ "devDependencies": ["testUtils/*.ts", "**/*.test.ts", "**/*.test.tsx"] }
]
}
}