Closed tommydmcdonald closed 2 years ago
Bug
Using yarn version 2.4.0 with yarn pnp, so no installed node_modules.
2.4.0
node_modules
Getting this error message Error while running ESLint: ESLint configuration in /Users/TMcd11/dev/shop-ux-modules/.eslintrc.js is invalid:.
Error while running ESLint: ESLint configuration in /Users/TMcd11/dev/shop-ux-modules/.eslintrc.js is invalid:.
Content's of .eslintrc.js
module.exports = require('@internal-library/js-tools/eslint');
eslint
linter-eslint
Linter Eslint: Debug
Linter Eslint: Debug output here Atom version: 1.55.0 linter-eslint version: 8.6.6 ESLint version: 4.19.1 Hours since last Atom restart: 2 Platform: darwin Using bundled fallback ESLint from: /Users/TMcd11/.atom/packages/linter-eslint/node_modules/eslint Current file's scopes: [ "source.js.jsx", "variable.other.readwrite.js" ] linter-eslint configuration: { "autofix": { "ignoreFixableRulesWhileTyping": true, "fixOnSave": false, "rulesToDisableWhileFixing": [] }, "disabling": { "disableWhenNoEslintConfig": false, "rulesToSilenceWhileTyping": [] }, "global": { "eslintrcPath": ".eslintrc.js", "globalNodePath": "/Users/tmcd11/.nvm/versions/node/v13.5.0", "useGlobalEslint": false }, "scopes": [ "source.js", "source.jsx", "source.js.jsx", "source.flow", "source.babel", "source.js-semantic", "source.ts" ], "advanced": { "localNodeModules": ".yarn", "disableEslintIgnore": false, "disableFSCache": false, "showRuleIdInMessage": true, "eslintRulesDirs": [] }, "lintHtmlFiles": false }
What is returned by @internal-library/js-tools/eslint?
@internal-library/js-tools/eslint
closing as stale. If you are using eslint v8 you should use linter-eslint-node.
Issue Type
Bug
Issue Description
Using yarn version
2.4.0
with yarn pnp, so no installednode_modules
.Getting this error message
Error while running ESLint: ESLint configuration in /Users/TMcd11/dev/shop-ux-modules/.eslintrc.js is invalid:.
Content's of .eslintrc.js
Bug Checklist
eslint
CLI gives the proper result, whilelinter-eslint
does notLinter Eslint: Debug
command from the Command Palette below