@snowyyd/eslint-config 2.1.0 → 2.2.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/personal.js
CHANGED
|
@@ -41,6 +41,7 @@ export default (plugin, parser) => [
|
|
|
41
41
|
'no-param-reassign': 'off',
|
|
42
42
|
'no-plusplus': 'off',
|
|
43
43
|
'no-continue': 'off',
|
|
44
|
+
'no-cond-assign': ['error', 'except-parens'],
|
|
44
45
|
'no-restricted-globals': shared.rules['no-restricted-globals'],
|
|
45
46
|
'no-restricted-properties': 'off',
|
|
46
47
|
'no-restricted-syntax': [
|
|
@@ -97,7 +97,8 @@ declare const _default: {
|
|
|
97
97
|
"no-webpack-loader-syntax": import("@typescript-eslint/utils/ts-eslint").RuleModule<"unexpected", [], import("eslint-plugin-import-x/utils").ImportXPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
98
98
|
order: import("@typescript-eslint/utils/ts-eslint").RuleModule<"error" | "order" | "noLineWithinGroup" | "noLineBetweenGroups" | "oneLineBetweenGroups" | "oneLineBetweenTheMultiLineImport" | "oneLineBetweenThisMultiLineImport" | "noLineBetweenSingleLineImport", [(import("eslint-plugin-import-x/rules/order").Options | undefined)?], import("eslint-plugin-import-x/utils").ImportXPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
99
99
|
"newline-after-import": import("@typescript-eslint/utils/ts-eslint").RuleModule<"newline", [(import("eslint-plugin-import-x/rules/newline-after-import").Options | undefined)?], import("eslint-plugin-import-x/utils").ImportXPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
100
|
-
"prefer-default-export": import("@typescript-eslint/utils/ts-eslint").RuleModule<"
|
|
100
|
+
"prefer-default-export": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("eslint-plugin-import-x/rules/prefer-default-export").MessageId, [(import("eslint-plugin-import-x/rules/prefer-default-export").Options | undefined)?], import("eslint-plugin-import-x/utils").ImportXPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
101
|
+
"prefer-namespace-import": import("@typescript-eslint/utils/ts-eslint").RuleModule<"preferNamespaceImport", [(import("eslint-plugin-import-x/rules/prefer-namespace-import").Options | undefined)?], import("eslint-plugin-import-x/utils").ImportXPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
101
102
|
"no-default-export": import("@typescript-eslint/utils/ts-eslint").RuleModule<"preferNamed" | "noAliasDefault", [], import("eslint-plugin-import-x/utils").ImportXPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
102
103
|
"no-named-export": import("@typescript-eslint/utils/ts-eslint").RuleModule<"noAllowed", [], import("eslint-plugin-import-x/utils").ImportXPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
103
104
|
"no-dynamic-require": import("@typescript-eslint/utils/ts-eslint").RuleModule<import("eslint-plugin-import-x/rules/no-dynamic-require").MessageId, [(import("eslint-plugin-import-x/rules/no-dynamic-require").Options | undefined)?], import("eslint-plugin-import-x/utils").ImportXPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
@@ -57,7 +57,7 @@ declare const _default: {
|
|
|
57
57
|
'consistent-this': "off";
|
|
58
58
|
'@stylistic/eol-last': ["error", string];
|
|
59
59
|
'@stylistic/function-call-argument-newline': ["error", string];
|
|
60
|
-
'@stylistic/
|
|
60
|
+
'@stylistic/function-call-spacing': ["error", string];
|
|
61
61
|
'func-name-matching': ["off", string, {
|
|
62
62
|
includeCommonJSModuleExports: boolean;
|
|
63
63
|
considerPropertyDescriptor: boolean;
|
|
@@ -48,7 +48,7 @@ export default {
|
|
|
48
48
|
'consistent-this': 'off',
|
|
49
49
|
'@stylistic/eol-last': ['error', 'always'],
|
|
50
50
|
'@stylistic/function-call-argument-newline': ['error', 'consistent'],
|
|
51
|
-
'@stylistic/
|
|
51
|
+
'@stylistic/function-call-spacing': ['error', 'never'],
|
|
52
52
|
'func-name-matching': ['off', 'always', {
|
|
53
53
|
includeCommonJSModuleExports: false,
|
|
54
54
|
considerPropertyDescriptor: true,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snowyyd/eslint-config",
|
|
3
3
|
"description": "Personal TypeScript ESLint configs",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/snowyyd/eslint-config-x#readme",
|
|
7
7
|
"repository": "https://github.com/snowyyd/eslint-config-x.git",
|
|
@@ -14,32 +14,32 @@
|
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@eslint/config-inspector": "^1.1.0",
|
|
17
|
-
"@eslint/js": "^9.
|
|
18
|
-
"@stylistic/eslint-plugin": "^
|
|
17
|
+
"@eslint/js": "^9.30.1",
|
|
18
|
+
"@stylistic/eslint-plugin": "^5.1.0",
|
|
19
19
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
20
|
-
"@types/lodash": "^4.17.
|
|
21
|
-
"@types/node": "^24.0.
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
23
|
-
"@typescript-eslint/utils": "^8.
|
|
20
|
+
"@types/lodash": "^4.17.20",
|
|
21
|
+
"@types/node": "^24.0.10",
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "^8.36.0",
|
|
23
|
+
"@typescript-eslint/utils": "^8.36.0",
|
|
24
24
|
"chalk": "^5.4.1",
|
|
25
25
|
"confusing-browser-globals": "^1.0.11",
|
|
26
|
-
"eslint": "^9.
|
|
27
|
-
"eslint-plugin-import-x": "^4.
|
|
28
|
-
"eslint-plugin-n": "^17.
|
|
29
|
-
"globals": "^16.
|
|
26
|
+
"eslint": "^9.30.1",
|
|
27
|
+
"eslint-plugin-import-x": "^4.16.1",
|
|
28
|
+
"eslint-plugin-n": "^17.21.0",
|
|
29
|
+
"globals": "^16.3.0",
|
|
30
30
|
"lodash": "^4.17.21",
|
|
31
31
|
"tsx": "^4.20.3",
|
|
32
32
|
"typescript": "^5.8.3",
|
|
33
|
-
"typescript-eslint": "^8.
|
|
33
|
+
"typescript-eslint": "^8.36.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@eslint/js": "^9.
|
|
37
|
-
"@stylistic/eslint-plugin": "^
|
|
36
|
+
"@eslint/js": "^9.30.1",
|
|
37
|
+
"@stylistic/eslint-plugin": "^5.1.0",
|
|
38
38
|
"confusing-browser-globals": "^1.0.11",
|
|
39
|
-
"eslint-plugin-import-x": "^4.
|
|
40
|
-
"eslint-plugin-n": "^17.
|
|
41
|
-
"globals": "^16.
|
|
42
|
-
"typescript-eslint": "^8.
|
|
39
|
+
"eslint-plugin-import-x": "^4.16.1",
|
|
40
|
+
"eslint-plugin-n": "^17.21.0",
|
|
41
|
+
"globals": "^16.3.0",
|
|
42
|
+
"typescript-eslint": "^8.36.0"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"inspect": "pnpm eslint-config-inspector",
|