/usr/src/app/lib/validate_config.js:17
throw e;
^
YAMLException: Cannot read config file: /code/.eslintrc
Error: duplicated mapping key at line 125, column 19:
"quote-props": 0,
^
at generateError (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:162:10)
at throwError (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:168:9)
at storeMappingPair (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:305:7)
at readFlowCollection (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:721:7)
at composeNode (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:1328:11)
at readFlowCollection (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:716:7)
at composeNode (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:1328:11)
at readBlockMapping (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:1004:16)
at composeNode (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:1327:12)
at readDocument (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:1489:3) {
reason: 'duplicated mapping key',
mark: Mark {
name: null,
buffer: '{\n' +
'\t"ecmaFeatures": {\n' +
'\t\t"arrowFunctions": true,\n' +
'\t\t"binaryLiterals": true,\n' +
'\t\t"blockBindings": true,\n' +
'\t\t"classes": true,\n' +
'\t\t"defaultParams": true,\n' +
'\t\t"destructuring": true,\n' +
'\t\t"forOf": true,\n' +
'\t\t"generators": true,\n' +
'\t\t"modules": true,\n' +
'\t\t"objectLiteralComputedProperties": true,\n' +
'\t\t"objectLiteralDuplicateProperties": true,\n' +
'\t\t"objectLiteralShorthandMethods": true,\n' +
'\t\t"objectLiteralShorthandProperties": true,\n' +
'\t\t"octalLiterals": true,\n' +
'\t\t"regexYFlag": true,\n' +
'\t\t"restParams": true,\n' +
'\t\t"spread": true,\n' +
'\t\t"templateStrings": true,\n' +
'\t\t"jsx": true\n' +
'\t},\n' +
'\t"env": {\n' +
'\t\t"browser": true,\n' +
'\t\t"node": true\n' +
'\t},\n' +
'\t"rules": {\n' +
'\t\t"brace-style": [2,\n' +
'\t\t\t"stroustrup", {\n' +
'\t\t\t\t"allowSingleLine": true\n' +
'\t\t\t}\n' +
'\t\t],\n' +
'\t\t"camelcase": 1,\n' +
'\t\t"comma-dangle": 1,\n' +
'\t\t"comma-spacing": [1, {\n' +
'\t\t\t"before": false,\n' +
'\t\t\t"after": true\n' +
'\t\t}],\n' +
'\t\t"comma-style": [2, "last"],\n' +
'\t\t"consistent-return": 0,\n' +
'\t\t"curly": 1,\n' +
'\t\t"default-case": 1,\n' +
'\t\t"eol-last": 1,\n' +
'\t\t"eqeqeq": 1,\n' +
'\t\t"generator-star-spacing": 1,\n' +
'\t\t"guard-for-in": 1,\n' +
'\t\t"indent": [2, "tab"],\n' +
'\t\t"key-spacing": 1,\n' +
'\t\t"max-nested-callbacks": 0,\n' +
'\t\t"no-constant-condition": 1,\n' +
'\t\t"no-control-regex": 1,\n' +
'\t\t"new-parens": 1,\n' +
'\t\t"no-alert": 1,\n' +
'\t\t"no-array-constructor": 1,\n' +
'\t\t"no-caller": 1,\n' +
'\t\t"no-catch-shadow": 1,\n' +
'\t\t"no-cond-assign": 1,\n' +
'\t\t"no-delete-var": 1,\n' +
'\t\t"no-dupe-args": 1,\n' +
'\t\t"no-dupe-keys": 1,\n' +
'\t\t"no-else-return": 1,\n' +
'\t\t"no-empty": 1,\n' +
'\t\t"no-empty-label": 1,\n' +
'\t\t"no-eq-null": 1,\n' +
'\t\t"no-eval": 1,\n' +
'\t\t"no-ex-assign": 1,\n' +
'\t\t"no-extend-native": 1,\n' +
'\t\t"no-extra-bind": 1,\n' +
'\t\t"no-extra-boolean-cast": 1,\n' +
'\t\t"no-extra-parens": 1,\n' +
'\t\t"no-extra-semi": 1,\n' +
'\t\t"no-fallthrough": 1,\n' +
'\t\t"no-floating-decimal": 1,\n' +
'\t\t"no-func-assign": 1,\n' +
'\t\t"no-implied-eval": 1,\n' +
'\t\t"no-inner-declarations": 1,\n' +
'\t\t"no-invalid-regexp": 1,\n' +
'\t\t"no-irregular-whitespace": 1,\n' +
'\t\t"no-label-var": 1,\n' +
'\t\t"no-labels": 1,\n' +
'\t\t"no-lone-blocks": 1,\n' +
'\t\t"no-loop-func": 1,\n' +
'\t\t"no-mixed-spaces-and-tabs": 1,\n' +
'\t\t"no-multi-spaces": 1,\n' +
'\t\t"no-multi-str": 1,\n' +
'\t\t"no-native-reassign": 1,\n' +
'\t\t"no-negated-in-lhs": 1,\n' +
'\t\t"no-nested-ternary": 1,\n' +
'\t\t"no-new": 1,\n' +
'\t\t"no-new-func": 1,\n' +
'\t\t"no-new-object": 1,\n' +
'\t\t"no-new-wrappers": 1,\n' +
'\t\t"no-obj-calls": 1,\n' +
'\t\t"no-octal": 1,\n' +
'\t\t"no-octal-escape": 1,\n' +
'\t\t"no-proto": 1,\n' +
'\t\t"no-redeclare": 1,\n' +
'\t\t"no-regex-spaces": 1,\n' +
'\t\t"quote-props": 1,\n' +
'\t\t"no-return-assign": 1,\n' +
'\t\t"no-script-url": 1,\n' +
'\t\t"no-self-compare": 1,\n' +
'\t\t"no-sequences": 1,\n' +
'\t\t"no-shadow": 1,\n' +
'\t\t"no-shadow-restricted-names": 1,\n' +
'\t\t"no-spaced-func": 1,\n' +
'\t\t"no-sparse-arrays": 1,\n' +
'\t\t"no-trailing-spaces": [2, {\n' +
'\t\t\t"skipBlankLines": true\n' +
'\t\t}],\n' +
'\t\t"no-undef": 1,\n' +
'\t\t"no-undef-init": 1,\n' +
'\t\t"no-undefined": 1,\n' +
'\t\t"no-underscore-dangle": 1,\n' +
'\t\t"no-unreachable": 1,\n' +
'\t\t"no-unused-expressions": 1,\n' +
'\t\t"no-unused-vars": 1,\n' +
'\t\t"no-use-before-define": 1,\n' +
'\t\t"no-void": 1,\n' +
'\t\t"no-warning-comments": 1,\n' +
'\t\t"no-with": 1,\n' +
'\t\t"one-var": [2, "never"],\n' +
'\t\t"operator-assignment": 1,\n' +
'\t\t"padded-blocks": 0,\n' +
'\t\t"quote-props": 0,\n' +
'\t\t"quotes": [2, "single", "avoid-escape"],\n' +
'\t\t"radix": 1,\n' +
'\t\t"semi": [2, "never"],\n' +
'\t\t"sort-vars": 1,\n' +
'\t\t"space-after-keywords": 1,\n' +
'\t\t"space-before-blocks": 1,\n' +
'\t\t"space-in-brackets": 0,\n' +
'\t\t"space-in-parens": [2, "always"],\n' +
'\t\t"space-infix-ops": 1,\n' +
'\t\t"space-return-throw-case": 1,\n' +
'\t\t"space-unary-ops": 1,\n' +
'\t\t"use-isnan": 1,\n' +
'\t\t"valid-jsdoc": 2,\n' +
'\t\t"valid-typeof": 2,\n' +
'\t\t"vars-on-top": 2,\n' +
'\t\t"wrap-iife": [2, "inside"],\n' +
'\t\t"yoda": [2, "never"]\n' +
'\t},\n' +
'\t"parser": "babel-eslint"\n' +
'}\n' +
'\x00',
position: 2768,
line: 124,
column: 18
}
}
Node.js v17.3.0
|