@cspell/eslint-plugin 8.14.3 → 8.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/worker/spellCheck.mjs +3 -2
- package/package.json +17 -17
|
@@ -150,7 +150,7 @@ export async function spellCheck(filename, text, root, options) {
|
|
|
150
150
|
if (!parent)
|
|
151
151
|
return true;
|
|
152
152
|
const { imported, local } = parent;
|
|
153
|
-
if (imported.name !== local.name)
|
|
153
|
+
if (imported.type === 'Identifier' && imported.name !== local.name)
|
|
154
154
|
return true;
|
|
155
155
|
return imported.range?.[0] !== local.range?.[0] && imported.range?.[1] !== local.range?.[1];
|
|
156
156
|
}
|
|
@@ -272,7 +272,8 @@ export async function spellCheck(filename, text, root, options) {
|
|
|
272
272
|
}
|
|
273
273
|
function debugNode(path, value) {
|
|
274
274
|
log(`${inheritanceSummary(path)}: %o`, value);
|
|
275
|
-
|
|
275
|
+
if (debugMode)
|
|
276
|
+
_dumpNode(path);
|
|
276
277
|
}
|
|
277
278
|
// console.warn('root: %o', root);
|
|
278
279
|
walkTree(root, checkNode);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "8.
|
|
6
|
+
"version": "8.15.0",
|
|
7
7
|
"description": "CSpell ESLint plugin",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"cspell",
|
|
@@ -78,37 +78,37 @@
|
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@eslint/eslintrc": "^3.1.0",
|
|
81
|
-
"@eslint/js": "^9.
|
|
81
|
+
"@eslint/js": "^9.12.0",
|
|
82
82
|
"@internal/cspell-eslint-plugin-scripts": "",
|
|
83
83
|
"@internal/fixture-test-dictionary": "",
|
|
84
84
|
"@types/eslint": "^8.56.12",
|
|
85
|
-
"@types/estree": "^1.0.
|
|
86
|
-
"@types/mocha": "^10.0.
|
|
87
|
-
"@typescript-eslint/parser": "^8.
|
|
88
|
-
"@typescript-eslint/types": "^8.
|
|
89
|
-
"eslint": "^9.
|
|
85
|
+
"@types/estree": "^1.0.6",
|
|
86
|
+
"@types/mocha": "^10.0.9",
|
|
87
|
+
"@typescript-eslint/parser": "^8.8.1",
|
|
88
|
+
"@typescript-eslint/types": "^8.8.1",
|
|
89
|
+
"eslint": "^9.12.0",
|
|
90
90
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
91
91
|
"eslint-plugin-mdx": "^3.1.5",
|
|
92
|
-
"eslint-plugin-n": "^17.
|
|
93
|
-
"eslint-plugin-react": "^7.
|
|
92
|
+
"eslint-plugin-n": "^17.11.1",
|
|
93
|
+
"eslint-plugin-react": "^7.37.1",
|
|
94
94
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
95
95
|
"eslint-plugin-yml": "^1.14.0",
|
|
96
|
-
"globals": "^15.
|
|
96
|
+
"globals": "^15.11.0",
|
|
97
97
|
"jsonc-eslint-parser": "^2.4.0",
|
|
98
98
|
"mocha": "^10.7.3",
|
|
99
99
|
"ts-json-schema-generator": "^2.3.0",
|
|
100
|
-
"typescript": "~5.
|
|
101
|
-
"typescript-eslint": "^8.
|
|
100
|
+
"typescript": "~5.6.3",
|
|
101
|
+
"typescript-eslint": "^8.8.1",
|
|
102
102
|
"yaml-eslint-parser": "^1.2.3"
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
|
-
"@cspell/cspell-types": "8.
|
|
106
|
-
"@cspell/url": "8.
|
|
107
|
-
"cspell-lib": "8.
|
|
108
|
-
"synckit": "^0.9.
|
|
105
|
+
"@cspell/cspell-types": "8.15.0",
|
|
106
|
+
"@cspell/url": "8.15.0",
|
|
107
|
+
"cspell-lib": "8.15.0",
|
|
108
|
+
"synckit": "^0.9.2"
|
|
109
109
|
},
|
|
110
110
|
"peerDependencies": {
|
|
111
111
|
"eslint": "^7 || ^8 || ^9"
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "60b04562dfa023eede01929d86fa944163c07256"
|
|
114
114
|
}
|