-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
32 lines (31 loc) · 1.01 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
{
"extends": ["@grafana/eslint-config","plugin:prettier/recommended"],
"root": true,
"plugins": ["@emotion", "jest", "import"],
"settings": {
"import/internal-regex": "^(src/)|(@grafana)",
"import/external-module-folders": ["node_modules", ".yarn"]
},
"rules": {
"react/prop-types": "off",
"@emotion/jsx-import": "error",
"object-curly-spacing": [2, "always"],
// "lodash/import-scope": [2, "member"],
"jest/no-focused-tests": "error",
// "import/order": [
// "error",
// {
// "groups": [["builtin", "external"], "internal", "parent", "sibling", "index"],
// "newlines-between": "always",
// "alphabetize": { "order": "asc" }
// }
// ],
// Use typescript's no-redeclare for compatibility with overrides
"no-redeclare": "off",
"@typescript-eslint/no-redeclare": ["error"],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": "off",
"no-unused-vars": 0,
"prettier/prettier": 1
}
}