EzzySri/AlzAboutMe

View on GitHub
refresh master #258
Ezzy Sriram authored b36eaa64
errored00:00:24
An engine encountered an error
E10 Error

We had trouble running the eslint engine.

The engine's output shown below may indicate the cause of the error.

If not, please contact us so we can investigate further.

1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'ratings' has been deprecated, and will not be used
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
13
Parser process id: 13
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
7
brakeman
brakeman engine documentation
8
bundler-audit
bundler-audit engine documentation
9
csslint
csslint engine documentation
10
eslint
eslint engine documentation
View output
/usr/src/app/lib/validate_config.js:17
        throw e;
        ^
YAMLException: Cannot read config file: /code/.eslintrc
Error: duplicated mapping key at line 218, column 1:
    env:
    ^
    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 readBlockMapping (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:1066:9)
    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)
    at loadDocuments (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:1545:5)
    at load (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:1562:19)
    at Object.safeLoad (/usr/local/node_modules/js-yaml/lib/js-yaml/loader.js:1580:10)
    at loadLegacyConfigFile (/usr/local/node_modules/eslint/lib/config/config-file.js:142:21) {
  reason: 'duplicated mapping key',
  mark: Mark {
    name: null,
    buffer: 'ecmaFeatures:\n' +
      '  modules: true\n' +
      '  jsx: true\n' +
      '\n' +
      'env:\n' +
      '  amd: true\n' +
      '  browser: true\n' +
      '  es6: true\n' +
      '  jquery: true\n' +
      '  node: true\n' +
      '\n' +
      '# http:                        \n' +
      'rules:\n' +
      '  # Possible Errors\n' +
      '  comma-dangle: [2, never]\n' +
      '  no-cond-assign: 2\n' +
      '  no-console: 0\n' +
      '  no-constant-condition: 2\n' +
      '  no-control-regex: 2\n' +
      '  no-debugger: 2\n' +
      '  no-dupe-args: 2\n' +
      '  no-dupe-keys: 2\n' +
      '  no-duplicate-case: 2\n' +
      '  no-empty: 2\n' +
      '  no-empty-character-class: 2\n' +
      '  no-ex-assign: 2\n' +
      '  no-extra-boolean-cast: 2\n' +
      '  no-extra-parens: 0\n' +
      '  no-extra-semi: 2\n' +
      '  no-func-assign: 2\n' +
      '  no-inner-declarations: [2, functions]\n' +
      '  no-invalid-regexp: 2\n' +
      '  no-irregular-whitespace: 2\n' +
      '  no-negated-in-lhs: 2\n' +
      '  no-obj-calls: 2\n' +
      '  no-regex-spaces: 2\n' +
      '  no-sparse-arrays: 2\n' +
      '  no-unexpected-multiline: 2\n' +
      '  no-unreachable: 2\n' +
      '  use-isnan: 2\n' +
      '  valid-jsdoc: 0\n' +
      '  valid-typeof: 2\n' +
      '\n' +
      '  # Best Practices\n' +
      '  accessor-pairs: 2\n' +
      '  block-scoped-var: 0\n' +
      '  complexity: [2, 6]\n' +
      '  consistent-return: 0\n' +
      '  curly: 0\n' +
      '  default-case: 0\n' +
      '  dot-location: 0\n' +
      '  dot-notation: 0\n' +
      '  eqeqeq: 2\n' +
      '  guard-for-in: 2\n' +
      '  no-alert: 2\n' +
      '  no-caller: 2\n' +
      '  no-case-declarations: 2\n' +
      '  no-div-regex: 2\n' +
      '  no-else-return: 0\n' +
      '  no-empty-label: 2\n' +
      '  no-empty-pattern: 2\n' +
      '  no-eq-null: 2\n' +
      '  no-eval: 2\n' +
      '  no-extend-native: 2\n' +
      '  no-extra-bind: 2\n' +
      '  no-fallthrough: 2\n' +
      '  no-floating-decimal: 0\n' +
      '  no-implicit-coercion: 0\n' +
      '  no-implied-eval: 2\n' +
      '  no-invalid-this: 0\n' +
      '  no-iterator: 2\n' +
      '  no-labels: 0\n' +
      '  no-lone-blocks: 2\n' +
      '  no-loop-func: 2\n' +
      '  no-magic-number: 0\n' +
      '  no-multi-spaces: 0\n' +
      '  no-multi-str: 0\n' +
      '  no-native-reassign: 2\n' +
      '  no-new-func: 2\n' +
      '  no-new-wrappers: 2\n' +
      '  no-new: 2\n' +
      '  no-octal-escape: 2\n' +
      '  no-octal: 2\n' +
      '  no-proto: 2\n' +
      '  no-redeclare: 2\n' +
      '  no-return-assign: 2\n' +
      '  no-script-url: 2\n' +
      '  no-self-compare: 2\n' +
      '  no-sequences: 0\n' +
      '  no-throw-literal: 0\n' +
      '  no-unused-expressions: 2\n' +
      '  no-useless-call: 2\n' +
      '  no-useless-concat: 2\n' +
      '  no-void: 2\n' +
      '  no-warning-comments: 0\n' +
      '  no-with: 2\n' +
      '  radix: 2\n' +
      '  vars-on-top: 0\n' +
      '  wrap-iife: 2\n' +
      '  yoda: 0\n' +
      '\n' +
      '  # Strict\n' +
      '  strict: 0\n' +
      '\n' +
      '  # Variables\n' +
      '  init-declarations: 0\n' +
      '  no-catch-shadow: 2\n' +
      '  no-delete-var: 2\n' +
      '  no-label-var: 2\n' +
      '  no-shadow-restricted-names: 2\n' +
      '  no-shadow: 0\n' +
      '  no-undef-init: 2\n' +
      '  no-undef: 0\n' +
      '  no-undefined: 0\n' +
      '  no-unused-vars: 0\n' +
      '  no-use-before-define: 0\n' +
      '\n' +
      '  # Node.js and CommonJS\n' +
      '  callback-return: 2\n' +
      '  global-require: 2\n' +
      '  handle-callback-err: 2\n' +
      '  no-mixed-requires: 0\n' +
      '  no-new-require: 0\n' +
      '  no-path-concat: 2\n' +
      '  no-process-exit: 2\n' +
      '  no-restricted-modules: 0\n' +
      '  no-sync: 0\n' +
      '\n' +
      '  # Stylistic Issues\n' +
      '  array-bracket-spacing: 0\n' +
      '  block-spacing: 0\n' +
      '  brace-style: 0\n' +
      '  camelcase: 0\n' +
      '  comma-spacing: 0\n' +
      '  comma-style: 0\n' +
      '  computed-property-spacing: 0\n' +
      '  consistent-this: 0\n' +
      '  eol-last: 0\n' +
      '  func-names: 0\n' +
      '  func-style: 0\n' +
      '  id-length: 0\n' +
      '  id-match: 0\n' +
      '  indent: 0\n' +
      '  jsx-quotes: 0\n' +
      '  key-spacing: 0\n' +
      '  linebreak-style: 0\n' +
      '  lines-around-comment: 0\n' +
      '  max-depth: 0\n' +
      '  max-len: 0\n' +
      '  max-nested-callbacks: 0\n' +
      '  max-params: 0\n' +
      '  max-statements: [2, 30]\n' +
      '  new-cap: 0\n' +
      '  new-parens: 0\n' +
      '  newline-after-var: 0\n' +
      '  no-array-constructor: 0\n' +
      '  no-bitwise: 0\n' +
      '  no-continue: 0\n' +
      '  no-inline-comments: 0\n' +
      '  no-lonely-if: 0\n' +
      '  no-mixed-spaces-and-tabs: 0\n' +
      '  no-multiple-empty-lines: 0\n' +
      '  no-negated-condition: 0\n' +
      '  no-nested-ternary: 0\n' +
      '  no-new-object: 0\n' +
      '  no-plusplus: 0\n' +
      '  no-restricted-syntax: 0\n' +
      '  no-spaced-func: 0\n' +
      '  no-ternary: 0\n' +
      '  no-trailing-spaces: 0\n' +
      '  no-underscore-dangle: 0\n' +
      '  no-unneeded-ternary: 0\n' +
      '  object-curly-spacing: 0\n' +
      '  one-var: 0\n' +
      '  operator-assignment: 0\n' +
      '  operator-linebreak: 0\n' +
      '  padded-blocks: 0\n' +
      '  quote-props: 0\n' +
      '  quotes: 0\n' +
      '  require-jsdoc: 0\n' +
      '  semi-spacing: 0\n' +
      '  semi: 0\n' +
      '  sort-vars: 0\n' +
      '  space-after-keywords: 0\n' +
      '  space-before-blocks: 0\n' +
      '  space-before-function-paren: 0\n' +
      '  space-before-keywords: 0\n' +
      '  space-in-parens: 0\n' +
      '  space-infix-ops: 0\n' +
      '  space-return-throw-case: 0\n' +
      '  space-unary-ops: 0\n' +
      '  spaced-comment: 0\n' +
      '  wrap-regex: 0\n' +
      '\n' +
      '  # ECMAScript 6\n' +
      '  arrow-body-style: 0\n' +
      '  arrow-parens: 0\n' +
      '  arrow-spacing: 0\n' +
      '  constructor-super: 0\n' +
      '  generator-star-spacing: 0\n' +
      '  no-arrow-condition: 0\n' +
      '  no-class-assign: 0\n' +
      '  no-const-assign: 0\n' +
      '  no-dupe-class-members: 0\n' +
      '  no-this-before-super: 0\n' +
      '  no-var: 0\n' +
      '  object-shorthand: 0\n' +
      '  prefer-arrow-callback: 0\n' +
      '  prefer-const: 0\n' +
      '  prefer-reflect: 0\n' +
      '  prefer-spread: 0\n' +
      '  prefer-template: 0\n' +
      '  require-yield: 0\n' +
      'ecmaFeatures:\n' +
      '  modules: true\n' +
      '  jsx: true\n' +
      '\n' +
      'env:\n' +
      '  amd: true\n' +
      '  browser: true\n' +
      '  es6: true\n' +
      '  jquery: true\n' +
      '  node: true\n' +
      '\n' +
      '# http:                        \n' +
      'rules:\n' +
      '  # Possible Errors\n' +
      '  comma-dangle: [2, never]\n' +
      '  no-cond-assign: 2\n' +
      '  no-console: 0\n' +
      '  no-constant-condition: 2\n' +
      '  no-control-regex: 2\n' +
      '  no-debugger: 2\n' +
      '  no-dupe-args: 2\n' +
      '  no-dupe-keys: 2\n' +
      '  no-duplicate-case: 2\n' +
      '  no-empty: 2\n' +
      '  no-empty-character-class: 2\n' +
      '  no-ex-assign: 2\n' +
      '  no-extra-boolean-cast: 2\n' +
      '  no-extra-parens: 0\n' +
      '  no-extra-semi: 2\n' +
      '  no-func-assign: 2\n' +
      '  no-inner-declarations: [2, functions]\n' +
      '  no-invalid-regexp: 2\n' +
      '  no-irregular-whitespace: 2\n' +
      '  no-negated-in-lhs: 2\n' +
      '  no-obj-calls: 2\n' +
      '  no-regex-spaces: 2\n' +
      '  no-sparse-arrays: 2\n' +
      '  no-unexpected-multiline: 2\n' +
      '  no-unreachable: 2\n' +
      '  use-isnan: 2\n' +
      '  valid-jsdoc: 0\n' +
      '  valid-typeof: 2\n' +
      '\n' +
      '  # Best Practices\n' +
      '  accessor-pairs: 2\n' +
      '  block-scoped-var: 0\n' +
      '  complexity: [2, 6]\n' +
      '  consistent-return: 0\n' +
      '  curly: 0\n' +
      '  default-case: 0\n' +
      '  dot-location: 0\n' +
      '  dot-notation: 0\n' +
      '  eqeqeq: 2\n' +
      '  guard-for-in: 2\n' +
      '  no-alert: 2\n' +
      '  no-caller: 2\n' +
      '  no-case-declarations: 2\n' +
      '  no-div-regex: 2\n' +
      '  no-else-return: 0\n' +
      '  no-empty-label: 2\n' +
      '  no-empty-pattern: 2\n' +
      '  no-eq-null: 2\n' +
      '  no-eval: 2\n' +
      '  no-extend-native: 2\n' +
      '  no-extra-bind: 2\n' +
      '  no-fallthrough: 2\n' +
      '  no-floating-decimal: 0\n' +
      '  no-implicit-coercion: 0\n' +
      '  no-implied-eval: 2\n' +
      '  no-invalid-this: 0\n' +
      '  no-iterator: 2\n' +
      '  no-labels: 0\n' +
      '  no-lone-blocks: 2\n' +
      '  no-loop-func: 2\n' +
      '  no-magic-number: 0\n' +
      '  no-multi-spaces: 0\n' +
      '  no-multi-str: 0\n' +
      '  no-native-reassign: 2\n' +
      '  no-new-func: 2\n' +
      '  no-new-wrappers: 2\n' +
      '  no-new: 2\n' +
      '  no-octal-escape: 2\n' +
      '  no-octal: 2\n' +
      '  no-proto: 2\n' +
      '  no-redeclare: 2\n' +
      '  no-return-assign: 2\n' +
      '  no-script-url: 2\n' +
      '  no-self-compare: 2\n' +
      '  no-sequences: 0\n' +
      '  no-throw-literal: 0\n' +
      '  no-unused-expressions: 2\n' +
      '  no-useless-call: 2\n' +
      '  no-useless-concat: 2\n' +
      '  no-void: 2\n' +
      '  no-warning-comments: 0\n' +
      '  no-with: 2\n' +
      '  radix: 2\n' +
      '  vars-on-top: 0\n' +
      '  wrap-iife: 2\n' +
      '  yoda: 0\n' +
      '\n' +
      '  # Strict\n' +
      '  strict: 0\n' +
      '\n' +
      '  # Variables\n' +
      '  init-declarations: 0\n' +
      '  no-catch-shadow: 2\n' +
      '  no-delete-var: 2\n' +
      '  no-label-var: 2\n' +
      '  no-shadow-restricted-names: 2\n' +
      '  no-shadow: 0\n' +
      '  no-undef-init: 2\n' +
      '  no-undef: 0\n' +
      '  no-undefined: 0\n' +
      '  no-unused-vars: 0\n' +
      '  no-use-before-define: 0\n' +
      '\n' +
      '  # Node.js and CommonJS\n' +
      '  callback-return: 2\n' +
      '  global-require: 2\n' +
      '  handle-callback-err: 2\n' +
      '  no-mixed-requires: 0\n' +
      '  no-new-require: 0\n' +
      '  no-path-concat: 2\n' +
      '  no-process-exit: 2\n' +
      '  no-restricted-modules: 0\n' +
      '  no-sync: 0\n' +
      '\n' +
      '  # Stylistic Issues\n' +
      '  array-bracket-spacing: 0\n' +
      '  block-spacing: 0\n' +
      '  brace-style: 0\n' +
      '  camelcase: 0\n' +
      '  comma-spacing: 0\n' +
      '  comma-style: 0\n' +
      '  computed-property-spacing: 0\n' +
      '  consistent-this: 0\n' +
      '  eol-last: 0\n' +
      '  func-names: 0\n' +
      '  func-style: 0\n' +
      '  id-length: 0\n' +
      '  id-match: 0\n' +
      '  indent: 0\n' +
      '  jsx-quotes: 0\n' +
      '  key-spacing: 0\n' +
      '  linebreak-style: 0\n' +
      '  lines-around-comment: 0\n' +
      '  max-depth: 0\n' +
      '  max-len: 0\n' +
      '  max-nested-callbacks: 0\n' +
      '  max-params: 0\n' +
      '  max-statements: [2, 30]\n' +
      '  new-cap: 0\n' +
      '  new-parens: 0\n' +
      '  newline-after-var: 0\n' +
      '  no-array-constructor: 0\n' +
      '  no-bitwise: 0\n' +
      '  no-continue: 0\n' +
      '  no-inline-comments: 0\n' +
      '  no-lonely-if: 0\n' +
      '  no-mixed-spaces-and-tabs: 0\n' +
      '  no-multiple-empty-lines: 0\n' +
      '  no-negated-condition: 0\n' +
      '  no-nested-ternary: 0\n' +
      '  no-new-object: 0\n' +
      '  no-plusplus: 0\n' +
      '  no-restricted-syntax: 0\n' +
      '  no-spaced-func: 0\n' +
      '  no-ternary: 0\n' +
      '  no-trailing-spaces: 0\n' +
      '  no-underscore-dangle: 0\n' +
      '  no-unneeded-ternary: 0\n' +
      '  object-curly-spacing: 0\n' +
      '  one-var: 0\n' +
      '  operator-assignment: 0\n' +
      '  operator-linebreak: 0\n' +
      '  padded-blocks: 0\n' +
      '  quote-props: 0\n' +
      '  quotes: 0\n' +
      '  require-jsdoc: 0\n' +
      '  semi-spacing: 0\n' +
      '  semi: 0\n' +
      '  sort-vars: 0\n' +
      '  space-after-keywords: 0\n' +
      '  space-before-blocks: 0\n' +
      '  space-before-function-paren: 0\n' +
      '  space-before-keywords: 0\n' +
      '  space-in-parens: 0\n' +
      '  space-infix-ops: 0\n' +
      '  space-return-throw-case: 0\n' +
      '  space-unary-ops: 0\n' +
      '  spaced-comment: 0\n' +
      '  wrap-regex: 0\n' +
      '\n' +
      '  # ECMAScript 6\n' +
      '  arrow-body-style: 0\n' +
      '  arrow-parens: 0\n' +
      '  arrow-spacing: 0\n' +
      '  constructor-super: 0\n' +
      '  generator-star-spacing: 0\n' +
      '  no-arrow-condition: 0\n' +
      '  no-class-assign: 0\n' +
      '  no-const-assign: 0\n' +
      '  no-dupe-class-members: 0\n' +
      '  no-this-before-super: 0\n' +
      '  no-var: 0\n' +
      '  object-shorthand: 0\n' +
      '  prefer-arrow-callback: 0\n' +
      '  prefer-const: 0\n' +
      '  prefer-reflect: 0\n' +
      '  prefer-spread: 0\n' +
      '  prefer-template: 0\n' +
      '  require-yield: 0\n' +
      'ecmaFeatures:\n' +
      '  modules: true\n' +
      '  jsx: true\n' +
      '\n' +
      'env:\n' +
      '  amd: true\n' +
      '  browser: true\n' +
      '  es6: true\n' +
      '  jquery: true\n' +
      '  node: true\n' +
      '\n' +
      '# http:                        \n' +
      'rules:\n' +
      '  # Possible Errors\n' +
      '  comma-dangle: [2, never]\n' +
      '  no-cond-assign: 2\n' +
      '  no-console: 0\n' +
      '  no-constant-condition: 2\n' +
      '  no-control-regex: 2\n' +
      '  no-debugger: 2\n' +
      '  no-dupe-args: 2\n' +
      '  no-dupe-keys: 2\n' +
      '  no-duplicate-case: 2\n' +
      '  no-empty: 2\n' +
      '  no-empty-character-class: 2\n' +
      '  no-ex-assign: 2\n' +
      '  no-extra-boolean-cast: 2\n' +
      '  no-extra-parens: 0\n' +
      '  no-extra-semi: 2\n' +
      '  no-func-assign: 2\n' +
      '  no-inner-declarations: [2, functions]\n' +
      '  no-invalid-regexp: 2\n' +
      '  no-irregular-whitespace: 2\n' +
      '  no-negated-in-lhs: 2\n' +
      '  no-obj-calls: 2\n' +
      '  no-regex-spaces: 2\n' +
      '  no-sparse-arrays: 2\n' +
      '  no-unexpected-multiline: 2\n' +
      '  no-unreachable: 2\n' +
      '  use-isnan: 2\n' +
      '  valid-jsdoc: 0\n' +
      '  valid-typeof: 2\n' +
      '\n' +
      '  # Best Practices\n' +
      '  accessor-pairs: 2\n' +
      '  block-scoped-var: 0\n' +
      '  complexity: [2, 6]\n' +
      '  consistent-return: 0\n' +
      '  curly: 0\n' +
      '  default-case: 0\n' +
      '  dot-location: 0\n' +
      '  dot-notation: 0\n' +
      '  eqeqeq: 2\n' +
      '  guard-for-in: 2\n' +
      '  no-alert: 2\n' +
      '  no-caller: 2\n' +
      '  no-case-declarations: 2\n' +
      '  no-div-regex: 2\n' +
      '  no-else-return: 0\n' +
      '  no-empty-label: 2\n' +
      '  no-empty-pattern: 2\n' +
      '  no-eq-null: 2\n' +
      '  no-eval: 2\n' +
      '  no-extend-native: 2\n' +
      '  no-extra-bind: 2\n' +
      '  no-fallthrough: 2\n' +
      '  no-floating-decimal: 0\n' +
      '  no-implicit-coercion: 0\n' +
      '  no-implied-eval: 2\n' +
      '  no-invalid-this: 0\n' +
      '  no-iterator: 2\n' +
      '  no-labels: 0\n' +
      '  no-lone-blocks: 2\n' +
      '  no-loop-func: 2\n' +
      '  no-magic-number: 0\n' +
      '  no-multi-spaces: 0\n' +
      '  no-multi-str: 0\n' +
      '  no-native-reassign: 2\n' +
      '  no-new-func: 2\n' +
      '  no-new-wrappers: 2\n' +
      '  no-new: 2\n' +
      '  no-octal-escape: 2\n' +
      '  no-octal: 2\n' +
      '  no-proto: 2\n' +
      '  no-redeclare: 2\n' +
      '  no-return-assign: 2\n' +
      '  no-script-url: 2\n' +
      '  no-self-compare: 2\n' +
      '  no-sequences: 0\n' +
      '  no-throw-literal: 0\n' +
      '  no-unused-expressions: 2\n' +
      '  no-useless-call: 2\n' +
      '  no-useless-concat: 2\n' +
      '  no-void: 2\n' +
      '  no-warning-comments: 0\n' +
      '  no-with: 2\n' +
      '  radix: 2\n' +
      '  vars-on-top: 0\n' +
      '  wrap-iife: 2\n' +
      '  yoda: 0\n' +
      '\n' +
      '  # Strict\n' +
      '  strict:'... 22497 more characters,
    position: 4105,
    line: 217,
    column: 0
  }
}

Node.js v17.3.0