Version 1
[yaffs-website] / node_modules / es5-shim / .eslintrc
1 {
2         "root": true,
3
4         "extends": "@ljharb",
5
6         "rules": {
7                 "camelcase": [0],
8                 "complexity": [0, 10],
9                 "dot-notation": [2, { "allowKeywords": false }],
10                 "eqeqeq": [2, "allow-null"],
11                 "id-length": [2, { "min": 1, "max": 40 }],
12                 "indent": [2, 4],
13                 "max-nested-callbacks": [2, 5],
14                 "max-params": [2, 7],
15                 "max-statements": [1, 30],
16                 "new-cap": [2, { "capIsNewExceptions": ["ToInteger", "ToObject", "ToPrimitive", "ToUint32"] }],
17                 "no-constant-condition": [1],
18                 "no-extend-native": [2, {"exceptions": ["Date", "Error", "RegExp"]}],
19                 "no-extra-parens": [0],
20                 "no-extra-semi": [1],
21                 "no-func-assign": [1],
22                 "no-implicit-coercion": [2, {
23                         "boolean": false,
24                         "number": false,
25                         "string": true
26                  }],
27                 "no-invalid-this": [0],
28                 "no-magic-numbers": [0],
29                 "no-native-reassign": [2, {"exceptions": ["Date", "parseInt"]}],
30                 "no-new-func": [1],
31                 "no-plusplus": [1],
32                 "no-restricted-syntax": [2, "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"],
33                 "no-shadow": [1],
34                 "no-unused-vars": [1, { "vars": "all", "args": "after-used" }],
35                 "operator-linebreak": [2, "after"],
36                 "quote-props": [1, "as-needed", { "keywords": true }],
37                 "spaced-comment": [0],
38                 "strict": [0]
39         }
40 }