|
| 1 | +{ |
| 2 | + "root": true, |
| 3 | + "parserOptions": { |
| 4 | + "ecmaVersion": 6 |
| 5 | + }, |
| 6 | + "extends": [ |
| 7 | + "wikimedia/client-es5", |
| 8 | + "wikimedia/jquery", |
| 9 | + "wikimedia/mediawiki" |
| 10 | + ], |
| 11 | + "env": { |
| 12 | + "commonjs": true |
| 13 | + }, |
| 14 | + "rules": { |
| 15 | + "camelcase": "off", |
| 16 | + "comma-dangle": "off", |
| 17 | + "comma-spacing": "off", |
| 18 | + "computed-property-spacing": "off", |
| 19 | + "curly": "off", |
| 20 | + "dot-notation": "off", |
| 21 | + "eqeqeq": "off", |
| 22 | + "func-call-spacing": "off", |
| 23 | + "indent": "off", |
| 24 | + "key-spacing": "off", |
| 25 | + "keyword-spacing": "off", |
| 26 | + "max-len": "off", |
| 27 | + "max-statements-per-line": "off", |
| 28 | + "new-cap": "off", |
| 29 | + "no-alert": "off", |
| 30 | + "no-extra-semi": "off", |
| 31 | + "no-implicit-coercion": "off", |
| 32 | + "no-jquery/no-animate-toggle": "off", |
| 33 | + "no-jquery/no-bind": "off", |
| 34 | + "no-jquery/no-browser": "off", |
| 35 | + "no-jquery/no-each-util": "off", |
| 36 | + "no-jquery/no-event-shorthand": "off", |
| 37 | + "no-jquery/no-fade": "off", |
| 38 | + "no-jquery/no-global-selector": "off", |
| 39 | + "no-jquery/no-grep": "off", |
| 40 | + "no-jquery/no-in-array": "off", |
| 41 | + "no-jquery/no-is-array": "off", |
| 42 | + "no-jquery/no-is-numeric": "off", |
| 43 | + "no-jquery/no-map-util": "off", |
| 44 | + "no-jquery/no-parse-html-literal": "off", |
| 45 | + "no-jquery/no-parse-json": "off", |
| 46 | + "no-jquery/no-ready-shorthand": "off", |
| 47 | + "no-jquery/no-size": "off", |
| 48 | + "no-jquery/no-slide": "off", |
| 49 | + "no-jquery/no-trim": "off", |
| 50 | + "no-jquery/no-unbind": "off", |
| 51 | + "no-jquery/no-unique": "off", |
| 52 | + "no-mixed-spaces-and-tabs": "off", |
| 53 | + "no-multiple-empty-lines": "off", |
| 54 | + "no-multi-spaces": "off", |
| 55 | + "no-octal-escape": "off", |
| 56 | + "no-prototype-builtins": "off", |
| 57 | + "no-redeclare": "off", |
| 58 | + "no-restricted-syntax": "off", |
| 59 | + "no-shadow-restricted-names": "off", |
| 60 | + "no-tabs": "off", |
| 61 | + "no-throw-literal": "off", |
| 62 | + "no-undef": "off", |
| 63 | + "no-underscore-dangle": "off", |
| 64 | + "no-unneeded-ternary": "off", |
| 65 | + "no-unreachable": "off", |
| 66 | + "no-unused-vars": "off", |
| 67 | + "no-use-before-define": "off", |
| 68 | + "no-useless-concat": "off", |
| 69 | + "no-useless-escape": "off", |
| 70 | + "no-whitespace-before-property": "off", |
| 71 | + "object-curly-spacing": "off", |
| 72 | + "operator-linebreak": "off", |
| 73 | + "quote-props": "off", |
| 74 | + "quotes": "off", |
| 75 | + "semi": "off", |
| 76 | + "semi-spacing": "off", |
| 77 | + "space-before-blocks": "off", |
| 78 | + "space-before-function-paren": "off", |
| 79 | + "spaced-comment": "off", |
| 80 | + "space-infix-ops": "off", |
| 81 | + "space-in-parens": "off", |
| 82 | + "space-unary-ops": "off", |
| 83 | + "valid-jsdoc": "off", |
| 84 | + "wrap-iife": "off", |
| 85 | + "yoda": "off", |
| 86 | + "no-jquery/no-class-state": "warn", |
| 87 | + "no-jquery/no-sizzle": "warn", |
| 88 | + "no-jquery/variable-pattern": "warn", |
| 89 | + "no-shadow": "warn", |
| 90 | + "no-unreachable-loop": "warn", |
| 91 | + "mediawiki/msg-doc": "warn", |
| 92 | + "compat/compat": "warn", |
| 93 | + "block-scoped-var": "warn" |
| 94 | + } |
| 95 | +} |
0 commit comments