generated from bigbluebutton/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
44 lines (43 loc) · 1.1 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
39
40
41
42
43
44
{
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 2020
},
"plugins": [
"@typescript-eslint",
"react",
"jsx-a11y",
"import"
],
"env": {
"es6": true,
"node": true,
"browser": true
},
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".tsx", ".jsx"] }],
"no-shadow": "off",
"@typescript-eslint/no-shadow": "warn",
"import/prefer-default-export": "off",
"no-underscore-dangle": 0,
"import/extensions": [2, "never"],
"import/no-absolute-path": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 1,
"react/prop-types": 1,
"jsx-a11y/no-access-key": 0,
"react/jsx-props-no-spreading": "off",
"max-classes-per-file": "off",
"class-methods-use-this": "off"
},
"globals": {
"browser": "writable"
}
}