forked from grafana/pyroscope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
28 lines (28 loc) · 910 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
24
25
26
27
28
{
"parser": "babel-eslint",
"plugins": ["prettier"],
"extends": ["airbnb", "prettier"],
"rules": {
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"no-unused-vars": ["warn"],
"prettier/prettier": ["error"],
"no-param-reassign": ["warn"],
"no-shadow": ["warn"],
"no-case-declarations": ["warn"],
"no-use-before-define": ["warn"],
"no-restricted-globals": ["warn"],
"react/button-has-type": ["warn"],
"react/prop-types": ["warn"],
"jsx-a11y/heading-has-content": ["warn"],
"jsx-a11y/control-has-associated-label": ["warn"],
"no-undef": ["warn"],
"react/jsx-one-expression-per-line": ["warn"],
"jsx-a11y/mouse-events-have-key-events": ["warn"],
"jsx-a11y/click-events-have-key-events": ["warn"],
"jsx-a11y/no-static-element-interactions": ["warn"]
},
"env": {
"browser": true,
"node": true
}
}