forked from navikt/aksel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
23 lines (23 loc) · 765 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"env": {
"browser": true
},
"parser": "babel-eslint",
"extends": "airbnb",
"rules": {
"no-unused-vars": [2, { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }],
"indent": [2, 4, { "SwitchCase": 1 }],
"max-len": [2, 120, 4],
"comma-dangle": [2, "never"],
"arrow-parens": [2, "always"],
"import/no-extraneous-dependencies": ["error", { "peerDependencies": true }],
"import/no-unresolved": "warn",
"import/extensions": "warn",
"react/prop-types": "off",
"react/jsx-filename-extension": ["warn", { "extensions": [".js", ".jsx"] }],
"react/jsx-indent-props": ["error", 4],
"react/jsx-indent": ["error", 4],
"react/no-find-dom-node": "warn",
"jsx-a11y/no-noninteractive-tabindex": "warn"
}
}