@cspell/eslint-plugin 6.13.3 → 6.14.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/index.js +6 -12
- package/dist/index.mjs +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @cspell/eslint-plugin v6.
|
|
2
|
+
* @cspell/eslint-plugin v6.14.1
|
|
3
3
|
* Copyright 2022 Jason Dent <jason@streetsidesoftware.nl>
|
|
4
4
|
* Released under the MIT License
|
|
5
5
|
* https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-eslint-plugin#readme
|
|
@@ -7,18 +7,13 @@
|
|
|
7
7
|
|
|
8
8
|
'use strict';
|
|
9
9
|
|
|
10
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
|
-
|
|
12
10
|
var assert = require('assert');
|
|
13
11
|
var cspellLib = require('cspell-lib');
|
|
14
12
|
var path = require('path');
|
|
15
13
|
var util = require('util');
|
|
16
14
|
var fs = require('fs');
|
|
17
15
|
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
function _interopNamespace(e) {
|
|
21
|
-
if (e && e.__esModule) return e;
|
|
16
|
+
function _interopNamespaceDefault(e) {
|
|
22
17
|
var n = Object.create(null);
|
|
23
18
|
if (e) {
|
|
24
19
|
Object.keys(e).forEach(function (k) {
|
|
@@ -31,13 +26,12 @@ function _interopNamespace(e) {
|
|
|
31
26
|
}
|
|
32
27
|
});
|
|
33
28
|
}
|
|
34
|
-
n
|
|
29
|
+
n.default = e;
|
|
35
30
|
return Object.freeze(n);
|
|
36
31
|
}
|
|
37
32
|
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var fs__namespace = /*#__PURE__*/_interopNamespace(fs);
|
|
33
|
+
var path__namespace = /*#__PURE__*/_interopNamespaceDefault(path);
|
|
34
|
+
var fs__namespace = /*#__PURE__*/_interopNamespaceDefault(fs);
|
|
41
35
|
|
|
42
36
|
const sortFn = new Intl.Collator().compare;
|
|
43
37
|
function addWordToCustomWordList(customWordListPath, word) {
|
|
@@ -508,7 +502,7 @@ function create(context) {
|
|
|
508
502
|
}
|
|
509
503
|
function tagLiteral(node) {
|
|
510
504
|
var _a;
|
|
511
|
-
|
|
505
|
+
assert(node.type === 'Literal');
|
|
512
506
|
const kind = typeof node.value;
|
|
513
507
|
const extra = kind === 'string'
|
|
514
508
|
? ((_a = node.raw) === null || _a === void 0 ? void 0 : _a[0]) === '"'
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "6.
|
|
6
|
+
"version": "6.14.1",
|
|
7
7
|
"description": "CSpell ESLint plugin",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"cspell",
|
|
@@ -58,22 +58,22 @@
|
|
|
58
58
|
"@rollup/plugin-json": "^5.0.1",
|
|
59
59
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
60
60
|
"@rollup/plugin-typescript": "^9.0.2",
|
|
61
|
-
"@types/eslint": "^8.4.
|
|
61
|
+
"@types/eslint": "^8.4.10",
|
|
62
62
|
"@types/estree": "^1.0.0",
|
|
63
|
-
"@types/node": "^18.11.
|
|
64
|
-
"@typescript-eslint/parser": "^5.
|
|
65
|
-
"@typescript-eslint/types": "^5.
|
|
66
|
-
"@typescript-eslint/typescript-estree": "^5.
|
|
67
|
-
"eslint": "^8.
|
|
63
|
+
"@types/node": "^18.11.9",
|
|
64
|
+
"@typescript-eslint/parser": "^5.42.0",
|
|
65
|
+
"@typescript-eslint/types": "^5.42.0",
|
|
66
|
+
"@typescript-eslint/typescript-estree": "^5.42.0",
|
|
67
|
+
"eslint": "^8.27.0",
|
|
68
68
|
"eslint-plugin-react": "^7.31.10",
|
|
69
69
|
"mocha": "^10.1.0",
|
|
70
70
|
"rimraf": "^3.0.2",
|
|
71
|
-
"rollup": "^2.
|
|
71
|
+
"rollup": "^3.2.5",
|
|
72
72
|
"rollup-plugin-dts": "^5.0.0",
|
|
73
73
|
"ts-json-schema-generator": "^1.1.2"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"cspell-lib": "6.
|
|
76
|
+
"cspell-lib": "6.14.1"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "35db1ed216cd9aaf479429d3268482f30d824e70"
|
|
79
79
|
}
|