You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
After I run the command npx eslint --init successfully to get a eslintrc file, I have to close Atom and open it again in order to see eslint errors in the editor.
I thought that the only requirement for eslint to work was to re-open js files. But that's not the case.
Also when I try to run Linter Eslint: Debug from the Command Palette inside Atom before closing and opening Atom, I will get "Type error Path must be a string. Received undefined"
Bug Checklist
Restart Atom
Verify the eslint CLI gives the proper result, while linter-eslint does not
Paste the output of the Linter Eslint: Debug command from the Command Palette below
Issue Type
Question/Bug
Issue Description
After I run the command
npx eslint --init
successfully to get a eslintrc file, I have to close Atom and open it again in order to see eslint errors in the editor.I thought that the only requirement for eslint to work was to re-open js files. But that's not the case.
Also when I try to run Linter Eslint: Debug from the Command Palette inside Atom before closing and opening Atom, I will get "Type error Path must be a string. Received undefined"
Bug Checklist
eslint
CLI gives the proper result, whilelinter-eslint
does notLinter Eslint: Debug
command from the Command Palette belowAtom version: 1.33.1
linter-eslint version: 8.5.0
ESLint version: 5.12.0
Hours since last Atom restart: 0
Platform: linux
Using local project ESLint from: /home/wu/Html-CSS-JS/odin-javascript/test/node_modules/eslint
Current file's scopes: [
"source.js"
]
linter-eslint configuration: {
"scopes": [
"source.js",
"source.jsx",
"source.js.jsx",
"source.flow",
"source.babel",
"source.js-semantic"
],
"lintHtmlFiles": false,
"autofix": {
"fixOnSave": false,
"ignoreFixableRulesWhileTyping": false,
"rulesToDisableWhileFixing": []
},
"global": {
"useGlobalEslint": false,
"eslintrcPath": "",
"globalNodePath": ""
},
"disabling": {
"disableWhenNoEslintConfig": true,
"rulesToSilenceWhileTyping": []
},
"advanced": {
"disableEslintIgnore": false,
"disableFSCache": false,
"showRuleIdInMessage": true,
"eslintRulesDirs": [],
"localNodeModules": ""
}
}
The text was updated successfully, but these errors were encountered: