Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit b74aa3f

Browse files
Minor tweaks
1 parent ac7c79c commit b74aa3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,16 @@ const Config = {
5757
try {
5858
this.overrides = JSON.parse(this.configFile.readSync());
5959
} catch (err) {
60-
console.error('Linter ESLint v8: Error parsing .linter-eslint file', err);
60+
console.error('Error parsing .linter-eslint file', err);
6161
this.overrides = {};
6262
}
6363
this.triggerConfigChange();
6464
},
6565

6666
get (keyName = null) {
67+
// TODO: Once we're certain that no config changes will go unnoticed by us,
68+
// we could just reuse this._currentConfig instead of building a new object
69+
// every time.
6770
let config = Object.assign(
6871
{},
6972
atom.config.get('linter-eslint-node'),

0 commit comments

Comments
 (0)