@egy186/eslint-config 2.0.0 → 2.0.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 +1 -3
- package/dist/base.js +1 -3
- package/dist/browser.d.ts +1 -3
- package/dist/commonjs.d.ts +1 -3
- package/package.json +3 -3
package/dist/base.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { ESLint, Linter } from 'eslint';
|
|
|
2
2
|
declare const config: {
|
|
3
3
|
readonly files: ["**/*.{js,jsx,mjs}", "**/*.{ts,tsx,mts}"];
|
|
4
4
|
readonly languageOptions: {
|
|
5
|
+
readonly ecmaVersion: 2023;
|
|
5
6
|
readonly globals: {
|
|
6
7
|
readonly __dirname: false;
|
|
7
8
|
readonly __filename: false;
|
|
@@ -138,9 +139,6 @@ declare const config: {
|
|
|
138
139
|
readonly WeakRef: false;
|
|
139
140
|
readonly WeakSet: false;
|
|
140
141
|
};
|
|
141
|
-
readonly parserOptions: {
|
|
142
|
-
readonly ecmaVersion: 2023;
|
|
143
|
-
};
|
|
144
142
|
readonly sourceType: "module";
|
|
145
143
|
};
|
|
146
144
|
readonly linterOptions: {
|
package/dist/base.js
CHANGED
|
@@ -13,13 +13,11 @@ import stylisticRules from './rules/stylistic-rules.js';
|
|
|
13
13
|
const config = {
|
|
14
14
|
files: ['**/*.{js,jsx,mjs}', '**/*.{ts,tsx,mts}'],
|
|
15
15
|
languageOptions: {
|
|
16
|
+
ecmaVersion: 2023,
|
|
16
17
|
globals: {
|
|
17
18
|
...globals.es2023,
|
|
18
19
|
...globals.node
|
|
19
20
|
},
|
|
20
|
-
parserOptions: {
|
|
21
|
-
ecmaVersion: 2023
|
|
22
|
-
},
|
|
23
21
|
sourceType: 'module'
|
|
24
22
|
},
|
|
25
23
|
linterOptions: {
|
package/dist/browser.d.ts
CHANGED
|
@@ -1187,9 +1187,7 @@ declare const config: {
|
|
|
1187
1187
|
readonly WeakRef: false;
|
|
1188
1188
|
readonly WeakSet: false;
|
|
1189
1189
|
};
|
|
1190
|
-
readonly
|
|
1191
|
-
readonly ecmaVersion: 2023;
|
|
1192
|
-
};
|
|
1190
|
+
readonly ecmaVersion: 2023;
|
|
1193
1191
|
readonly sourceType: "module";
|
|
1194
1192
|
};
|
|
1195
1193
|
readonly rules: {
|
package/dist/commonjs.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ declare const config: {
|
|
|
3
3
|
readonly files: ["**/*.{cjs,cts}"];
|
|
4
4
|
readonly languageOptions: {
|
|
5
5
|
readonly sourceType: "commonjs";
|
|
6
|
+
readonly ecmaVersion: 2023;
|
|
6
7
|
readonly globals: {
|
|
7
8
|
readonly __dirname: false;
|
|
8
9
|
readonly __filename: false;
|
|
@@ -139,9 +140,6 @@ declare const config: {
|
|
|
139
140
|
readonly WeakRef: false;
|
|
140
141
|
readonly WeakSet: false;
|
|
141
142
|
};
|
|
142
|
-
readonly parserOptions: {
|
|
143
|
-
readonly ecmaVersion: 2023;
|
|
144
|
-
};
|
|
145
143
|
};
|
|
146
144
|
readonly rules: {
|
|
147
145
|
readonly '@stylistic/array-bracket-newline': "error";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egy186/eslint-config",
|
|
3
3
|
"description": "Eslint shareable config",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.2",
|
|
5
5
|
"author": "egy186",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/egy186/eslint-config/issues"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"eslint-import-resolver-typescript": "~3.6.3",
|
|
24
24
|
"eslint-plugin-jest": "~28.8.3",
|
|
25
25
|
"eslint-plugin-react": "~7.37.1",
|
|
26
|
-
"eslint-plugin-react-hooks": "~5.
|
|
26
|
+
"eslint-plugin-react-hooks": "~5.0.0",
|
|
27
27
|
"husky": "^9.1.6",
|
|
28
28
|
"jiti": "^2.3.3",
|
|
29
29
|
"typescript": "~5.5.4",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
66
66
|
"eslint-plugin-jest": "^28.8.3",
|
|
67
67
|
"eslint-plugin-react": "^7.36.1",
|
|
68
|
-
"eslint-plugin-react-hooks": "^5.
|
|
68
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
69
69
|
"typescript": "^5.0.4",
|
|
70
70
|
"typescript-eslint": "^8.5.0"
|
|
71
71
|
},
|