@egy186/eslint-config 0.106.0 → 0.108.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.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ declare const config: {
|
|
|
60
60
|
'@stylistic/jsx-max-props-per-line': "error";
|
|
61
61
|
'@stylistic/jsx-newline': "off";
|
|
62
62
|
'@stylistic/jsx-one-expression-per-line': "error";
|
|
63
|
+
'@stylistic/jsx-pascal-case': "error";
|
|
63
64
|
'@stylistic/jsx-props-no-multi-spaces': "error";
|
|
64
65
|
'@stylistic/jsx-quotes': ["error", string];
|
|
65
66
|
'@stylistic/jsx-self-closing-comp': "error";
|
|
@@ -50,6 +50,7 @@ declare const rules: {
|
|
|
50
50
|
'@stylistic/jsx-max-props-per-line': "error";
|
|
51
51
|
'@stylistic/jsx-newline': "off";
|
|
52
52
|
'@stylistic/jsx-one-expression-per-line': "error";
|
|
53
|
+
'@stylistic/jsx-pascal-case': "error";
|
|
53
54
|
'@stylistic/jsx-props-no-multi-spaces': "error";
|
|
54
55
|
'@stylistic/jsx-quotes': ["error", string];
|
|
55
56
|
'@stylistic/jsx-self-closing-comp': "error";
|
|
@@ -73,6 +73,7 @@ const rules = {
|
|
|
73
73
|
'@stylistic/jsx-max-props-per-line': 'error',
|
|
74
74
|
'@stylistic/jsx-newline': 'off',
|
|
75
75
|
'@stylistic/jsx-one-expression-per-line': 'error',
|
|
76
|
+
'@stylistic/jsx-pascal-case': 'error',
|
|
76
77
|
'@stylistic/jsx-props-no-multi-spaces': 'error',
|
|
77
78
|
'@stylistic/jsx-quotes': ['error', 'prefer-double'],
|
|
78
79
|
'@stylistic/jsx-self-closing-comp': 'error',
|
package/dist/typescript.d.ts
CHANGED
|
@@ -126,6 +126,7 @@ declare const config: {
|
|
|
126
126
|
'@typescript-eslint/prefer-as-const': "error";
|
|
127
127
|
'@typescript-eslint/prefer-destructuring': "error";
|
|
128
128
|
'@typescript-eslint/prefer-enum-initializers': "error";
|
|
129
|
+
'@typescript-eslint/prefer-find': "error";
|
|
129
130
|
'@typescript-eslint/prefer-for-of': "error";
|
|
130
131
|
'@typescript-eslint/prefer-function-type': "off";
|
|
131
132
|
'@typescript-eslint/prefer-includes': "error";
|
package/dist/typescript.js
CHANGED
|
@@ -131,6 +131,7 @@ const config = {
|
|
|
131
131
|
'@typescript-eslint/prefer-as-const': 'error',
|
|
132
132
|
'@typescript-eslint/prefer-destructuring': 'error',
|
|
133
133
|
'@typescript-eslint/prefer-enum-initializers': 'error',
|
|
134
|
+
'@typescript-eslint/prefer-find': 'error',
|
|
134
135
|
'@typescript-eslint/prefer-for-of': 'error',
|
|
135
136
|
'@typescript-eslint/prefer-function-type': 'off',
|
|
136
137
|
'@typescript-eslint/prefer-includes': 'error',
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egy186/eslint-config",
|
|
3
3
|
"description": "Eslint shareable config",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.108.0",
|
|
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": "~1.
|
|
10
|
+
"@stylistic/eslint-plugin": "~1.6.0",
|
|
11
11
|
"eslint-plugin-import": "~2.29.1",
|
|
12
|
-
"eslint-plugin-jsdoc": "~48.0
|
|
12
|
+
"eslint-plugin-jsdoc": "~48.1.0",
|
|
13
13
|
"eslint-plugin-n": "~16.6.2"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@eslint-stylistic/metadata": "~1.
|
|
16
|
+
"@eslint-stylistic/metadata": "~1.6.0",
|
|
17
17
|
"@types/eslint": "^8.56.2",
|
|
18
18
|
"@types/node": "^20.11.5",
|
|
19
|
-
"@typescript-eslint/eslint-plugin": "~
|
|
20
|
-
"@typescript-eslint/parser": "~
|
|
19
|
+
"@typescript-eslint/eslint-plugin": "~7.0.1",
|
|
20
|
+
"@typescript-eslint/parser": "~7.0.1",
|
|
21
21
|
"eslint": "~8.56.0",
|
|
22
22
|
"eslint-import-resolver-typescript": "~3.6.1",
|
|
23
|
-
"eslint-plugin-jest": "~27.
|
|
23
|
+
"eslint-plugin-jest": "~27.8.0",
|
|
24
24
|
"eslint-plugin-react": "~7.33.2",
|
|
25
25
|
"eslint-plugin-react-hooks": "~4.6.0",
|
|
26
|
-
"husky": "^
|
|
26
|
+
"husky": "^9.0.7",
|
|
27
27
|
"jiti": "^1.21.0",
|
|
28
28
|
"typescript": "~5.3.3"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
|
-
"node": ">=
|
|
31
|
+
"node": ">=18.18.0"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"dist",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"license": "MIT",
|
|
48
48
|
"main": "index.js",
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
51
|
-
"@typescript-eslint/parser": "^
|
|
50
|
+
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
|
51
|
+
"@typescript-eslint/parser": "^7.0.1",
|
|
52
52
|
"eslint": "^8.50.0",
|
|
53
53
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
54
|
-
"eslint-plugin-jest": "^27.
|
|
54
|
+
"eslint-plugin-jest": "^27.7.0",
|
|
55
55
|
"eslint-plugin-react": "^7.32.0",
|
|
56
56
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
57
57
|
"typescript": "^5.0.4"
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
"scripts": {
|
|
87
87
|
"build": "tsc --build",
|
|
88
88
|
"clean": "npm run build -- --clean",
|
|
89
|
-
"husky": "husky install",
|
|
90
89
|
"lint": "eslint --ext .js,.ts .",
|
|
90
|
+
"prepare": "husky",
|
|
91
91
|
"test": "jiti test/test.ts",
|
|
92
92
|
"typecheck": "tsc --project tsconfig.base.json --noEmit"
|
|
93
93
|
}
|