eslint-config-decent 1.2.8 → 1.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/dist/index.cjs +1 -7
- package/dist/index.mjs +1 -7
- package/package.json +5 -6
- package/src/eslint.ts +1 -6
- package/src/index.ts +0 -1
package/dist/index.cjs
CHANGED
|
@@ -37,12 +37,7 @@ const base$8 = {
|
|
|
37
37
|
"array-callback-return": ["error", { allowImplicit: true }],
|
|
38
38
|
"block-scoped-var": "error",
|
|
39
39
|
"callback-return": ["error", ["callback", "cb", "next", "done"]],
|
|
40
|
-
"class-methods-use-this":
|
|
41
|
-
"error",
|
|
42
|
-
{
|
|
43
|
-
exceptMethods: []
|
|
44
|
-
}
|
|
45
|
-
],
|
|
40
|
+
"class-methods-use-this": "off",
|
|
46
41
|
"default-case": ["error", { commentPattern: "^no default$" }],
|
|
47
42
|
"default-case-last": "error",
|
|
48
43
|
eqeqeq: ["error", "smart"],
|
|
@@ -646,7 +641,6 @@ function defaultConfig(options) {
|
|
|
646
641
|
},
|
|
647
642
|
parserOptions: {
|
|
648
643
|
projectService: {
|
|
649
|
-
allowDefaultProject: ["./*.{js,cjs,mjs}"],
|
|
650
644
|
defaultProject: "tsconfig.json"
|
|
651
645
|
},
|
|
652
646
|
tsconfigRootDir: undefined,
|
package/dist/index.mjs
CHANGED
|
@@ -19,12 +19,7 @@ const base$8 = {
|
|
|
19
19
|
"array-callback-return": ["error", { allowImplicit: true }],
|
|
20
20
|
"block-scoped-var": "error",
|
|
21
21
|
"callback-return": ["error", ["callback", "cb", "next", "done"]],
|
|
22
|
-
"class-methods-use-this":
|
|
23
|
-
"error",
|
|
24
|
-
{
|
|
25
|
-
exceptMethods: []
|
|
26
|
-
}
|
|
27
|
-
],
|
|
22
|
+
"class-methods-use-this": "off",
|
|
28
23
|
"default-case": ["error", { commentPattern: "^no default$" }],
|
|
29
24
|
"default-case-last": "error",
|
|
30
25
|
eqeqeq: ["error", "smart"],
|
|
@@ -628,7 +623,6 @@ function defaultConfig(options) {
|
|
|
628
623
|
},
|
|
629
624
|
parserOptions: {
|
|
630
625
|
projectService: {
|
|
631
|
-
allowDefaultProject: ["./*.{js,cjs,mjs}"],
|
|
632
626
|
defaultProject: "tsconfig.json"
|
|
633
627
|
},
|
|
634
628
|
tsconfigRootDir: import.meta.dirname,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-decent",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "A decent ESLint configuration",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@eslint/js": "^9.6.0",
|
|
76
76
|
"eslint-config-prettier": "^9.1.0",
|
|
77
|
-
"eslint-plugin-jsdoc": "^48.5.
|
|
77
|
+
"eslint-plugin-jsdoc": "^48.5.2",
|
|
78
78
|
"eslint-plugin-mocha": "^10.4.3",
|
|
79
79
|
"eslint-plugin-prettier": "^5.1.3",
|
|
80
80
|
"eslint-plugin-promise": "^6.4.0",
|
|
@@ -84,11 +84,11 @@
|
|
|
84
84
|
"eslint-plugin-security": "^3.0.1",
|
|
85
85
|
"eslint-plugin-testing-library": "^6.2.2",
|
|
86
86
|
"eslint-plugin-unicorn": "^54.0.0",
|
|
87
|
-
"globals": "^15.
|
|
88
|
-
"typescript-eslint": "8.0.0-alpha.
|
|
87
|
+
"globals": "^15.8.0",
|
|
88
|
+
"typescript-eslint": "8.0.0-alpha.41"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
|
-
"@swc/core": "1.6.
|
|
91
|
+
"@swc/core": "1.6.13",
|
|
92
92
|
"@types/node": ">=20",
|
|
93
93
|
"eslint": "^9.6.0",
|
|
94
94
|
"husky": "^9.0.11",
|
|
@@ -97,7 +97,6 @@
|
|
|
97
97
|
"npm-run-all": "^4.1.5",
|
|
98
98
|
"pinst": "^3.0.0",
|
|
99
99
|
"prettier": "^3.3.2",
|
|
100
|
-
"rimraf": "^5.0.7",
|
|
101
100
|
"typescript": "^5.5.3",
|
|
102
101
|
"unbuild": "2.0.0"
|
|
103
102
|
},
|
package/src/eslint.ts
CHANGED
|
@@ -5,12 +5,7 @@ const base: ConfigWithExtends = {
|
|
|
5
5
|
'array-callback-return': ['error', { allowImplicit: true }],
|
|
6
6
|
'block-scoped-var': 'error',
|
|
7
7
|
'callback-return': ['error', ['callback', 'cb', 'next', 'done']],
|
|
8
|
-
'class-methods-use-this':
|
|
9
|
-
'error',
|
|
10
|
-
{
|
|
11
|
-
exceptMethods: [],
|
|
12
|
-
},
|
|
13
|
-
],
|
|
8
|
+
'class-methods-use-this': 'off',
|
|
14
9
|
'default-case': ['error', { commentPattern: '^no default$' }],
|
|
15
10
|
'default-case-last': 'error',
|
|
16
11
|
eqeqeq: ['error', 'smart'],
|
package/src/index.ts
CHANGED