@cspell/eslint-plugin 6.4.0 → 6.5.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/index.js +19 -25
- package/dist/index.mjs +19 -25
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @cspell/eslint-plugin v6.4.
|
|
2
|
+
* @cspell/eslint-plugin v6.4.2
|
|
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
|
|
@@ -97,28 +97,6 @@ function normalizeOptions(opts) {
|
|
|
97
97
|
var $schema = "http://json-schema.org/draft-07/schema#";
|
|
98
98
|
var additionalProperties = false;
|
|
99
99
|
var definitions = {
|
|
100
|
-
CustomWordListFile: {
|
|
101
|
-
additionalProperties: false,
|
|
102
|
-
properties: {
|
|
103
|
-
addWords: {
|
|
104
|
-
description: "**Experimental**: Provide a fix option to add words to the file.\n\nNote: this does not yet work perfectly.",
|
|
105
|
-
type: "boolean"
|
|
106
|
-
},
|
|
107
|
-
path: {
|
|
108
|
-
$ref: "#/definitions/CustomWordListFilePath",
|
|
109
|
-
description: "Path to word list file. File format: 1 word per line"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
required: [
|
|
113
|
-
"path",
|
|
114
|
-
"addWords"
|
|
115
|
-
],
|
|
116
|
-
type: "object"
|
|
117
|
-
},
|
|
118
|
-
CustomWordListFilePath: {
|
|
119
|
-
description: "Specify a path to a custom word list file",
|
|
120
|
-
type: "string"
|
|
121
|
-
}
|
|
122
100
|
};
|
|
123
101
|
var properties = {
|
|
124
102
|
checkComments: {
|
|
@@ -144,10 +122,26 @@ var properties = {
|
|
|
144
122
|
customWordListFile: {
|
|
145
123
|
anyOf: [
|
|
146
124
|
{
|
|
147
|
-
|
|
125
|
+
description: "Specify a path to a custom word list file",
|
|
126
|
+
type: "string"
|
|
148
127
|
},
|
|
149
128
|
{
|
|
150
|
-
|
|
129
|
+
additionalProperties: false,
|
|
130
|
+
properties: {
|
|
131
|
+
addWords: {
|
|
132
|
+
description: "**Experimental**: Provide a fix option to add words to the file.\n\nNote: this does not yet work perfectly.",
|
|
133
|
+
type: "boolean"
|
|
134
|
+
},
|
|
135
|
+
path: {
|
|
136
|
+
description: "Path to word list file. File format: 1 word per line",
|
|
137
|
+
type: "string"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
required: [
|
|
141
|
+
"path",
|
|
142
|
+
"addWords"
|
|
143
|
+
],
|
|
144
|
+
type: "object"
|
|
151
145
|
}
|
|
152
146
|
],
|
|
153
147
|
description: "Specify a path to a custom word list file"
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @cspell/eslint-plugin v6.4.
|
|
2
|
+
* @cspell/eslint-plugin v6.4.2
|
|
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
|
|
@@ -69,28 +69,6 @@ function normalizeOptions(opts) {
|
|
|
69
69
|
var $schema = "http://json-schema.org/draft-07/schema#";
|
|
70
70
|
var additionalProperties = false;
|
|
71
71
|
var definitions = {
|
|
72
|
-
CustomWordListFile: {
|
|
73
|
-
additionalProperties: false,
|
|
74
|
-
properties: {
|
|
75
|
-
addWords: {
|
|
76
|
-
description: "**Experimental**: Provide a fix option to add words to the file.\n\nNote: this does not yet work perfectly.",
|
|
77
|
-
type: "boolean"
|
|
78
|
-
},
|
|
79
|
-
path: {
|
|
80
|
-
$ref: "#/definitions/CustomWordListFilePath",
|
|
81
|
-
description: "Path to word list file. File format: 1 word per line"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
required: [
|
|
85
|
-
"path",
|
|
86
|
-
"addWords"
|
|
87
|
-
],
|
|
88
|
-
type: "object"
|
|
89
|
-
},
|
|
90
|
-
CustomWordListFilePath: {
|
|
91
|
-
description: "Specify a path to a custom word list file",
|
|
92
|
-
type: "string"
|
|
93
|
-
}
|
|
94
72
|
};
|
|
95
73
|
var properties = {
|
|
96
74
|
checkComments: {
|
|
@@ -116,10 +94,26 @@ var properties = {
|
|
|
116
94
|
customWordListFile: {
|
|
117
95
|
anyOf: [
|
|
118
96
|
{
|
|
119
|
-
|
|
97
|
+
description: "Specify a path to a custom word list file",
|
|
98
|
+
type: "string"
|
|
120
99
|
},
|
|
121
100
|
{
|
|
122
|
-
|
|
101
|
+
additionalProperties: false,
|
|
102
|
+
properties: {
|
|
103
|
+
addWords: {
|
|
104
|
+
description: "**Experimental**: Provide a fix option to add words to the file.\n\nNote: this does not yet work perfectly.",
|
|
105
|
+
type: "boolean"
|
|
106
|
+
},
|
|
107
|
+
path: {
|
|
108
|
+
description: "Path to word list file. File format: 1 word per line",
|
|
109
|
+
type: "string"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
required: [
|
|
113
|
+
"path",
|
|
114
|
+
"addWords"
|
|
115
|
+
],
|
|
116
|
+
type: "object"
|
|
123
117
|
}
|
|
124
118
|
],
|
|
125
119
|
description: "Specify a path to a custom word list file"
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "6.
|
|
6
|
+
"version": "6.5.0",
|
|
7
7
|
"description": "[WIP] CSpell ESLint plugin",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"cspell",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "npm run build-schema && npm run build-rollup",
|
|
37
37
|
"build-rollup": "rollup --config rollup.config.ts --configPlugin typescript",
|
|
38
|
-
"build-schema": "ts-json-schema-generator --no-top-ref --path src/options.ts --type Options -o ./src/_auto_generated_/options.schema.json",
|
|
38
|
+
"build-schema": "ts-json-schema-generator --no-top-ref --expose none --path src/options.ts --type Options -o ./src/_auto_generated_/options.schema.json",
|
|
39
39
|
"watch": "npm run build-rollup -- --watch",
|
|
40
40
|
"clean": "rimraf dist coverage .tsbuildinfo",
|
|
41
41
|
"clean-build": "npm run clean && npm run build",
|
|
@@ -60,19 +60,19 @@
|
|
|
60
60
|
"@rollup/plugin-typescript": "^8.3.3",
|
|
61
61
|
"@types/eslint": "^8.4.5",
|
|
62
62
|
"@types/estree": "^1.0.0",
|
|
63
|
-
"@types/node": "^18.
|
|
64
|
-
"@typescript-eslint/parser": "^5.
|
|
65
|
-
"@typescript-eslint/types": "^5.
|
|
66
|
-
"@typescript-eslint/typescript-estree": "^5.
|
|
63
|
+
"@types/node": "^18.6.1",
|
|
64
|
+
"@typescript-eslint/parser": "^5.31.0",
|
|
65
|
+
"@typescript-eslint/types": "^5.31.0",
|
|
66
|
+
"@typescript-eslint/typescript-estree": "^5.31.0",
|
|
67
67
|
"eslint": "^8.20.0",
|
|
68
68
|
"mocha": "^10.0.0",
|
|
69
69
|
"rimraf": "^3.0.2",
|
|
70
|
-
"rollup": "^2.77.
|
|
70
|
+
"rollup": "^2.77.1",
|
|
71
71
|
"rollup-plugin-dts": "^4.2.2",
|
|
72
72
|
"ts-json-schema-generator": "^1.0.0"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"cspell-lib": "^6.
|
|
75
|
+
"cspell-lib": "^6.5.0"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "65c80b01e17bb0d74b57ef8b29309684a8588e27"
|
|
78
78
|
}
|