This repository was archived by the owner on Aug 7, 2023. It is now read-only.
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
Bug: Linter doesn't pick up node_modules changes #19
Open
Description
Issue Type
Bug
Issue Description
- Have a repository that is set up for ESLint.
- Have Atom loaded on that repository.
- On disk, install a new ESLint module.
- Add code to the ESLint configuration to use a rule from that module.
Actual Results:
Restarting Atom fixes the issue.
Expected results:
Either of:
- The linter detects the change to node_modules and reloads the node process.
- The issue is somehow detected and a Restart button is provided.
Bug Checklist
- Restart Atom
- Verify the
eslint
CLI gives the proper result, whilelinter-eslint-node
does not - Paste the output of the
Linter Eslint Node: Debug
command from the Command Palette below
Linter Eslint Node: Debug output here
Atom version: 1.60.0
linter-eslint-node version: 1.0.3
Worker using Node at path: /usr/local/bin/node
Worker Node version: v17.2.0
Worker PID: 2958
ESLint version: 8.9.0
ESLint location: /Users/mark/dev/thunderbird-conversations/node_modules/eslint/
Linting in this project performed by: linter-eslint-node
Hours since last Atom restart: 0.1
Platform: darwin
Current file's scopes: [
"source.js"
]
linter-eslint-node configuration: {
"disabling": {
"disableWhenNoEslintConfig": true,
"rulesToSilenceWhileTyping": []
},
"scopes": [
"source.js",
"source.jsx",
"source.js.jsx",
"source.flow",
"source.babel",
"source.js-semantic",
"source.ts"
],
"nodeBin": "node",
"warnAboutOldEslint": true,
"autofix": {
"fixOnSave": false,
"rulesToDisableWhileFixing": [],
"ignoreFixableRulesWhileTyping": false
},
"advanced": {
"disableEslintIgnore": false,
"showRuleIdInMessage": true,
"useCache": true
}
}