AtomLinter / linter-eslint

ESLint plugin for Atom Linter
https://atom.io/packages/linter-eslint
584 stars 141 forks source link

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined #1454

Closed brentgreeff closed 2 years ago

brentgreeff commented 2 years ago

Question

Issue Description

Eslint: Debug throws error when running Linter Eslint: Debug

Bug Checklist

Having issue with a fresh project - "eslint": "^8.6.0" I get the error TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined but one of the times I ran the command in Atom - it worked, and returned

Linter Debug Info

Platform: darwin
Atom Version: 1.58.0
Linter Version: 3.4.0
Opened file is ignored: No
Matching Linter Providers: 
  - ESLint
Disabled Linter Providers: 
Standard Linter Providers: 
  - ESLint
Indie Linter Providers: 
  - Java (Eclipse JDT)
  - TypeScript
  - Vue (Vetur)
UI Providers: 
  - Linter
Ignore Glob: **/*.min.{js,css}
VCS Ignored Paths are excluded: true
Current File Scopes: 
  - *
  - source.ts

I noticed I also had some Vue & Java stuff hanging around - I disabled those packages and restarted Atom but didnt help.

Running ./node_modules/.bin/eslint . works great - I see the correct warnings.

I am using packages/atom-typescript - and that works great.

Here is my eslint

module.exports = {
  root: true,
  parser: '@typescript-eslint/parser',
  plugins: [
    '@typescript-eslint',
    'jest',
  ],
  extends: [
    'eslint:recommended',
    'plugin:jest/recommended',
    "plugin:@typescript-eslint/eslint-recommended",
    "plugin:@typescript-eslint/recommended",
  ],
  parserOptions: {
    ecmaVersion: 6,
    sourceType: 'module',
  },
  env: {
    node: true,
  },
};

./node_modules/.bin/eslint --debug

brent@Sub~/learning/react/test_driven_react:./node_modules/.bin/eslint --debug
  eslint:rules Loading rule 'accessor-pairs' (remaining=285) +0ms
  eslint:rules Loading rule 'array-bracket-newline' (remaining=284) +15ms
  eslint:rules Loading rule 'array-bracket-spacing' (remaining=283) +2ms
  eslint:rules Loading rule 'array-callback-return' (remaining=282) +2ms
  eslint:rules Loading rule 'array-element-newline' (remaining=281) +1ms
  eslint:rules Loading rule 'arrow-body-style' (remaining=280) +2ms
  eslint:rules Loading rule 'arrow-parens' (remaining=279) +1ms
  eslint:rules Loading rule 'arrow-spacing' (remaining=278) +1ms
  eslint:rules Loading rule 'block-scoped-var' (remaining=277) +2ms
  eslint:rules Loading rule 'block-spacing' (remaining=276) +1ms
  eslint:rules Loading rule 'brace-style' (remaining=275) +2ms
  eslint:rules Loading rule 'callback-return' (remaining=274) +1ms
  eslint:rules Loading rule 'camelcase' (remaining=273) +2ms
  eslint:rules Loading rule 'capitalized-comments' (remaining=272) +1ms
  eslint:rules Loading rule 'class-methods-use-this' (remaining=271) +4ms
  eslint:rules Loading rule 'comma-dangle' (remaining=270) +2ms
  eslint:rules Loading rule 'comma-spacing' (remaining=269) +1ms
  eslint:rules Loading rule 'comma-style' (remaining=268) +1ms
  eslint:rules Loading rule 'complexity' (remaining=267) +1ms
  eslint:rules Loading rule 'computed-property-spacing' (remaining=266) +2ms
  eslint:rules Loading rule 'consistent-return' (remaining=265) +1ms
  eslint:rules Loading rule 'consistent-this' (remaining=264) +1ms
  eslint:rules Loading rule 'constructor-super' (remaining=263) +1ms
  eslint:rules Loading rule 'curly' (remaining=262) +0ms
  eslint:rules Loading rule 'default-case' (remaining=261) +1ms
  eslint:rules Loading rule 'default-case-last' (remaining=260) +1ms
  eslint:rules Loading rule 'default-param-last' (remaining=259) +0ms
  eslint:rules Loading rule 'dot-location' (remaining=258) +1ms
  eslint:rules Loading rule 'dot-notation' (remaining=257) +2ms
  eslint:rules Loading rule 'eol-last' (remaining=256) +2ms
  eslint:rules Loading rule 'eqeqeq' (remaining=255) +5ms
  eslint:rules Loading rule 'for-direction' (remaining=254) +5ms
  eslint:rules Loading rule 'func-call-spacing' (remaining=253) +1ms
  eslint:rules Loading rule 'func-name-matching' (remaining=252) +1ms
  eslint:rules Loading rule 'func-names' (remaining=251) +1ms
  eslint:rules Loading rule 'func-style' (remaining=250) +1ms
  eslint:rules Loading rule 'function-call-argument-newline' (remaining=249) +1ms
  eslint:rules Loading rule 'function-paren-newline' (remaining=248) +0ms
  eslint:rules Loading rule 'generator-star-spacing' (remaining=247) +1ms
  eslint:rules Loading rule 'getter-return' (remaining=246) +1ms
  eslint:rules Loading rule 'global-require' (remaining=245) +1ms
  eslint:rules Loading rule 'grouped-accessor-pairs' (remaining=244) +1ms
  eslint:rules Loading rule 'guard-for-in' (remaining=243) +1ms
  eslint:rules Loading rule 'handle-callback-err' (remaining=242) +1ms
  eslint:rules Loading rule 'id-blacklist' (remaining=241) +1ms
  eslint:rules Loading rule 'id-denylist' (remaining=240) +1ms
  eslint:rules Loading rule 'id-length' (remaining=239) +1ms
  eslint:rules Loading rule 'id-match' (remaining=238) +1ms
  eslint:rules Loading rule 'implicit-arrow-linebreak' (remaining=237) +2ms
  eslint:rules Loading rule 'indent' (remaining=236) +1ms
  eslint:rules Loading rule 'indent-legacy' (remaining=235) +3ms
  eslint:rules Loading rule 'init-declarations' (remaining=234) +2ms
  eslint:rules Loading rule 'jsx-quotes' (remaining=233) +1ms
  eslint:rules Loading rule 'key-spacing' (remaining=232) +2ms
  eslint:rules Loading rule 'keyword-spacing' (remaining=231) +1ms
  eslint:rules Loading rule 'line-comment-position' (remaining=230) +7ms
  eslint:rules Loading rule 'linebreak-style' (remaining=229) +1ms
  eslint:rules Loading rule 'lines-around-comment' (remaining=228) +1ms
  eslint:rules Loading rule 'lines-around-directive' (remaining=227) +1ms
  eslint:rules Loading rule 'lines-between-class-members' (remaining=226) +0ms
  eslint:rules Loading rule 'max-classes-per-file' (remaining=225) +2ms
  eslint:rules Loading rule 'max-depth' (remaining=224) +1ms
  eslint:rules Loading rule 'max-len' (remaining=223) +1ms
  eslint:rules Loading rule 'max-lines' (remaining=222) +1ms
  eslint:rules Loading rule 'max-lines-per-function' (remaining=221) +0ms
  eslint:rules Loading rule 'max-nested-callbacks' (remaining=220) +1ms
  eslint:rules Loading rule 'max-params' (remaining=219) +1ms
  eslint:rules Loading rule 'max-statements' (remaining=218) +1ms
  eslint:rules Loading rule 'max-statements-per-line' (remaining=217) +0ms
  eslint:rules Loading rule 'multiline-comment-style' (remaining=216) +1ms
  eslint:rules Loading rule 'multiline-ternary' (remaining=215) +1ms
  eslint:rules Loading rule 'new-cap' (remaining=214) +1ms
  eslint:rules Loading rule 'new-parens' (remaining=213) +1ms
  eslint:rules Loading rule 'newline-after-var' (remaining=212) +1ms
  eslint:rules Loading rule 'newline-before-return' (remaining=211) +1ms
  eslint:rules Loading rule 'newline-per-chained-call' (remaining=210) +0ms
  eslint:rules Loading rule 'no-alert' (remaining=209) +1ms
  eslint:rules Loading rule 'no-array-constructor' (remaining=208) +1ms
  eslint:rules Loading rule 'no-async-promise-executor' (remaining=207) +1ms
  eslint:rules Loading rule 'no-await-in-loop' (remaining=206) +1ms
  eslint:rules Loading rule 'no-bitwise' (remaining=205) +1ms
  eslint:rules Loading rule 'no-buffer-constructor' (remaining=204) +1ms
  eslint:rules Loading rule 'no-caller' (remaining=203) +1ms
  eslint:rules Loading rule 'no-case-declarations' (remaining=202) +1ms
  eslint:rules Loading rule 'no-catch-shadow' (remaining=201) +1ms
  eslint:rules Loading rule 'no-class-assign' (remaining=200) +4ms
  eslint:rules Loading rule 'no-compare-neg-zero' (remaining=199) +1ms
  eslint:rules Loading rule 'no-cond-assign' (remaining=198) +0ms
  eslint:rules Loading rule 'no-confusing-arrow' (remaining=197) +1ms
  eslint:rules Loading rule 'no-console' (remaining=196) +0ms
  eslint:rules Loading rule 'no-const-assign' (remaining=195) +1ms
  eslint:rules Loading rule 'no-constant-condition' (remaining=194) +1ms
  eslint:rules Loading rule 'no-constructor-return' (remaining=193) +0ms
  eslint:rules Loading rule 'no-continue' (remaining=192) +1ms
  eslint:rules Loading rule 'no-control-regex' (remaining=191) +1ms
  eslint:rules Loading rule 'no-debugger' (remaining=190) +3ms
  eslint:rules Loading rule 'no-delete-var' (remaining=189) +1ms
  eslint:rules Loading rule 'no-div-regex' (remaining=188) +1ms
  eslint:rules Loading rule 'no-dupe-args' (remaining=187) +1ms
  eslint:rules Loading rule 'no-dupe-class-members' (remaining=186) +1ms
  eslint:rules Loading rule 'no-dupe-else-if' (remaining=185) +0ms
  eslint:rules Loading rule 'no-dupe-keys' (remaining=184) +1ms
  eslint:rules Loading rule 'no-duplicate-case' (remaining=183) +1ms
  eslint:rules Loading rule 'no-duplicate-imports' (remaining=182) +1ms
  eslint:rules Loading rule 'no-else-return' (remaining=181) +1ms
  eslint:rules Loading rule 'no-empty' (remaining=180) +3ms
  eslint:rules Loading rule 'no-empty-character-class' (remaining=179) +2ms
  eslint:rules Loading rule 'no-empty-function' (remaining=178) +1ms
  eslint:rules Loading rule 'no-empty-pattern' (remaining=177) +1ms
  eslint:rules Loading rule 'no-eq-null' (remaining=176) +1ms
  eslint:rules Loading rule 'no-eval' (remaining=175) +1ms
  eslint:rules Loading rule 'no-ex-assign' (remaining=174) +1ms
  eslint:rules Loading rule 'no-extend-native' (remaining=173) +2ms
  eslint:rules Loading rule 'no-extra-bind' (remaining=172) +3ms
  eslint:rules Loading rule 'no-extra-boolean-cast' (remaining=171) +1ms
  eslint:rules Loading rule 'no-extra-label' (remaining=170) +1ms
  eslint:rules Loading rule 'no-extra-parens' (remaining=169) +1ms
  eslint:rules Loading rule 'no-extra-semi' (remaining=168) +1ms
  eslint:rules Loading rule 'no-fallthrough' (remaining=167) +1ms
  eslint:rules Loading rule 'no-floating-decimal' (remaining=166) +1ms
  eslint:rules Loading rule 'no-func-assign' (remaining=165) +2ms
  eslint:rules Loading rule 'no-global-assign' (remaining=164) +1ms
  eslint:rules Loading rule 'no-implicit-coercion' (remaining=163) +1ms
  eslint:rules Loading rule 'no-implicit-globals' (remaining=162) +1ms
  eslint:rules Loading rule 'no-implied-eval' (remaining=161) +0ms
  eslint:rules Loading rule 'no-import-assign' (remaining=160) +1ms
  eslint:rules Loading rule 'no-inline-comments' (remaining=159) +1ms
  eslint:rules Loading rule 'no-inner-declarations' (remaining=158) +1ms
  eslint:rules Loading rule 'no-invalid-regexp' (remaining=157) +1ms
  eslint:rules Loading rule 'no-invalid-this' (remaining=156) +0ms
  eslint:rules Loading rule 'no-irregular-whitespace' (remaining=155) +1ms
  eslint:rules Loading rule 'no-iterator' (remaining=154) +5ms
  eslint:rules Loading rule 'no-label-var' (remaining=153) +6ms
  eslint:rules Loading rule 'no-labels' (remaining=152) +2ms
  eslint:rules Loading rule 'no-lone-blocks' (remaining=151) +1ms
  eslint:rules Loading rule 'no-lonely-if' (remaining=150) +1ms
  eslint:rules Loading rule 'no-loop-func' (remaining=149) +1ms
  eslint:rules Loading rule 'no-loss-of-precision' (remaining=148) +1ms
  eslint:rules Loading rule 'no-magic-numbers' (remaining=147) +1ms
  eslint:rules Loading rule 'no-misleading-character-class' (remaining=146) +0ms
  eslint:rules Loading rule 'no-mixed-operators' (remaining=145) +4ms
  eslint:rules Loading rule 'no-mixed-requires' (remaining=144) +0ms
  eslint:rules Loading rule 'no-mixed-spaces-and-tabs' (remaining=143) +1ms
  eslint:rules Loading rule 'no-multi-assign' (remaining=142) +1ms
  eslint:rules Loading rule 'no-multi-spaces' (remaining=141) +1ms
  eslint:rules Loading rule 'no-multi-str' (remaining=140) +0ms
  eslint:rules Loading rule 'no-multiple-empty-lines' (remaining=139) +1ms
  eslint:rules Loading rule 'no-native-reassign' (remaining=138) +1ms
  eslint:rules Loading rule 'no-negated-condition' (remaining=137) +1ms
  eslint:rules Loading rule 'no-negated-in-lhs' (remaining=136) +0ms
  eslint:rules Loading rule 'no-nested-ternary' (remaining=135) +1ms
  eslint:rules Loading rule 'no-new' (remaining=134) +0ms
  eslint:rules Loading rule 'no-new-func' (remaining=133) +1ms
  eslint:rules Loading rule 'no-new-object' (remaining=132) +1ms
  eslint:rules Loading rule 'no-new-require' (remaining=131) +0ms
  eslint:rules Loading rule 'no-new-symbol' (remaining=130) +1ms
  eslint:rules Loading rule 'no-new-wrappers' (remaining=129) +0ms
  eslint:rules Loading rule 'no-nonoctal-decimal-escape' (remaining=128) +1ms
  eslint:rules Loading rule 'no-obj-calls' (remaining=127) +0ms
  eslint:rules Loading rule 'no-octal' (remaining=126) +1ms
  eslint:rules Loading rule 'no-octal-escape' (remaining=125) +0ms
  eslint:rules Loading rule 'no-param-reassign' (remaining=124) +1ms
  eslint:rules Loading rule 'no-path-concat' (remaining=123) +0ms
  eslint:rules Loading rule 'no-plusplus' (remaining=122) +8ms
  eslint:rules Loading rule 'no-process-env' (remaining=121) +1ms
  eslint:rules Loading rule 'no-process-exit' (remaining=120) +1ms
  eslint:rules Loading rule 'no-promise-executor-return' (remaining=119) +2ms
  eslint:rules Loading rule 'no-proto' (remaining=118) +4ms
  eslint:rules Loading rule 'no-prototype-builtins' (remaining=117) +1ms
  eslint:rules Loading rule 'no-redeclare' (remaining=116) +2ms
  eslint:rules Loading rule 'no-regex-spaces' (remaining=115) +1ms
  eslint:rules Loading rule 'no-restricted-exports' (remaining=114) +2ms
  eslint:rules Loading rule 'no-restricted-globals' (remaining=113) +1ms
  eslint:rules Loading rule 'no-restricted-imports' (remaining=112) +1ms
  eslint:rules Loading rule 'no-restricted-modules' (remaining=111) +1ms
  eslint:rules Loading rule 'no-restricted-properties' (remaining=110) +1ms
  eslint:rules Loading rule 'no-restricted-syntax' (remaining=109) +0ms
  eslint:rules Loading rule 'no-return-assign' (remaining=108) +2ms
  eslint:rules Loading rule 'no-return-await' (remaining=107) +1ms
  eslint:rules Loading rule 'no-script-url' (remaining=106) +1ms
  eslint:rules Loading rule 'no-self-assign' (remaining=105) +1ms
  eslint:rules Loading rule 'no-self-compare' (remaining=104) +1ms
  eslint:rules Loading rule 'no-sequences' (remaining=103) +1ms
  eslint:rules Loading rule 'no-setter-return' (remaining=102) +1ms
  eslint:rules Loading rule 'no-shadow' (remaining=101) +1ms
  eslint:rules Loading rule 'no-shadow-restricted-names' (remaining=100) +0ms
  eslint:rules Loading rule 'no-spaced-func' (remaining=99) +2ms
  eslint:rules Loading rule 'no-sparse-arrays' (remaining=98) +1ms
  eslint:rules Loading rule 'no-sync' (remaining=97) +0ms
  eslint:rules Loading rule 'no-tabs' (remaining=96) +2ms
  eslint:rules Loading rule 'no-template-curly-in-string' (remaining=95) +1ms
  eslint:rules Loading rule 'no-ternary' (remaining=94) +1ms
  eslint:rules Loading rule 'no-this-before-super' (remaining=93) +0ms
  eslint:rules Loading rule 'no-throw-literal' (remaining=92) +3ms
  eslint:rules Loading rule 'no-trailing-spaces' (remaining=91) +1ms
  eslint:rules Loading rule 'no-undef' (remaining=90) +1ms
  eslint:rules Loading rule 'no-undef-init' (remaining=89) +0ms
  eslint:rules Loading rule 'no-undefined' (remaining=88) +1ms
  eslint:rules Loading rule 'no-underscore-dangle' (remaining=87) +1ms
  eslint:rules Loading rule 'no-unexpected-multiline' (remaining=86) +0ms
  eslint:rules Loading rule 'no-unmodified-loop-condition' (remaining=85) +1ms
  eslint:rules Loading rule 'no-unneeded-ternary' (remaining=84) +1ms
  eslint:rules Loading rule 'no-unreachable' (remaining=83) +1ms
  eslint:rules Loading rule 'no-unreachable-loop' (remaining=82) +0ms
  eslint:rules Loading rule 'no-unsafe-finally' (remaining=81) +1ms
  eslint:rules Loading rule 'no-unsafe-negation' (remaining=80) +1ms
  eslint:rules Loading rule 'no-unsafe-optional-chaining' (remaining=79) +0ms
  eslint:rules Loading rule 'no-unused-expressions' (remaining=78) +1ms
  eslint:rules Loading rule 'no-unused-labels' (remaining=77) +1ms
  eslint:rules Loading rule 'no-unused-private-class-members' (remaining=76) +1ms
  eslint:rules Loading rule 'no-unused-vars' (remaining=75) +0ms
  eslint:rules Loading rule 'no-use-before-define' (remaining=74) +1ms
  eslint:rules Loading rule 'no-useless-backreference' (remaining=73) +1ms
  eslint:rules Loading rule 'no-useless-call' (remaining=72) +1ms
  eslint:rules Loading rule 'no-useless-catch' (remaining=71) +1ms
  eslint:rules Loading rule 'no-useless-computed-key' (remaining=70) +1ms
  eslint:rules Loading rule 'no-useless-concat' (remaining=69) +0ms
  eslint:rules Loading rule 'no-useless-constructor' (remaining=68) +1ms
  eslint:rules Loading rule 'no-useless-escape' (remaining=67) +1ms
  eslint:rules Loading rule 'no-useless-rename' (remaining=66) +1ms
  eslint:rules Loading rule 'no-useless-return' (remaining=65) +1ms
  eslint:rules Loading rule 'no-var' (remaining=64) +0ms
  eslint:rules Loading rule 'no-void' (remaining=63) +1ms
  eslint:rules Loading rule 'no-warning-comments' (remaining=62) +1ms
  eslint:rules Loading rule 'no-whitespace-before-property' (remaining=61) +0ms
  eslint:rules Loading rule 'no-with' (remaining=60) +1ms
  eslint:rules Loading rule 'nonblock-statement-body-position' (remaining=59) +1ms
  eslint:rules Loading rule 'object-curly-newline' (remaining=58) +0ms
  eslint:rules Loading rule 'object-curly-spacing' (remaining=57) +1ms
  eslint:rules Loading rule 'object-property-newline' (remaining=56) +1ms
  eslint:rules Loading rule 'object-shorthand' (remaining=55) +1ms
  eslint:rules Loading rule 'one-var' (remaining=54) +1ms
  eslint:rules Loading rule 'one-var-declaration-per-line' (remaining=53) +1ms
  eslint:rules Loading rule 'operator-assignment' (remaining=52) +0ms
  eslint:rules Loading rule 'operator-linebreak' (remaining=51) +1ms
  eslint:rules Loading rule 'padded-blocks' (remaining=50) +2ms
  eslint:rules Loading rule 'padding-line-between-statements' (remaining=49) +1ms
  eslint:rules Loading rule 'prefer-arrow-callback' (remaining=48) +1ms
  eslint:rules Loading rule 'prefer-const' (remaining=47) +1ms
  eslint:rules Loading rule 'prefer-destructuring' (remaining=46) +2ms
  eslint:rules Loading rule 'prefer-exponentiation-operator' (remaining=45) +1ms
  eslint:rules Loading rule 'prefer-named-capture-group' (remaining=44) +1ms
  eslint:rules Loading rule 'prefer-numeric-literals' (remaining=43) +2ms
  eslint:rules Loading rule 'prefer-object-has-own' (remaining=42) +1ms
  eslint:rules Loading rule 'prefer-object-spread' (remaining=41) +1ms
  eslint:rules Loading rule 'prefer-promise-reject-errors' (remaining=40) +1ms
  eslint:rules Loading rule 'prefer-reflect' (remaining=39) +1ms
  eslint:rules Loading rule 'prefer-regex-literals' (remaining=38) +2ms
  eslint:rules Loading rule 'prefer-rest-params' (remaining=37) +1ms
  eslint:rules Loading rule 'prefer-spread' (remaining=36) +1ms
  eslint:rules Loading rule 'prefer-template' (remaining=35) +1ms
  eslint:rules Loading rule 'quote-props' (remaining=34) +0ms
  eslint:rules Loading rule 'quotes' (remaining=33) +1ms
  eslint:rules Loading rule 'radix' (remaining=32) +1ms
  eslint:rules Loading rule 'require-atomic-updates' (remaining=31) +1ms
  eslint:rules Loading rule 'require-await' (remaining=30) +1ms
  eslint:rules Loading rule 'require-jsdoc' (remaining=29) +1ms
  eslint:rules Loading rule 'require-unicode-regexp' (remaining=28) +2ms
  eslint:rules Loading rule 'require-yield' (remaining=27) +2ms
  eslint:rules Loading rule 'rest-spread-spacing' (remaining=26) +1ms
  eslint:rules Loading rule 'semi' (remaining=25) +0ms
  eslint:rules Loading rule 'semi-spacing' (remaining=24) +1ms
  eslint:rules Loading rule 'semi-style' (remaining=23) +1ms
  eslint:rules Loading rule 'sort-imports' (remaining=22) +1ms
  eslint:rules Loading rule 'sort-keys' (remaining=21) +1ms
  eslint:rules Loading rule 'sort-vars' (remaining=20) +3ms
  eslint:rules Loading rule 'space-before-blocks' (remaining=19) +1ms
  eslint:rules Loading rule 'space-before-function-paren' (remaining=18) +1ms
  eslint:rules Loading rule 'space-in-parens' (remaining=17) +1ms
  eslint:rules Loading rule 'space-infix-ops' (remaining=16) +0ms
  eslint:rules Loading rule 'space-unary-ops' (remaining=15) +1ms
  eslint:rules Loading rule 'spaced-comment' (remaining=14) +1ms
  eslint:rules Loading rule 'strict' (remaining=13) +1ms
  eslint:rules Loading rule 'switch-colon-spacing' (remaining=12) +1ms
  eslint:rules Loading rule 'symbol-description' (remaining=11) +2ms
  eslint:rules Loading rule 'template-curly-spacing' (remaining=10) +10ms
  eslint:rules Loading rule 'template-tag-spacing' (remaining=9) +1ms
  eslint:rules Loading rule 'unicode-bom' (remaining=8) +0ms
  eslint:rules Loading rule 'use-isnan' (remaining=7) +1ms
  eslint:rules Loading rule 'valid-jsdoc' (remaining=6) +1ms
  eslint:rules Loading rule 'valid-typeof' (remaining=5) +5ms
  eslint:rules Loading rule 'vars-on-top' (remaining=4) +0ms
  eslint:rules Loading rule 'wrap-iife' (remaining=3) +1ms
  eslint:rules Loading rule 'wrap-regex' (remaining=2) +1ms
  eslint:rules Loading rule 'yield-star-spacing' (remaining=1) +0ms
  eslint:rules Loading rule 'yoda' (remaining=0) +2ms
  eslint:cli CLI args: [ '--debug' ] +0ms
  eslint:cli Running on files +2ms
  eslintrc:config-array-factory Loading .eslintignore file: /Users/brentgreeff/learning/react/test_driven_react/.eslintignore +0ms
  eslintrc:ignore-pattern Create with: [ IgnorePattern { patterns: [ '/**/node_modules/*' ], basePath: '/Users/brentgreeff/learning/react/test_driven_react', loose: false } ] +0ms
  eslintrc:ignore-pattern   processed: { basePath: '/Users/brentgreeff/learning/react/test_driven_react', patterns: [ '/**/node_modules/*' ] } +2ms
  eslintrc:ignore-pattern Create with: [ IgnorePattern { patterns: [ '/**/node_modules/*' ], basePath: '/Users/brentgreeff/learning/react/test_driven_react', loose: false } ] +1ms
  eslintrc:ignore-pattern   processed: { basePath: '/Users/brentgreeff/learning/react/test_driven_react', patterns: [ '/**/node_modules/*' ] } +0ms
  eslint:file-enumerator Start to iterate files: [] +0ms
  eslint:file-enumerator Complete iterating files: [] +0ms
  eslint:cli-engine Linting complete in: 1ms +0ms
brent@Sub~/learning/react/test_driven_react:
brent@Sub~/learning/react/test_driven_react:./node_modules/.bin/eslint --debug
  eslint:rules Loading rule 'accessor-pairs' (remaining=285) +0ms
  eslint:rules Loading rule 'array-bracket-newline' (remaining=284) +15ms
  eslint:rules Loading rule 'array-bracket-spacing' (remaining=283) +2ms
  eslint:rules Loading rule 'array-callback-return' (remaining=282) +2ms
  eslint:rules Loading rule 'array-element-newline' (remaining=281) +1ms
  eslint:rules Loading rule 'arrow-body-style' (remaining=280) +2ms
  eslint:rules Loading rule 'arrow-parens' (remaining=279) +1ms
  eslint:rules Loading rule 'arrow-spacing' (remaining=278) +1ms
  eslint:rules Loading rule 'block-scoped-var' (remaining=277) +2ms
  eslint:rules Loading rule 'block-spacing' (remaining=276) +1ms
  eslint:rules Loading rule 'brace-style' (remaining=275) +2ms
  eslint:rules Loading rule 'callback-return' (remaining=274) +1ms
  eslint:rules Loading rule 'camelcase' (remaining=273) +2ms
  eslint:rules Loading rule 'capitalized-comments' (remaining=272) +1ms
  eslint:rules Loading rule 'class-methods-use-this' (remaining=271) +4ms
  eslint:rules Loading rule 'comma-dangle' (remaining=270) +2ms
  eslint:rules Loading rule 'comma-spacing' (remaining=269) +1ms
  eslint:rules Loading rule 'comma-style' (remaining=268) +1ms
  eslint:rules Loading rule 'complexity' (remaining=267) +1ms
  eslint:rules Loading rule 'computed-property-spacing' (remaining=266) +2ms
  eslint:rules Loading rule 'consistent-return' (remaining=265) +1ms
  eslint:rules Loading rule 'consistent-this' (remaining=264) +1ms
  eslint:rules Loading rule 'constructor-super' (remaining=263) +1ms
  eslint:rules Loading rule 'curly' (remaining=262) +0ms
  eslint:rules Loading rule 'default-case' (remaining=261) +1ms
  eslint:rules Loading rule 'default-case-last' (remaining=260) +1ms
  eslint:rules Loading rule 'default-param-last' (remaining=259) +0ms
  eslint:rules Loading rule 'dot-location' (remaining=258) +1ms
  eslint:rules Loading rule 'dot-notation' (remaining=257) +2ms
  eslint:rules Loading rule 'eol-last' (remaining=256) +2ms
  eslint:rules Loading rule 'eqeqeq' (remaining=255) +5ms
  eslint:rules Loading rule 'for-direction' (remaining=254) +5ms
  eslint:rules Loading rule 'func-call-spacing' (remaining=253) +1ms
  eslint:rules Loading rule 'func-name-matching' (remaining=252) +1ms
  eslint:rules Loading rule 'func-names' (remaining=251) +1ms
  eslint:rules Loading rule 'func-style' (remaining=250) +1ms
  eslint:rules Loading rule 'function-call-argument-newline' (remaining=249) +1ms
  eslint:rules Loading rule 'function-paren-newline' (remaining=248) +0ms
  eslint:rules Loading rule 'generator-star-spacing' (remaining=247) +1ms
  eslint:rules Loading rule 'getter-return' (remaining=246) +1ms
  eslint:rules Loading rule 'global-require' (remaining=245) +1ms
  eslint:rules Loading rule 'grouped-accessor-pairs' (remaining=244) +1ms
  eslint:rules Loading rule 'guard-for-in' (remaining=243) +1ms
  eslint:rules Loading rule 'handle-callback-err' (remaining=242) +1ms
  eslint:rules Loading rule 'id-blacklist' (remaining=241) +1ms
  eslint:rules Loading rule 'id-denylist' (remaining=240) +1ms
  eslint:rules Loading rule 'id-length' (remaining=239) +1ms
  eslint:rules Loading rule 'id-match' (remaining=238) +1ms
  eslint:rules Loading rule 'implicit-arrow-linebreak' (remaining=237) +2ms
  eslint:rules Loading rule 'indent' (remaining=236) +1ms
  eslint:rules Loading rule 'indent-legacy' (remaining=235) +3ms
  eslint:rules Loading rule 'init-declarations' (remaining=234) +2ms
  eslint:rules Loading rule 'jsx-quotes' (remaining=233) +1ms
  eslint:rules Loading rule 'key-spacing' (remaining=232) +2ms
  eslint:rules Loading rule 'keyword-spacing' (remaining=231) +1ms
  eslint:rules Loading rule 'line-comment-position' (remaining=230) +7ms
  eslint:rules Loading rule 'linebreak-style' (remaining=229) +1ms
  eslint:rules Loading rule 'lines-around-comment' (remaining=228) +1ms
  eslint:rules Loading rule 'lines-around-directive' (remaining=227) +1ms
  eslint:rules Loading rule 'lines-between-class-members' (remaining=226) +0ms
  eslint:rules Loading rule 'max-classes-per-file' (remaining=225) +2ms
  eslint:rules Loading rule 'max-depth' (remaining=224) +1ms
  eslint:rules Loading rule 'max-len' (remaining=223) +1ms
  eslint:rules Loading rule 'max-lines' (remaining=222) +1ms
  eslint:rules Loading rule 'max-lines-per-function' (remaining=221) +0ms
  eslint:rules Loading rule 'max-nested-callbacks' (remaining=220) +1ms
  eslint:rules Loading rule 'max-params' (remaining=219) +1ms
  eslint:rules Loading rule 'max-statements' (remaining=218) +1ms
  eslint:rules Loading rule 'max-statements-per-line' (remaining=217) +0ms
  eslint:rules Loading rule 'multiline-comment-style' (remaining=216) +1ms
  eslint:rules Loading rule 'multiline-ternary' (remaining=215) +1ms
  eslint:rules Loading rule 'new-cap' (remaining=214) +1ms
  eslint:rules Loading rule 'new-parens' (remaining=213) +1ms
  eslint:rules Loading rule 'newline-after-var' (remaining=212) +1ms
  eslint:rules Loading rule 'newline-before-return' (remaining=211) +1ms
  eslint:rules Loading rule 'newline-per-chained-call' (remaining=210) +0ms
  eslint:rules Loading rule 'no-alert' (remaining=209) +1ms
  eslint:rules Loading rule 'no-array-constructor' (remaining=208) +1ms
  eslint:rules Loading rule 'no-async-promise-executor' (remaining=207) +1ms
  eslint:rules Loading rule 'no-await-in-loop' (remaining=206) +1ms
  eslint:rules Loading rule 'no-bitwise' (remaining=205) +1ms
  eslint:rules Loading rule 'no-buffer-constructor' (remaining=204) +1ms
  eslint:rules Loading rule 'no-caller' (remaining=203) +1ms
  eslint:rules Loading rule 'no-case-declarations' (remaining=202) +1ms
  eslint:rules Loading rule 'no-catch-shadow' (remaining=201) +1ms
  eslint:rules Loading rule 'no-class-assign' (remaining=200) +4ms
  eslint:rules Loading rule 'no-compare-neg-zero' (remaining=199) +1ms
  eslint:rules Loading rule 'no-cond-assign' (remaining=198) +0ms
  eslint:rules Loading rule 'no-confusing-arrow' (remaining=197) +1ms
  eslint:rules Loading rule 'no-console' (remaining=196) +0ms
  eslint:rules Loading rule 'no-const-assign' (remaining=195) +1ms
  eslint:rules Loading rule 'no-constant-condition' (remaining=194) +1ms
  eslint:rules Loading rule 'no-constructor-return' (remaining=193) +0ms
  eslint:rules Loading rule 'no-continue' (remaining=192) +1ms
  eslint:rules Loading rule 'no-control-regex' (remaining=191) +1ms
  eslint:rules Loading rule 'no-debugger' (remaining=190) +3ms
  eslint:rules Loading rule 'no-delete-var' (remaining=189) +1ms
  eslint:rules Loading rule 'no-div-regex' (remaining=188) +1ms
  eslint:rules Loading rule 'no-dupe-args' (remaining=187) +1ms
  eslint:rules Loading rule 'no-dupe-class-members' (remaining=186) +1ms
  eslint:rules Loading rule 'no-dupe-else-if' (remaining=185) +0ms
  eslint:rules Loading rule 'no-dupe-keys' (remaining=184) +1ms
  eslint:rules Loading rule 'no-duplicate-case' (remaining=183) +1ms
  eslint:rules Loading rule 'no-duplicate-imports' (remaining=182) +1ms
  eslint:rules Loading rule 'no-else-return' (remaining=181) +1ms
  eslint:rules Loading rule 'no-empty' (remaining=180) +3ms
  eslint:rules Loading rule 'no-empty-character-class' (remaining=179) +2ms
  eslint:rules Loading rule 'no-empty-function' (remaining=178) +1ms
  eslint:rules Loading rule 'no-empty-pattern' (remaining=177) +1ms
  eslint:rules Loading rule 'no-eq-null' (remaining=176) +1ms
  eslint:rules Loading rule 'no-eval' (remaining=175) +1ms
  eslint:rules Loading rule 'no-ex-assign' (remaining=174) +1ms
  eslint:rules Loading rule 'no-extend-native' (remaining=173) +2ms
  eslint:rules Loading rule 'no-extra-bind' (remaining=172) +3ms
  eslint:rules Loading rule 'no-extra-boolean-cast' (remaining=171) +1ms
  eslint:rules Loading rule 'no-extra-label' (remaining=170) +1ms
  eslint:rules Loading rule 'no-extra-parens' (remaining=169) +1ms
  eslint:rules Loading rule 'no-extra-semi' (remaining=168) +1ms
  eslint:rules Loading rule 'no-fallthrough' (remaining=167) +1ms
  eslint:rules Loading rule 'no-floating-decimal' (remaining=166) +1ms
  eslint:rules Loading rule 'no-func-assign' (remaining=165) +2ms
  eslint:rules Loading rule 'no-global-assign' (remaining=164) +1ms
  eslint:rules Loading rule 'no-implicit-coercion' (remaining=163) +1ms
  eslint:rules Loading rule 'no-implicit-globals' (remaining=162) +1ms
  eslint:rules Loading rule 'no-implied-eval' (remaining=161) +0ms
  eslint:rules Loading rule 'no-import-assign' (remaining=160) +1ms
  eslint:rules Loading rule 'no-inline-comments' (remaining=159) +1ms
  eslint:rules Loading rule 'no-inner-declarations' (remaining=158) +1ms
  eslint:rules Loading rule 'no-invalid-regexp' (remaining=157) +1ms
  eslint:rules Loading rule 'no-invalid-this' (remaining=156) +0ms
  eslint:rules Loading rule 'no-irregular-whitespace' (remaining=155) +1ms
  eslint:rules Loading rule 'no-iterator' (remaining=154) +5ms
  eslint:rules Loading rule 'no-label-var' (remaining=153) +6ms
  eslint:rules Loading rule 'no-labels' (remaining=152) +2ms
  eslint:rules Loading rule 'no-lone-blocks' (remaining=151) +1ms
  eslint:rules Loading rule 'no-lonely-if' (remaining=150) +1ms
  eslint:rules Loading rule 'no-loop-func' (remaining=149) +1ms
  eslint:rules Loading rule 'no-loss-of-precision' (remaining=148) +1ms
  eslint:rules Loading rule 'no-magic-numbers' (remaining=147) +1ms
  eslint:rules Loading rule 'no-misleading-character-class' (remaining=146) +0ms
  eslint:rules Loading rule 'no-mixed-operators' (remaining=145) +4ms
  eslint:rules Loading rule 'no-mixed-requires' (remaining=144) +0ms
  eslint:rules Loading rule 'no-mixed-spaces-and-tabs' (remaining=143) +1ms
  eslint:rules Loading rule 'no-multi-assign' (remaining=142) +1ms
  eslint:rules Loading rule 'no-multi-spaces' (remaining=141) +1ms
  eslint:rules Loading rule 'no-multi-str' (remaining=140) +0ms
  eslint:rules Loading rule 'no-multiple-empty-lines' (remaining=139) +1ms
  eslint:rules Loading rule 'no-native-reassign' (remaining=138) +1ms
  eslint:rules Loading rule 'no-negated-condition' (remaining=137) +1ms
  eslint:rules Loading rule 'no-negated-in-lhs' (remaining=136) +0ms
  eslint:rules Loading rule 'no-nested-ternary' (remaining=135) +1ms
  eslint:rules Loading rule 'no-new' (remaining=134) +0ms
  eslint:rules Loading rule 'no-new-func' (remaining=133) +1ms
  eslint:rules Loading rule 'no-new-object' (remaining=132) +1ms
  eslint:rules Loading rule 'no-new-require' (remaining=131) +0ms
  eslint:rules Loading rule 'no-new-symbol' (remaining=130) +1ms
  eslint:rules Loading rule 'no-new-wrappers' (remaining=129) +0ms
  eslint:rules Loading rule 'no-nonoctal-decimal-escape' (remaining=128) +1ms
  eslint:rules Loading rule 'no-obj-calls' (remaining=127) +0ms
  eslint:rules Loading rule 'no-octal' (remaining=126) +1ms
  eslint:rules Loading rule 'no-octal-escape' (remaining=125) +0ms
  eslint:rules Loading rule 'no-param-reassign' (remaining=124) +1ms
  eslint:rules Loading rule 'no-path-concat' (remaining=123) +0ms
  eslint:rules Loading rule 'no-plusplus' (remaining=122) +8ms
  eslint:rules Loading rule 'no-process-env' (remaining=121) +1ms
  eslint:rules Loading rule 'no-process-exit' (remaining=120) +1ms
  eslint:rules Loading rule 'no-promise-executor-return' (remaining=119) +2ms
  eslint:rules Loading rule 'no-proto' (remaining=118) +4ms
  eslint:rules Loading rule 'no-prototype-builtins' (remaining=117) +1ms
  eslint:rules Loading rule 'no-redeclare' (remaining=116) +2ms
  eslint:rules Loading rule 'no-regex-spaces' (remaining=115) +1ms
  eslint:rules Loading rule 'no-restricted-exports' (remaining=114) +2ms
  eslint:rules Loading rule 'no-restricted-globals' (remaining=113) +1ms
  eslint:rules Loading rule 'no-restricted-imports' (remaining=112) +1ms
  eslint:rules Loading rule 'no-restricted-modules' (remaining=111) +1ms
  eslint:rules Loading rule 'no-restricted-properties' (remaining=110) +1ms
  eslint:rules Loading rule 'no-restricted-syntax' (remaining=109) +0ms
  eslint:rules Loading rule 'no-return-assign' (remaining=108) +2ms
  eslint:rules Loading rule 'no-return-await' (remaining=107) +1ms
  eslint:rules Loading rule 'no-script-url' (remaining=106) +1ms
  eslint:rules Loading rule 'no-self-assign' (remaining=105) +1ms
  eslint:rules Loading rule 'no-self-compare' (remaining=104) +1ms
  eslint:rules Loading rule 'no-sequences' (remaining=103) +1ms
  eslint:rules Loading rule 'no-setter-return' (remaining=102) +1ms
  eslint:rules Loading rule 'no-shadow' (remaining=101) +1ms
  eslint:rules Loading rule 'no-shadow-restricted-names' (remaining=100) +0ms
  eslint:rules Loading rule 'no-spaced-func' (remaining=99) +2ms
  eslint:rules Loading rule 'no-sparse-arrays' (remaining=98) +1ms
  eslint:rules Loading rule 'no-sync' (remaining=97) +0ms
  eslint:rules Loading rule 'no-tabs' (remaining=96) +2ms
  eslint:rules Loading rule 'no-template-curly-in-string' (remaining=95) +1ms
  eslint:rules Loading rule 'no-ternary' (remaining=94) +1ms
  eslint:rules Loading rule 'no-this-before-super' (remaining=93) +0ms
  eslint:rules Loading rule 'no-throw-literal' (remaining=92) +3ms
  eslint:rules Loading rule 'no-trailing-spaces' (remaining=91) +1ms
  eslint:rules Loading rule 'no-undef' (remaining=90) +1ms
  eslint:rules Loading rule 'no-undef-init' (remaining=89) +0ms
  eslint:rules Loading rule 'no-undefined' (remaining=88) +1ms
  eslint:rules Loading rule 'no-underscore-dangle' (remaining=87) +1ms
  eslint:rules Loading rule 'no-unexpected-multiline' (remaining=86) +0ms
  eslint:rules Loading rule 'no-unmodified-loop-condition' (remaining=85) +1ms
  eslint:rules Loading rule 'no-unneeded-ternary' (remaining=84) +1ms
  eslint:rules Loading rule 'no-unreachable' (remaining=83) +1ms
  eslint:rules Loading rule 'no-unreachable-loop' (remaining=82) +0ms
  eslint:rules Loading rule 'no-unsafe-finally' (remaining=81) +1ms
  eslint:rules Loading rule 'no-unsafe-negation' (remaining=80) +1ms
  eslint:rules Loading rule 'no-unsafe-optional-chaining' (remaining=79) +0ms
  eslint:rules Loading rule 'no-unused-expressions' (remaining=78) +1ms
  eslint:rules Loading rule 'no-unused-labels' (remaining=77) +1ms
  eslint:rules Loading rule 'no-unused-private-class-members' (remaining=76) +1ms
  eslint:rules Loading rule 'no-unused-vars' (remaining=75) +0ms
  eslint:rules Loading rule 'no-use-before-define' (remaining=74) +1ms
  eslint:rules Loading rule 'no-useless-backreference' (remaining=73) +1ms
  eslint:rules Loading rule 'no-useless-call' (remaining=72) +1ms
  eslint:rules Loading rule 'no-useless-catch' (remaining=71) +1ms
  eslint:rules Loading rule 'no-useless-computed-key' (remaining=70) +1ms
  eslint:rules Loading rule 'no-useless-concat' (remaining=69) +0ms
  eslint:rules Loading rule 'no-useless-constructor' (remaining=68) +1ms
  eslint:rules Loading rule 'no-useless-escape' (remaining=67) +1ms
  eslint:rules Loading rule 'no-useless-rename' (remaining=66) +1ms
  eslint:rules Loading rule 'no-useless-return' (remaining=65) +1ms
  eslint:rules Loading rule 'no-var' (remaining=64) +0ms
  eslint:rules Loading rule 'no-void' (remaining=63) +1ms
  eslint:rules Loading rule 'no-warning-comments' (remaining=62) +1ms
  eslint:rules Loading rule 'no-whitespace-before-property' (remaining=61) +0ms
  eslint:rules Loading rule 'no-with' (remaining=60) +1ms
  eslint:rules Loading rule 'nonblock-statement-body-position' (remaining=59) +1ms
  eslint:rules Loading rule 'object-curly-newline' (remaining=58) +0ms
  eslint:rules Loading rule 'object-curly-spacing' (remaining=57) +1ms
  eslint:rules Loading rule 'object-property-newline' (remaining=56) +1ms
  eslint:rules Loading rule 'object-shorthand' (remaining=55) +1ms
  eslint:rules Loading rule 'one-var' (remaining=54) +1ms
  eslint:rules Loading rule 'one-var-declaration-per-line' (remaining=53) +1ms
  eslint:rules Loading rule 'operator-assignment' (remaining=52) +0ms
  eslint:rules Loading rule 'operator-linebreak' (remaining=51) +1ms
  eslint:rules Loading rule 'padded-blocks' (remaining=50) +2ms
  eslint:rules Loading rule 'padding-line-between-statements' (remaining=49) +1ms
  eslint:rules Loading rule 'prefer-arrow-callback' (remaining=48) +1ms
  eslint:rules Loading rule 'prefer-const' (remaining=47) +1ms
  eslint:rules Loading rule 'prefer-destructuring' (remaining=46) +2ms
  eslint:rules Loading rule 'prefer-exponentiation-operator' (remaining=45) +1ms
  eslint:rules Loading rule 'prefer-named-capture-group' (remaining=44) +1ms
  eslint:rules Loading rule 'prefer-numeric-literals' (remaining=43) +2ms
  eslint:rules Loading rule 'prefer-object-has-own' (remaining=42) +1ms
  eslint:rules Loading rule 'prefer-object-spread' (remaining=41) +1ms
  eslint:rules Loading rule 'prefer-promise-reject-errors' (remaining=40) +1ms
  eslint:rules Loading rule 'prefer-reflect' (remaining=39) +1ms
  eslint:rules Loading rule 'prefer-regex-literals' (remaining=38) +2ms
  eslint:rules Loading rule 'prefer-rest-params' (remaining=37) +1ms
  eslint:rules Loading rule 'prefer-spread' (remaining=36) +1ms
  eslint:rules Loading rule 'prefer-template' (remaining=35) +1ms
  eslint:rules Loading rule 'quote-props' (remaining=34) +0ms
  eslint:rules Loading rule 'quotes' (remaining=33) +1ms
  eslint:rules Loading rule 'radix' (remaining=32) +1ms
  eslint:rules Loading rule 'require-atomic-updates' (remaining=31) +1ms
  eslint:rules Loading rule 'require-await' (remaining=30) +1ms
  eslint:rules Loading rule 'require-jsdoc' (remaining=29) +1ms
  eslint:rules Loading rule 'require-unicode-regexp' (remaining=28) +2ms
  eslint:rules Loading rule 'require-yield' (remaining=27) +2ms
  eslint:rules Loading rule 'rest-spread-spacing' (remaining=26) +1ms
  eslint:rules Loading rule 'semi' (remaining=25) +0ms
  eslint:rules Loading rule 'semi-spacing' (remaining=24) +1ms
  eslint:rules Loading rule 'semi-style' (remaining=23) +1ms
  eslint:rules Loading rule 'sort-imports' (remaining=22) +1ms
  eslint:rules Loading rule 'sort-keys' (remaining=21) +1ms
  eslint:rules Loading rule 'sort-vars' (remaining=20) +3ms
  eslint:rules Loading rule 'space-before-blocks' (remaining=19) +1ms
  eslint:rules Loading rule 'space-before-function-paren' (remaining=18) +1ms
  eslint:rules Loading rule 'space-in-parens' (remaining=17) +1ms
  eslint:rules Loading rule 'space-infix-ops' (remaining=16) +0ms
  eslint:rules Loading rule 'space-unary-ops' (remaining=15) +1ms
  eslint:rules Loading rule 'spaced-comment' (remaining=14) +1ms
  eslint:rules Loading rule 'strict' (remaining=13) +1ms
  eslint:rules Loading rule 'switch-colon-spacing' (remaining=12) +1ms
  eslint:rules Loading rule 'symbol-description' (remaining=11) +2ms
  eslint:rules Loading rule 'template-curly-spacing' (remaining=10) +10ms
  eslint:rules Loading rule 'template-tag-spacing' (remaining=9) +1ms
  eslint:rules Loading rule 'unicode-bom' (remaining=8) +0ms
  eslint:rules Loading rule 'use-isnan' (remaining=7) +1ms
  eslint:rules Loading rule 'valid-jsdoc' (remaining=6) +1ms
  eslint:rules Loading rule 'valid-typeof' (remaining=5) +5ms
  eslint:rules Loading rule 'vars-on-top' (remaining=4) +0ms
  eslint:rules Loading rule 'wrap-iife' (remaining=3) +1ms
  eslint:rules Loading rule 'wrap-regex' (remaining=2) +1ms
  eslint:rules Loading rule 'yield-star-spacing' (remaining=1) +0ms
  eslint:rules Loading rule 'yoda' (remaining=0) +2ms
  eslint:cli CLI args: [ '--debug' ] +0ms
  eslint:cli Running on files +2ms
  eslintrc:config-array-factory Loading .eslintignore file: /Users/brentgreeff/learning/react/test_driven_react/.eslintignore +0ms
  eslintrc:ignore-pattern Create with: [ IgnorePattern { patterns: [ '/**/node_modules/*' ], basePath: '/Users/brentgreeff/learning/react/test_driven_react', loose: false } ] +0ms
  eslintrc:ignore-pattern   processed: { basePath: '/Users/brentgreeff/learning/react/test_driven_react', patterns: [ '/**/node_modules/*' ] } +2ms
  eslintrc:ignore-pattern Create with: [ IgnorePattern { patterns: [ '/**/node_modules/*' ], basePath: '/Users/brentgreeff/learning/react/test_driven_react', loose: false } ] +1ms
  eslintrc:ignore-pattern   processed: { basePath: '/Users/brentgreeff/learning/react/test_driven_react', patterns: [ '/**/node_modules/*' ] } +0ms
  eslint:file-enumerator Start to iterate files: [] +0ms
  eslint:file-enumerator Complete iterating files: [] +0ms
  eslint:cli-engine Linting complete in: 1ms +0ms
fostimus commented 2 years ago

Also getting this, but only on certain projects...

savetheclocktower commented 2 years ago

I dug into this and it turns out it's an artifact of #1440.

CLIEngine was deprecated in ESLint v7 and is now absent in v8. That, I think, is ultimately why fileConfig is null in this code block, and why all attempts to communicate with the worker result in the worker immediately sending back an empty array instead of the response message that getDebugInfo expects when it sends a “debug” job to the worker. The assumption that the response will be present is what triggers this error.

I'm not saying this is a duplicate, mind you. That the cause of this problem is so far away from how it's presented to the user is likely its own problem that could be improved. Some more sanity checking could be helpful here, like testing for the presence of CLIEngine and explicitly stopping and showing a notification if it's not there.

If this package is ever able to support ESLint 8 (whether by JS API integration or CLI output), this code path will get more paranoid anyway, as it won't be able to simply assume that CLIEngine exists anymore. If it won't support ESLint 8, and we all end up having to install a new linter-eslint-8 or something, then this should still be fixed, so it can explain to people why linter-eslint is silently failing and point them to the new package.

I'm keeping my eye on #1442 to see what the outcome is. If you absolutely need Atom-integrated linting for your project, you'll have to downgrade it to ESLint 7 until this gets worked out.

amxmln commented 2 years ago

Perhaps it’s useful for some context, so I’m leaving this here. I had the same issue on a brand new Vue project initialised with npm init vue@latest (so Vite + Eslint 8). I was wondering why I didn’t have any in-editor linting when the lint command worked fine in the terminal and did some investigating. When I tried getting the linter-eslint debug info, I ran into this error at first.

However, as soon as I disabled the checkbox next to "Disable when no ESLint config is found" in the plugin settings, the Linter ESLint: Debug command started working again (although I’m still not able to lint files because of #1448 or something relating to that).

UziTech commented 2 years ago

For eslint v8+ you should use linter-eslint-node.