forked from plotly/dash-table
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
61 lines (60 loc) · 1.88 KB
/
.eslintrc.js
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
51
52
53
54
55
56
57
58
59
60
61
var path = require('path');
module.exports = {
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier"
],
"plugins": [
"@typescript-eslint"
],
"parserOptions": {
"project": path.join(__dirname, "tsconfig.lint.json"),
},
"rules": {
"arrow-parens": [
2,
"as-needed"
],
"comma-dangle": [
2,
"never"
],
"no-unused-expressions": 2,
"no-unused-vars": 0,
"prefer-arrow-callback": 2,
"quote-props": [
2,
"as-needed"
],
"quotes": [
2,
"single",
{ "avoidEscape": true }
],
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/array-type": 0,
"@typescript-eslint/eofline": 0,
"@typescript-eslint/max-classes-per-file": 0,
"@typescript-eslint/max-line-length": 0,
"@typescript-eslint/member-access": 0,
"@typescript-eslint/member-ordering": 0,
"@typescript-eslint/no-conditional-assignment": 0,
"@typescript-eslint/no-empty": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-vars": [2, { "argsIgnorePattern": "_" }],
"@typescript-eslint/object-literal-sort-keys": 0,
"@typescript-eslint/object-literal-shorthand": 0,
"@typescript-eslint/ordered-imports": 0,
"@typescript-eslint/prefer-const": 0,
"@typescript-eslint/prefer-for-of": 0,
"@typescript-eslint/space-before-function-paren": [
0,
"always"
],
"@typescript-eslint/unified-signatures": 0,
"@typescript-eslint/variable-name": 0
}
}