|
| 1 | +{ |
| 2 | + "extends": ["eslint:recommended"], |
| 3 | + "env": { |
| 4 | + "amd": true, |
| 5 | + "browser": true |
| 6 | + }, |
| 7 | + "plugins": [], |
| 8 | + "parserOptions": { |
| 9 | + "ecmaVersion": 8, |
| 10 | + "sourceType": "module", |
| 11 | + "ecmaFeatures": { |
| 12 | + "globalReturn": true |
| 13 | + } |
| 14 | + }, |
| 15 | + "globals": { |
| 16 | + "mendix": true, |
| 17 | + "mx": true, |
| 18 | + "logger": true, |
| 19 | + "mxui": true, |
| 20 | + "config": true |
| 21 | + }, |
| 22 | + "rules": { |
| 23 | + "comma-dangle": [1,"always-multiline"], |
| 24 | + "no-cond-assign": [2,"except-parens"], |
| 25 | + "no-console": 0, |
| 26 | + "no-constant-condition": 1, |
| 27 | + "no-control-regex": 1, |
| 28 | + "no-debugger": 2, |
| 29 | + "no-dupe-args": 2, |
| 30 | + "no-dupe-keys": 2, |
| 31 | + "no-duplicate-case": 2, |
| 32 | + "no-empty-character-class": 2, |
| 33 | + "no-empty": 1, |
| 34 | + "no-ex-assign": 2, |
| 35 | + "no-extra-boolean-cast": 1, |
| 36 | + "no-extra-parens": [1,"all"], |
| 37 | + "no-extra-semi": 1, |
| 38 | + "no-func-assign": 2, |
| 39 | + "no-inner-declarations": [2,"both"], |
| 40 | + "no-invalid-regexp": 2, |
| 41 | + "no-irregular-whitespace": 2, |
| 42 | + "no-obj-calls": 2, |
| 43 | + "no-regex-spaces": 1, |
| 44 | + "no-sparse-arrays": 2, |
| 45 | + "no-unreachable": 2, |
| 46 | + "use-isnan": 2, |
| 47 | + "valid-typeof": 2, |
| 48 | + "no-unexpected-multiline": 2, |
| 49 | + "accessor-pairs": [1,{"getWithoutSet":true,"setWithoutGet":true}], |
| 50 | + "block-scoped-var": 2, |
| 51 | + "consistent-return": 1, |
| 52 | + "curly": ["error", "all"], |
| 53 | + "default-case": 1, |
| 54 | + "dot-notation": 2, |
| 55 | + "dot-location": [1,"property"], |
| 56 | + "eqeqeq": [2,"smart"], |
| 57 | + "guard-for-in": 1, |
| 58 | + "no-alert": 2, |
| 59 | + "no-caller": 2, |
| 60 | + "no-div-regex": 2, |
| 61 | + "no-else-return": 1, |
| 62 | + "no-eq-null": 2, |
| 63 | + "no-eval": 2, |
| 64 | + "no-extend-native": 2, |
| 65 | + "no-extra-bind": 1, |
| 66 | + "no-fallthrough": 1, |
| 67 | + "no-floating-decimal": 2, |
| 68 | + "no-implied-eval": 2, |
| 69 | + "no-invalid-this": 1, |
| 70 | + "no-iterator": 1, |
| 71 | + "no-labels": 2, |
| 72 | + "no-lone-blocks": 2, |
| 73 | + "no-loop-func": 2, |
| 74 | + "no-multi-spaces": 1, |
| 75 | + "no-multi-str": 1, |
| 76 | + "no-native-reassign": 2, |
| 77 | + "no-new-func": 2, |
| 78 | + "no-new-wrappers": 2, |
| 79 | + "no-new": 1, |
| 80 | + "no-octal-escape": 2, |
| 81 | + "no-octal": 2, |
| 82 | + "no-param-reassign": [2,{"props":true}], |
| 83 | + "no-process-env": 0, |
| 84 | + "no-proto": 2, |
| 85 | + "no-redeclare": [2,{"builtinGlobals":true}], |
| 86 | + "no-return-assign": [2,"always"], |
| 87 | + "no-script-url": 2, |
| 88 | + "no-self-compare": 1, |
| 89 | + "no-sequences": 2, |
| 90 | + "no-throw-literal": 2, |
| 91 | + "no-useless-call": 2, |
| 92 | + "no-with": 2, |
| 93 | + "radix": 1, |
| 94 | + "wrap-iife": [2,"inside"], |
| 95 | + "yoda": [1,"always",{}], |
| 96 | + "strict": [1,"global"], |
| 97 | + "no-catch-shadow": 2, |
| 98 | + "no-delete-var": 2, |
| 99 | + "no-label-var": 2, |
| 100 | + "no-shadow-restricted-names": 2, |
| 101 | + "no-shadow": [2,{"builtinGlobals":true,"hoist":"all"}], |
| 102 | + "no-undef-init": 2, |
| 103 | + "no-undef": 2, |
| 104 | + "no-undefined": 2, |
| 105 | + "no-unused-vars": 2, |
| 106 | + "no-use-before-define": [2,"nofunc"], |
| 107 | + "brace-style": [1,"1tbs",{"allowSingleLine":true}], |
| 108 | + "camelcase": [1,{"properties":"always"}], |
| 109 | + "comma-spacing": [1,{"after":true}], |
| 110 | + "comma-style": 1, |
| 111 | + "computed-property-spacing": [2,"always"], |
| 112 | + "eol-last": 1, |
| 113 | + "indent": [1,4], |
| 114 | + "key-spacing": [1,{"mode":"minimum"}], |
| 115 | + "new-parens": 2, |
| 116 | + "no-lonely-if": 1, |
| 117 | + "no-mixed-spaces-and-tabs": [2,"smart-tabs"], |
| 118 | + "no-multiple-empty-lines": [1,{"max":4}], |
| 119 | + "no-new-object": 2, |
| 120 | + "no-spaced-func": 2, |
| 121 | + "no-trailing-spaces": 2, |
| 122 | + "no-unneeded-ternary": 1, |
| 123 | + "semi": [2,"always"], |
| 124 | + "space-infix-ops": 1, |
| 125 | + "arrow-parens": [2,"as-needed"], |
| 126 | + "arrow-spacing": [2,{"before":true,"after":true}], |
| 127 | + "constructor-super": 1, |
| 128 | + "no-class-assign": 2, |
| 129 | + "no-const-assign": 2, |
| 130 | + "no-this-before-super": 2, |
| 131 | + "no-var": 1, |
| 132 | + "prefer-const": 1, |
| 133 | + "prefer-spread": 2, |
| 134 | + "prefer-reflect": 0, |
| 135 | + "require-yield": 1, |
| 136 | + "max-len": [1,140,4,{}], |
| 137 | + "max-statements": [1,60] |
| 138 | + } |
| 139 | +} |
0 commit comments