1module.exports = {
2    'parserOptions': {
3        'ecmaVersion': 5
4    },
5    'env': {
6        'browser': true,
7        'jquery': true
8    },
9    'plugins': [
10        'compat'
11    ],
12    'extends': 'eslint:recommended',
13    'rules': {
14        'compat/compat': 'error',
15        'valid-jsdoc': 'warn',
16        'default-case': 'error',
17        'eqeqeq': [
18            'error',
19            'smart'
20        ],
21        'no-magic-numbers': [
22            'error',
23            {
24                'ignoreArrayIndexes': true,
25                'ignore': [
26                    -1,
27                    0,
28                    1
29                ]
30            }
31        ],
32        'comma-dangle': [
33            'error',
34            'never',
35        ],
36        "indent": [
37            "error",
38            4,
39        ],
40        "quotes": [
41            "error",
42            "single",
43        ],
44        "dot-notation": ["warn"],
45        "object-shorthand": ["error", "never"],
46        "linebreak-style": [
47            "error",
48            "unix",
49        ],
50        "no-implicit-globals": "error",
51        "no-return-assign": "error",
52        "no-throw-literal": "error",
53        "strict": ["error", "function"],
54        "require-jsdoc": ["error", {
55        "require": {
56            "FunctionDeclaration": true,
57            "MethodDefinition": true,
58            "ClassDeclaration": false,
59            "ArrowFunctionExpression": false
60        }
61    }]
62    },
63};
64