|
| 1 | +{ |
| 2 | + "env": { |
| 3 | + "es6": true, |
| 4 | + "jquery": true, |
| 5 | + "browser": true |
| 6 | + }, |
| 7 | + "parserOptions": { |
| 8 | + "sourceType": "module", |
| 9 | + "ecmaVersion": 7, |
| 10 | + "requireConfigFile": false |
| 11 | + }, |
| 12 | + "parser": "@babel\\eslint-parser", |
| 13 | + "extends": "eslint:all", |
| 14 | + "rules": { |
| 15 | + "array-element-newline": "off", |
| 16 | + "capitalized-comments": "off", |
| 17 | + "class-methods-use-this": "off", |
| 18 | + "complexity": "off", |
| 19 | + "consistent-this": "off", |
| 20 | + "default-case": "off", |
| 21 | + "dot-location": "off", |
| 22 | + "func-names": "off", |
| 23 | + "function-call-argument-newline": "off", |
| 24 | + "global-require": "off", |
| 25 | + "id-length": "off", |
| 26 | + "indent": [ |
| 27 | + "error", 4, { |
| 28 | + "SwitchCase": 1 |
| 29 | + } |
| 30 | + ], |
| 31 | + "init-declarations": "off", |
| 32 | + "line-comment-position": "off", |
| 33 | + "linebreak-style": "off", |
| 34 | + "lines-around-comment": "off", |
| 35 | + "max-depth": "off", |
| 36 | + "max-len": "off", |
| 37 | + "max-lines": "off", |
| 38 | + "max-lines-per-function": "off", |
| 39 | + "max-params": "off", |
| 40 | + "max-statements": "off", |
| 41 | + "multiline-comment-style": "off", |
| 42 | + "multiline-ternary": "off", |
| 43 | + "new-cap": [ |
| 44 | + "error", |
| 45 | + {"properties": false} |
| 46 | + ], |
| 47 | + "newline-per-chained-call": "off", |
| 48 | + "no-await-in-loop": "off", |
| 49 | + "no-confusing-arrow": "off", |
| 50 | + "no-console": "off", |
| 51 | + "no-continue": "off", |
| 52 | + "no-empty": "off", |
| 53 | + "no-empty-function": "off", |
| 54 | + "no-implicit-coercion": "off", |
| 55 | + "no-inline-comments": "off", |
| 56 | + "no-invalid-this": "off", |
| 57 | + "no-loop-func": "off", |
| 58 | + "no-magic-numbers": "off", |
| 59 | + "no-mixed-operators": "off", |
| 60 | + "no-mixed-requires": "off", |
| 61 | + "no-nested-ternary": "off", |
| 62 | + "no-param-reassign": "off", |
| 63 | + "no-plusplus": "off", |
| 64 | + "no-process-env": "off", |
| 65 | + "no-return-assign": "off", |
| 66 | + "no-ternary": "off", |
| 67 | + "no-trailing-spaces": [ |
| 68 | + "error", |
| 69 | + {"ignoreComments": false} |
| 70 | + ], |
| 71 | + "no-underscore-dangle": "off", |
| 72 | + "no-useless-constructor": "off", |
| 73 | + "no-void": "off", |
| 74 | + "object-property-newline": "off", |
| 75 | + "one-var": [ |
| 76 | + "off", { |
| 77 | + "const": "always" |
| 78 | + } |
| 79 | + ], |
| 80 | + "padded-blocks": "off", |
| 81 | + "prefer-destructuring": [ |
| 82 | + "error", { |
| 83 | + "array": false |
| 84 | + }, { |
| 85 | + "enforceForRenamedProperties": true |
| 86 | + } |
| 87 | + ], |
| 88 | + "prefer-promise-reject-errors": [ |
| 89 | + "error", {"allowEmptyReject": true} |
| 90 | + ], |
| 91 | + "require-atomic-updates": "off", |
| 92 | + "require-jsdoc": ["error", { |
| 93 | + "require": { |
| 94 | + "FunctionDeclaration": true, |
| 95 | + "MethodDefinition": true, |
| 96 | + "ClassDeclaration": true, |
| 97 | + "ArrowFunctionExpression": true, |
| 98 | + "FunctionExpression": true |
| 99 | + } |
| 100 | + }], |
| 101 | + "require-unicode-regexp": "off", |
| 102 | + "sort-keys": "off", |
| 103 | + "sort-vars": "off", |
| 104 | + "space-before-function-paren": "off", |
| 105 | + "quote-props": "off", |
| 106 | + "valid-jsdoc": [ |
| 107 | + "error", { |
| 108 | + "prefer": { |
| 109 | + "return": "return" |
| 110 | + } |
| 111 | + } |
| 112 | + ] |
| 113 | + } |
| 114 | +} |
0 commit comments