forked from pinqy520/yoga-layout-wasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
50 lines (50 loc) · 1.41 KB
/
.eslintrc.json
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
45
46
47
48
49
50
{
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"@play-co/eslint-config/rules/timestep/typescript.js",
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
],
"root": true,
"env": {
"jest": true,
"browser": true
},
"rules": {
"prettier/prettier": "error",
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-unused-vars": [
1,
{
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-empty-interface": 1,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-this-alias": 1,
"@typescript-eslint/explicit-module-boundary-types": 0,
"no-prototype-builtins": 0,
"no-unused-vars": 0,
"no-use-before-define": 0,
"no-empty": 0,
"no-var": 1,
"no-fallthrough": 1,
"no-useless-catch": 0,
"no-unreachable": 0,
"prefer-rest-params": 0,
"prefer-const": 1,
"prefer-spread": 1,
"block-scoped-var": 1,
"no-dupe-class-members": 0,
"new-cap": 1,
"no-undef": 0
}
}