1{ 2 "parserOptions": { 3 "ecmaVersion": 6, 4 "sourceType": "module" 5 }, 6 7 "env": { 8 "es6": true, 9 "node": true, 10 "mocha": true 11 }, 12 13 "globals": { 14 "ace": false, 15 "aceConsole": false, 16 "aceapp": false, 17 "markupState": false, 18 "notifyTrimMemory": false, 19 "i18nPluralRules": false, 20 "compileAndRunBundle": false, 21 "language": false 22 }, 23 24 "extends": "eslint:recommended", 25 26 "parser": "@typescript-eslint/parser", 27 28 "rules": { 29 "camelcase": "off", 30 "accessor-pairs": 2, 31 "arrow-spacing": 2, 32 "block-spacing": 2, 33 "brace-style": 2, 34 "comma-dangle": 2, 35 "comma-spacing": 2, 36 "comma-style": 2, 37 "curly": 2, 38 "dot-location": [2, "property"], 39 "eol-last": 2, 40 "eqeqeq": 2, 41 "indent": [2, 2, { "SwitchCase": 1 }], 42 "key-spacing": 2, 43 "keyword-spacing": 2, 44 "new-cap": 2, 45 "new-parens": 2, 46 "no-array-constructor": 2, 47 "no-caller": 2, 48 "no-eval": 2, 49 "no-extend-native": 2, 50 "no-extra-bind": 2, 51 "no-extra-parens": 2, 52 "no-floating-decimal": 2, 53 "no-implied-eval": 2, 54 "no-iterator": 2, 55 "no-label-var": 2, 56 "no-labels": 2, 57 "no-lone-blocks": 2, 58 "no-multi-spaces": 2, 59 "no-multi-str": 2, 60 "no-multiple-empty-lines": [2, { "max": 1 }], 61 "no-new-object": 2, 62 "no-new-wrappers": 2, 63 "no-octal-escape": 2, 64 "no-proto": 2, 65 "no-return-assign": 2, 66 "no-self-compare": 2, 67 "no-sequences": 2, 68 "func-call-spacing": 2, 69 "no-throw-literal": 2, 70 "no-trailing-spaces": 2, 71 "no-undef-init": "off", 72 "no-unmodified-loop-condition": 2, 73 "no-unneeded-ternary": [2, { "defaultAssignment": false }], 74 "no-unused-vars": "off", 75 "no-useless-computed-key": 2, 76 "no-useless-constructor": "off", 77 "no-whitespace-before-property": 2, 78 "one-var": [2, { "initialized": "never" }], 79 "padded-blocks": [2, "never"], 80 "quotes": [2, "single", {"avoidEscape": true, "allowTemplateLiterals": true}], 81 "semi": 2, 82 "semi-spacing": 2, 83 "space-before-blocks": 2, 84 "space-before-function-paren": [2, "never"], 85 "space-in-parens": 2, 86 "space-infix-ops": 2, 87 "space-unary-ops": [2, { "words": true, "nonwords": false }], 88 "spaced-comment": 2, 89 "template-curly-spacing": 2, 90 "wrap-iife": [2, "any"], 91 "no-var": 2, 92 "prefer-const": 2, 93 "array-bracket-spacing": 2, 94 "no-useless-escape": 0 95 }, 96 97 "settings": { 98 "flowtype": { 99 "onlyFilesWithFlowAnnotation": true 100 } 101 } 102} 103