@cspell/eslint-plugin 8.14.4 → 8.15.1
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 +19 -18
|
@@ -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
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspell/eslint-plugin",
|
|
3
3
|
"publishConfig": {
|
|
4
|
-
"access": "public"
|
|
4
|
+
"access": "public",
|
|
5
|
+
"provenance": true
|
|
5
6
|
},
|
|
6
|
-
"version": "8.
|
|
7
|
+
"version": "8.15.1",
|
|
7
8
|
"description": "CSpell ESLint plugin",
|
|
8
9
|
"keywords": [
|
|
9
10
|
"cspell",
|
|
@@ -78,37 +79,37 @@
|
|
|
78
79
|
},
|
|
79
80
|
"devDependencies": {
|
|
80
81
|
"@eslint/eslintrc": "^3.1.0",
|
|
81
|
-
"@eslint/js": "^9.
|
|
82
|
+
"@eslint/js": "^9.12.0",
|
|
82
83
|
"@internal/cspell-eslint-plugin-scripts": "",
|
|
83
84
|
"@internal/fixture-test-dictionary": "",
|
|
84
85
|
"@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.
|
|
86
|
+
"@types/estree": "^1.0.6",
|
|
87
|
+
"@types/mocha": "^10.0.9",
|
|
88
|
+
"@typescript-eslint/parser": "^8.8.1",
|
|
89
|
+
"@typescript-eslint/types": "^8.8.1",
|
|
90
|
+
"eslint": "^9.12.0",
|
|
90
91
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
91
92
|
"eslint-plugin-mdx": "^3.1.5",
|
|
92
|
-
"eslint-plugin-n": "^17.
|
|
93
|
-
"eslint-plugin-react": "^7.
|
|
93
|
+
"eslint-plugin-n": "^17.11.1",
|
|
94
|
+
"eslint-plugin-react": "^7.37.1",
|
|
94
95
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
95
96
|
"eslint-plugin-yml": "^1.14.0",
|
|
96
|
-
"globals": "^15.
|
|
97
|
+
"globals": "^15.11.0",
|
|
97
98
|
"jsonc-eslint-parser": "^2.4.0",
|
|
98
99
|
"mocha": "^10.7.3",
|
|
99
100
|
"ts-json-schema-generator": "^2.3.0",
|
|
100
|
-
"typescript": "~5.
|
|
101
|
-
"typescript-eslint": "^8.
|
|
101
|
+
"typescript": "~5.6.3",
|
|
102
|
+
"typescript-eslint": "^8.8.1",
|
|
102
103
|
"yaml-eslint-parser": "^1.2.3"
|
|
103
104
|
},
|
|
104
105
|
"dependencies": {
|
|
105
|
-
"@cspell/cspell-types": "8.
|
|
106
|
-
"@cspell/url": "8.
|
|
107
|
-
"cspell-lib": "8.
|
|
108
|
-
"synckit": "^0.9.
|
|
106
|
+
"@cspell/cspell-types": "8.15.1",
|
|
107
|
+
"@cspell/url": "8.15.1",
|
|
108
|
+
"cspell-lib": "8.15.1",
|
|
109
|
+
"synckit": "^0.9.2"
|
|
109
110
|
},
|
|
110
111
|
"peerDependencies": {
|
|
111
112
|
"eslint": "^7 || ^8 || ^9"
|
|
112
113
|
},
|
|
113
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "6a99d22627f0e360fcfc5b98afa670464ec763f6"
|
|
114
115
|
}
|