gulp-eslint-new 2.6.0 → 2.6.2
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/README.md +5 -1
- package/lib/gulp-eslint-new.d.ts +2 -2
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -141,6 +141,10 @@ See the linked content for details about each option.
|
|
|
141
141
|
* [`quiet`](#optionsquiet)
|
|
142
142
|
* [`warnIgnored`](#optionswarnignored)
|
|
143
143
|
|
|
144
|
+
**Suppressions options**
|
|
145
|
+
* [`applySuppressions`][linting options] (ESLint ≥ v10.1)
|
|
146
|
+
* [`suppressionsLocation`][linting options] (ESLint ≥ v10.1)
|
|
147
|
+
|
|
144
148
|
**Other options**
|
|
145
149
|
* [`flags`][other options]
|
|
146
150
|
|
|
@@ -150,7 +154,7 @@ See the linked content for details about each option.
|
|
|
150
154
|
|
|
151
155
|
Type: `"eslintrc" | "flat" | null`
|
|
152
156
|
|
|
153
|
-
ESLint supports two configuration formats: a [new config](https://eslint.org/docs/user-guide/configure/configuration-files) type, aka flat config, based on file `eslint.config.*`, and a [legacy config](https://eslint.org/docs/
|
|
157
|
+
ESLint supports two configuration formats: a [new config](https://eslint.org/docs/user-guide/configure/configuration-files) type, aka flat config, based on file `eslint.config.*`, and a [legacy config](https://eslint.org/docs/v9.x/use/configure/configuration-files-deprecated) type, or eslintrc config, based on file `.eslintrc`.
|
|
154
158
|
|
|
155
159
|
* **ESLint 8**: Uses the legacy config by default. Flat config is partially supported depending on the version. In gulp-eslint-new, set `configType: "flat"` to enable flat config.
|
|
156
160
|
* **ESLint 9**: Uses flat config by default. To use legacy config in gulp-eslint-new, set `configType: "eslintrc"`.
|
package/lib/gulp-eslint-new.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ declare namespace gulpESLintNew
|
|
|
92
92
|
formatEach
|
|
93
93
|
(
|
|
94
94
|
formatter?: string | LoadedFormatter | FormatterFunction,
|
|
95
|
-
writer?: Writer | NodeJS.WritableStream
|
|
95
|
+
writer?: Writer | NodeJS.WritableStream,
|
|
96
96
|
):
|
|
97
97
|
NodeJS.ReadWriteStream;
|
|
98
98
|
|
|
@@ -111,7 +111,7 @@ declare namespace gulpESLintNew
|
|
|
111
111
|
format
|
|
112
112
|
(
|
|
113
113
|
formatter?: string | LoadedFormatter | FormatterFunction,
|
|
114
|
-
writer?: Writer | NodeJS.WritableStream
|
|
114
|
+
writer?: Writer | NodeJS.WritableStream,
|
|
115
115
|
):
|
|
116
116
|
NodeJS.ReadWriteStream;
|
|
117
117
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gulp-eslint-new",
|
|
3
|
-
"version": "2.6.
|
|
4
|
-
"description": "A gulp plugin to lint code with ESLint 8 and
|
|
3
|
+
"version": "2.6.2",
|
|
4
|
+
"description": "A gulp plugin to lint code with ESLint 8, 9 and 10.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gulpplugin",
|
|
7
7
|
"eslint",
|
|
@@ -45,16 +45,17 @@
|
|
|
45
45
|
"eslint": "8 || 9 || 10",
|
|
46
46
|
"fancy-log": "^2.0.0",
|
|
47
47
|
"plugin-error": "^2.0.1",
|
|
48
|
-
"semver": "^7.7.
|
|
48
|
+
"semver": "^7.7.4",
|
|
49
49
|
"ternary-stream": "^3.0.0",
|
|
50
50
|
"vinyl-fs": "^4.0.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@eslint/js": "^8.57.1",
|
|
54
|
-
"@origin-1/eslint-config": "^1.
|
|
54
|
+
"@origin-1/eslint-config": "^1.15.0",
|
|
55
55
|
"@types/eslint__js": "^8.42.3",
|
|
56
|
-
"c8js": "^0.
|
|
57
|
-
"eslint-10.0": "npm:eslint@10.0
|
|
56
|
+
"c8js": "^0.9.1",
|
|
57
|
+
"eslint-10.0": "npm:eslint@10.0",
|
|
58
|
+
"eslint-10.x": "npm:eslint@10.x",
|
|
58
59
|
"eslint-8.0": "npm:eslint@8.0",
|
|
59
60
|
"eslint-8.21": "npm:eslint@8.21",
|
|
60
61
|
"eslint-8.x": "npm:eslint@8.x",
|
|
@@ -63,8 +64,8 @@
|
|
|
63
64
|
"eslint-config-~shareable": "file:test/config",
|
|
64
65
|
"eslint-formatter-~formatter": "file:test/formatter",
|
|
65
66
|
"eslint-formatter-compact": "^9.0.1",
|
|
66
|
-
"eslint-plugin-tsdoc": "^0.5.
|
|
67
|
-
"globals": "^17.
|
|
67
|
+
"eslint-plugin-tsdoc": "^0.5.2",
|
|
68
|
+
"globals": "^17.4.0",
|
|
68
69
|
"gulp": "^5.0.1",
|
|
69
70
|
"jiti": "^2.6.1",
|
|
70
71
|
"mocha": "^9.2.2",
|