@egy186/eslint-config 3.2.0 → 3.2.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/dist/base.d.ts +3 -1
- package/dist/browser.d.ts +3 -1
- package/dist/commonjs.d.ts +3 -1
- package/dist/rules/stylistic-rules.d.ts +3 -1
- package/dist/rules/stylistic-rules.js +1 -1
- package/dist/typescript.d.ts +2 -2
- package/package.json +16 -13
package/dist/base.d.ts
CHANGED
|
@@ -300,7 +300,9 @@ declare const config: {
|
|
|
300
300
|
readonly '@stylistic/padded-blocks': ["error", "never"];
|
|
301
301
|
readonly '@stylistic/padding-line-between-statements': "error";
|
|
302
302
|
readonly '@stylistic/quote-props': ["error", "as-needed"];
|
|
303
|
-
readonly '@stylistic/quotes': ["error", "single",
|
|
303
|
+
readonly '@stylistic/quotes': ["error", "single", {
|
|
304
|
+
readonly avoidEscape: true;
|
|
305
|
+
}];
|
|
304
306
|
readonly '@stylistic/rest-spread-spacing': ["error", "never"];
|
|
305
307
|
readonly '@stylistic/semi': ["error", "always"];
|
|
306
308
|
readonly '@stylistic/semi-spacing': ["error", {
|
package/dist/browser.d.ts
CHANGED
|
@@ -1335,7 +1335,9 @@ declare const config: {
|
|
|
1335
1335
|
readonly '@stylistic/padded-blocks': ["error", "never"];
|
|
1336
1336
|
readonly '@stylistic/padding-line-between-statements': "error";
|
|
1337
1337
|
readonly '@stylistic/quote-props': ["error", "as-needed"];
|
|
1338
|
-
readonly '@stylistic/quotes': ["error", "single",
|
|
1338
|
+
readonly '@stylistic/quotes': ["error", "single", {
|
|
1339
|
+
readonly avoidEscape: true;
|
|
1340
|
+
}];
|
|
1339
1341
|
readonly '@stylistic/rest-spread-spacing': ["error", "never"];
|
|
1340
1342
|
readonly '@stylistic/semi': ["error", "always"];
|
|
1341
1343
|
readonly '@stylistic/semi-spacing': ["error", {
|
package/dist/commonjs.d.ts
CHANGED
|
@@ -254,7 +254,9 @@ declare const config: {
|
|
|
254
254
|
readonly '@stylistic/padded-blocks': ["error", "never"];
|
|
255
255
|
readonly '@stylistic/padding-line-between-statements': "error";
|
|
256
256
|
readonly '@stylistic/quote-props': ["error", "as-needed"];
|
|
257
|
-
readonly '@stylistic/quotes': ["error", "single",
|
|
257
|
+
readonly '@stylistic/quotes': ["error", "single", {
|
|
258
|
+
readonly avoidEscape: true;
|
|
259
|
+
}];
|
|
258
260
|
readonly '@stylistic/rest-spread-spacing': ["error", "never"];
|
|
259
261
|
readonly '@stylistic/semi': ["error", "always"];
|
|
260
262
|
readonly '@stylistic/semi-spacing': ["error", {
|
|
@@ -107,7 +107,9 @@ declare const rules: {
|
|
|
107
107
|
readonly '@stylistic/padded-blocks': ["error", "never"];
|
|
108
108
|
readonly '@stylistic/padding-line-between-statements': "error";
|
|
109
109
|
readonly '@stylistic/quote-props': ["error", "as-needed"];
|
|
110
|
-
readonly '@stylistic/quotes': ["error", "single",
|
|
110
|
+
readonly '@stylistic/quotes': ["error", "single", {
|
|
111
|
+
readonly avoidEscape: true;
|
|
112
|
+
}];
|
|
111
113
|
readonly '@stylistic/rest-spread-spacing': ["error", "never"];
|
|
112
114
|
readonly '@stylistic/semi': ["error", "always"];
|
|
113
115
|
readonly '@stylistic/semi-spacing': ["error", {
|
package/dist/typescript.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ESLint, Linter } from 'eslint';
|
|
2
|
-
import type {
|
|
3
|
-
type ParserOptions = NonNullable<(NonNullable<
|
|
2
|
+
import type { ConfigArray } from 'typescript-eslint';
|
|
3
|
+
type ParserOptions = NonNullable<(NonNullable<ConfigArray[number]['languageOptions']>)['parserOptions']>;
|
|
4
4
|
declare const config: {
|
|
5
5
|
readonly files: ["**/*.{ts,tsx,mts,cts}"];
|
|
6
6
|
readonly languageOptions: {
|
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egy186/eslint-config",
|
|
3
3
|
"description": "Eslint shareable config",
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.2",
|
|
5
5
|
"author": "egy186",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/egy186/eslint-config/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@stylistic/eslint-plugin": "~5.
|
|
10
|
+
"@stylistic/eslint-plugin": "~5.2.3",
|
|
11
11
|
"eslint-plugin-import": "~2.32.0",
|
|
12
|
-
"eslint-plugin-jsdoc": "~
|
|
13
|
-
"eslint-plugin-n": "~17.
|
|
12
|
+
"eslint-plugin-jsdoc": "~54.1.1",
|
|
13
|
+
"eslint-plugin-n": "~17.21.3",
|
|
14
14
|
"globals": "^16.3.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@eslint/js": "~9.
|
|
18
|
-
"@types/node": "^24.0
|
|
17
|
+
"@eslint/js": "~9.33.0",
|
|
18
|
+
"@types/node": "^24.3.0",
|
|
19
19
|
"@vitest/eslint-plugin": "~1.3.4",
|
|
20
|
-
"eslint": "~9.
|
|
20
|
+
"eslint": "~9.33.0",
|
|
21
21
|
"eslint-import-resolver-typescript": "~4.4.4",
|
|
22
22
|
"eslint-plugin-jest": "~29.0.1",
|
|
23
23
|
"eslint-plugin-react": "~7.37.5",
|
|
24
24
|
"eslint-plugin-react-hooks": "~5.2.0",
|
|
25
25
|
"husky": "^9.1.7",
|
|
26
|
-
"jiti": "^2.
|
|
27
|
-
"typescript": "~5.
|
|
28
|
-
"typescript-eslint": "~8.
|
|
26
|
+
"jiti": "^2.5.1",
|
|
27
|
+
"typescript": "~5.9.2",
|
|
28
|
+
"typescript-eslint": "~8.40.0"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=20.19.2"
|
|
@@ -53,7 +53,10 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"files": [
|
|
56
|
-
"dist"
|
|
56
|
+
"dist",
|
|
57
|
+
"!dist/test-utils",
|
|
58
|
+
"!dist/**/*.test.js",
|
|
59
|
+
"!dist/**/*.test.d.ts"
|
|
57
60
|
],
|
|
58
61
|
"homepage": "https://github.com/egy186/eslint-config#readme",
|
|
59
62
|
"keywords": [
|
|
@@ -107,8 +110,8 @@
|
|
|
107
110
|
"clean": "npm run build -- --clean",
|
|
108
111
|
"lint": "eslint",
|
|
109
112
|
"prepare": "husky",
|
|
110
|
-
"
|
|
111
|
-
"
|
|
113
|
+
"pretest": "npm run build",
|
|
114
|
+
"test": "node --test **/*.test.js"
|
|
112
115
|
},
|
|
113
116
|
"type": "module",
|
|
114
117
|
"types": "./dist/index.d.ts"
|