@sequencemedia/eslint-config-standard 0.2.132 → 0.3.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/README.md +6 -1
- package/configs/standard.mjs +2 -2
- package/package.json +9 -5
- package/plugins.d.mts +0 -20
package/README.md
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
# `@sequencemedia/eslint-config-standard`
|
|
2
2
|
|
|
3
|
-
Standard style Flat Config for ESLint `v9`
|
|
3
|
+
Standard style Flat Config for ESLint `v9` and `v10`
|
|
4
4
|
|
|
5
5
|
Based on [Standard](https://github.com/standard/eslint-config-standard) via [neostandard](https://github.com/neostandard/neostandard)
|
|
6
6
|
|
|
7
|
+
## Requirements
|
|
8
|
+
|
|
9
|
+
- ESLint `^9.38.0 || ^10.0.0`
|
|
10
|
+
- Node.js `^20.19.0 || ^22.13.0 || >=24`
|
|
11
|
+
|
|
7
12
|
## Install
|
|
8
13
|
|
|
9
14
|
```shell
|
package/configs/standard.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import n from 'eslint-plugin-n'
|
|
2
2
|
import p from 'eslint-plugin-promise'
|
|
3
|
-
import i from 'eslint-plugin-import'
|
|
3
|
+
import i from 'eslint-plugin-import-x'
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
6
|
name: '@sequencemedia/eslint-config-standard/standard',
|
|
@@ -260,7 +260,7 @@ export default {
|
|
|
260
260
|
*/
|
|
261
261
|
'promise/param-names': 'error',
|
|
262
262
|
/**
|
|
263
|
-
* `eslint-plugin-import`
|
|
263
|
+
* `eslint-plugin-import-x`
|
|
264
264
|
*/
|
|
265
265
|
'import/export': 'error',
|
|
266
266
|
'import/first': 'error',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sequencemedia/eslint-config-standard",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Standard configuration for ESLint 9",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Standard configuration for ESLint 9 and 10",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"JavaScript Standard Style",
|
|
7
7
|
"check",
|
|
@@ -36,6 +36,9 @@
|
|
|
36
36
|
"url": "https://sequencemedia.net"
|
|
37
37
|
},
|
|
38
38
|
"license": "ISC",
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": "^20.19.0 || ^22.13.0 || >=24"
|
|
41
|
+
},
|
|
39
42
|
"repository": {
|
|
40
43
|
"type": "git",
|
|
41
44
|
"url": "git+ssh://git@github.com/sequencemedia/eslint-config-standard.git"
|
|
@@ -53,7 +56,8 @@
|
|
|
53
56
|
"dependencies": {
|
|
54
57
|
"@sequencemedia/eslint-merge": "^0.0.95",
|
|
55
58
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
56
|
-
"eslint
|
|
59
|
+
"@typescript-eslint/utils": "^8.71.2",
|
|
60
|
+
"eslint-plugin-import-x": "^4.18.0",
|
|
57
61
|
"eslint-plugin-n": "^18.4.1",
|
|
58
62
|
"eslint-plugin-promise": "^7.3.0",
|
|
59
63
|
"globals": "^17.13.0"
|
|
@@ -63,12 +67,12 @@
|
|
|
63
67
|
"@types/eslint": "^9.6.1",
|
|
64
68
|
"@types/mocha": "^10.0.10",
|
|
65
69
|
"chai": "^6.3.0",
|
|
66
|
-
"eslint": "
|
|
70
|
+
"eslint": "10.14.0",
|
|
67
71
|
"husky": "^9.1.7",
|
|
68
72
|
"mocha": "^12.0.3"
|
|
69
73
|
},
|
|
70
74
|
"peerDependencies": {
|
|
71
|
-
"eslint": "
|
|
75
|
+
"eslint": "^9.38.0 || ^10.0.0"
|
|
72
76
|
},
|
|
73
77
|
"imports": {
|
|
74
78
|
"#eslint-config-standard": "./index.mjs",
|
package/plugins.d.mts
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
declare module 'eslint-plugin-eslint-comments' {
|
|
2
|
-
import type {
|
|
3
|
-
TSESLint as Linter
|
|
4
|
-
} from '@typescript-eslint/utils'
|
|
5
|
-
|
|
6
|
-
const plugin: Linter.FlatConfig.Plugin
|
|
7
|
-
|
|
8
|
-
export default plugin
|
|
9
|
-
}
|
|
10
|
-
|
|
11
1
|
declare module 'eslint-plugin-n' {
|
|
12
2
|
import type {
|
|
13
3
|
TSESLint as Linter
|
|
@@ -18,16 +8,6 @@ declare module 'eslint-plugin-n' {
|
|
|
18
8
|
export default plugin
|
|
19
9
|
}
|
|
20
10
|
|
|
21
|
-
declare module 'eslint-plugin-import' {
|
|
22
|
-
import type {
|
|
23
|
-
TSESLint as Linter
|
|
24
|
-
} from '@typescript-eslint/utils'
|
|
25
|
-
|
|
26
|
-
const plugin: Linter.FlatConfig.Plugin
|
|
27
|
-
|
|
28
|
-
export default plugin
|
|
29
|
-
}
|
|
30
|
-
|
|
31
11
|
declare module 'eslint-plugin-promise' {
|
|
32
12
|
import type {
|
|
33
13
|
TSESLint as Linter
|