@alexlit/config-eslint 70.0.0 → 70.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/dictionaries/index.js +2 -0
- package/index.js +8 -7
- package/package.json +87 -87
- package/plugins/typescript/index.js +2 -0
package/dictionaries/index.js
CHANGED
package/index.js
CHANGED
|
@@ -67,12 +67,12 @@ module.exports = defineConfig({
|
|
|
67
67
|
|
|
68
68
|
ignorePatterns: [
|
|
69
69
|
'.*',
|
|
70
|
-
'
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
70
|
+
'build',
|
|
71
|
+
'dist',
|
|
72
|
+
'docs',
|
|
73
|
+
'node_modules',
|
|
74
|
+
'storybook-*',
|
|
75
|
+
'sw.js',
|
|
76
76
|
'!.*.js',
|
|
77
77
|
'!.node',
|
|
78
78
|
'!.storybook',
|
|
@@ -99,7 +99,7 @@ module.exports = defineConfig({
|
|
|
99
99
|
ecmaFeatures: { jsx: true },
|
|
100
100
|
extraFileExtensions: ['.vue'],
|
|
101
101
|
parser: '@typescript-eslint/parser',
|
|
102
|
-
project: './tsconfig.json',
|
|
102
|
+
project: ['./tsconfig.json'],
|
|
103
103
|
},
|
|
104
104
|
|
|
105
105
|
root: true,
|
|
@@ -109,6 +109,7 @@ module.exports = defineConfig({
|
|
|
109
109
|
curly: 'error',
|
|
110
110
|
'func-style': ['error', 'declaration', { allowArrowFunctions: true }],
|
|
111
111
|
'grouped-accessor-pairs': ['error', 'getBeforeSet'],
|
|
112
|
+
indent: 'off',
|
|
112
113
|
|
|
113
114
|
'lines-around-comment': [
|
|
114
115
|
'warn',
|
package/package.json
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "70.0.
|
|
4
|
-
"private": false,
|
|
5
|
-
"description": "Eslint config",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"eslint",
|
|
8
|
-
"config"
|
|
9
|
-
],
|
|
10
|
-
"homepage": "https://github.com/alex-lit/lint-kit#readme",
|
|
11
|
-
"bugs": {
|
|
12
|
-
"url": "https://github.com/alex-lit/lint-kit/issues"
|
|
13
|
-
},
|
|
14
|
-
"repository": {
|
|
15
|
-
"type": "git",
|
|
16
|
-
"url": "https://github.com/alex-lit/lint-kit.git",
|
|
17
|
-
"directory": "packages/config-eslint"
|
|
18
|
-
},
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"author": "Alexey Litovchenko",
|
|
21
|
-
"maintainers": [
|
|
22
|
-
"Alexey Litovchenko <alex.lit@outlook.com> (https://alexlit.gitlab.io)"
|
|
23
|
-
],
|
|
24
|
-
"main": "index.js",
|
|
25
|
-
"files": [
|
|
26
|
-
"README.md",
|
|
27
|
-
"dictionaries",
|
|
28
|
-
"index.js",
|
|
29
|
-
"plugins"
|
|
30
|
-
],
|
|
31
|
-
"scripts": {
|
|
32
|
-
"semver": "../../scripts/semver.sh",
|
|
33
|
-
"up": "../../scripts/up.sh"
|
|
34
|
-
},
|
|
35
|
-
"dependencies": {
|
|
36
|
-
"@intlify/eslint-plugin-vue-i18n": "^2.0.0",
|
|
37
|
-
"@tanstack/eslint-plugin-query": "^5.0.5",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
|
39
|
-
"@typescript-eslint/parser": "^6.9.1",
|
|
40
|
-
"eslint": "^8.52.0",
|
|
41
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
42
|
-
"eslint-config-prettier": "^9.0.0",
|
|
43
|
-
"eslint-define-config": "^1.24.1",
|
|
44
|
-
"eslint-import-resolver-alias": "^1.1.2",
|
|
45
|
-
"eslint-plugin-array-func": "^4.0.0",
|
|
46
|
-
"eslint-plugin-compat": "^4.2.0",
|
|
47
|
-
"eslint-plugin-decorator-position": "^5.0.2",
|
|
48
|
-
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
49
|
-
"eslint-plugin-etc": "^2.0.3",
|
|
50
|
-
"eslint-plugin-ext": "^0.1.0",
|
|
51
|
-
"eslint-plugin-filenames": "^1.3.2",
|
|
52
|
-
"eslint-plugin-import": "^2.29.0",
|
|
53
|
-
"eslint-plugin-jsdoc": "^46.8.2",
|
|
54
|
-
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
55
|
-
"eslint-plugin-lit": "^1.10.1",
|
|
56
|
-
"eslint-plugin-lit-a11y": "^4.1.0",
|
|
57
|
-
"eslint-plugin-more": "^1.0.5",
|
|
58
|
-
"eslint-plugin-no-await-in-promise": "^1.1.5",
|
|
59
|
-
"eslint-plugin-no-constructor-bind": "^2.0.4",
|
|
60
|
-
"eslint-plugin-no-explicit-type-exports": "^0.12.1",
|
|
61
|
-
"eslint-plugin-no-loops": "^0.3.0",
|
|
62
|
-
"eslint-plugin-no-secrets": "^0.8.9",
|
|
63
|
-
"eslint-plugin-no-use-extend-native": "^0.5.0",
|
|
64
|
-
"eslint-plugin-node": "^11.1.0",
|
|
65
|
-
"eslint-plugin-prettier": "^5.0.1",
|
|
66
|
-
"eslint-plugin-promise": "^6.1.1",
|
|
67
|
-
"eslint-plugin-regexp": "^2.1.1",
|
|
68
|
-
"eslint-plugin-security": "^1.7.1",
|
|
69
|
-
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
70
|
-
"eslint-plugin-sonarjs": "^0.21.0",
|
|
71
|
-
"eslint-plugin-sort-class-members": "^1.19.0",
|
|
72
|
-
"eslint-plugin-sort-destructure-keys": "^1.5.0",
|
|
73
|
-
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
74
|
-
"eslint-plugin-spellcheck": "^0.0.20",
|
|
75
|
-
"eslint-plugin-sql": "^2.5.0",
|
|
76
|
-
"eslint-plugin-testing-library": "^6.1.0",
|
|
77
|
-
"eslint-plugin-typescript-sort-keys": "^3.1.0",
|
|
78
|
-
"eslint-plugin-unicorn": "^49.0.0",
|
|
79
|
-
"eslint-plugin-unused-imports": "^3.0.0",
|
|
80
|
-
"eslint-plugin-vitest": "^0.3.8",
|
|
81
|
-
"eslint-plugin-vue": "^9.18.1",
|
|
82
|
-
"eslint-plugin-vuejs-accessibility": "^2.2.0",
|
|
83
|
-
"eslint-plugin-wc": "^2.0.4",
|
|
84
|
-
"eslint-plugin-write-good-comments": "^0.2.0",
|
|
85
|
-
"typescript": "^5.2.2"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@alexlit/config-eslint",
|
|
3
|
+
"version": "70.0.2",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Eslint config",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"eslint",
|
|
8
|
+
"config"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://github.com/alex-lit/lint-kit#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/alex-lit/lint-kit/issues"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/alex-lit/lint-kit.git",
|
|
17
|
+
"directory": "packages/config-eslint"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"author": "Alexey Litovchenko",
|
|
21
|
+
"maintainers": [
|
|
22
|
+
"Alexey Litovchenko <alex.lit@outlook.com> (https://alexlit.gitlab.io)"
|
|
23
|
+
],
|
|
24
|
+
"main": "index.js",
|
|
25
|
+
"files": [
|
|
26
|
+
"README.md",
|
|
27
|
+
"dictionaries",
|
|
28
|
+
"index.js",
|
|
29
|
+
"plugins"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"semver": "../../scripts/semver.sh",
|
|
33
|
+
"up": "../../scripts/up.sh"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@intlify/eslint-plugin-vue-i18n": "^2.0.0",
|
|
37
|
+
"@tanstack/eslint-plugin-query": "^5.0.5",
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
|
39
|
+
"@typescript-eslint/parser": "^6.9.1",
|
|
40
|
+
"eslint": "^8.52.0",
|
|
41
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
42
|
+
"eslint-config-prettier": "^9.0.0",
|
|
43
|
+
"eslint-define-config": "^1.24.1",
|
|
44
|
+
"eslint-import-resolver-alias": "^1.1.2",
|
|
45
|
+
"eslint-plugin-array-func": "^4.0.0",
|
|
46
|
+
"eslint-plugin-compat": "^4.2.0",
|
|
47
|
+
"eslint-plugin-decorator-position": "^5.0.2",
|
|
48
|
+
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
49
|
+
"eslint-plugin-etc": "^2.0.3",
|
|
50
|
+
"eslint-plugin-ext": "^0.1.0",
|
|
51
|
+
"eslint-plugin-filenames": "^1.3.2",
|
|
52
|
+
"eslint-plugin-import": "^2.29.0",
|
|
53
|
+
"eslint-plugin-jsdoc": "^46.8.2",
|
|
54
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
55
|
+
"eslint-plugin-lit": "^1.10.1",
|
|
56
|
+
"eslint-plugin-lit-a11y": "^4.1.0",
|
|
57
|
+
"eslint-plugin-more": "^1.0.5",
|
|
58
|
+
"eslint-plugin-no-await-in-promise": "^1.1.5",
|
|
59
|
+
"eslint-plugin-no-constructor-bind": "^2.0.4",
|
|
60
|
+
"eslint-plugin-no-explicit-type-exports": "^0.12.1",
|
|
61
|
+
"eslint-plugin-no-loops": "^0.3.0",
|
|
62
|
+
"eslint-plugin-no-secrets": "^0.8.9",
|
|
63
|
+
"eslint-plugin-no-use-extend-native": "^0.5.0",
|
|
64
|
+
"eslint-plugin-node": "^11.1.0",
|
|
65
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
66
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
67
|
+
"eslint-plugin-regexp": "^2.1.1",
|
|
68
|
+
"eslint-plugin-security": "^1.7.1",
|
|
69
|
+
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
70
|
+
"eslint-plugin-sonarjs": "^0.21.0",
|
|
71
|
+
"eslint-plugin-sort-class-members": "^1.19.0",
|
|
72
|
+
"eslint-plugin-sort-destructure-keys": "^1.5.0",
|
|
73
|
+
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
74
|
+
"eslint-plugin-spellcheck": "^0.0.20",
|
|
75
|
+
"eslint-plugin-sql": "^2.5.0",
|
|
76
|
+
"eslint-plugin-testing-library": "^6.1.0",
|
|
77
|
+
"eslint-plugin-typescript-sort-keys": "^3.1.0",
|
|
78
|
+
"eslint-plugin-unicorn": "^49.0.0",
|
|
79
|
+
"eslint-plugin-unused-imports": "^3.0.0",
|
|
80
|
+
"eslint-plugin-vitest": "^0.3.8",
|
|
81
|
+
"eslint-plugin-vue": "^9.18.1",
|
|
82
|
+
"eslint-plugin-vuejs-accessibility": "^2.2.0",
|
|
83
|
+
"eslint-plugin-wc": "^2.0.4",
|
|
84
|
+
"eslint-plugin-write-good-comments": "^0.2.0",
|
|
85
|
+
"typescript": "^5.2.2"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -47,6 +47,8 @@ module.exports = {
|
|
|
47
47
|
|
|
48
48
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
49
49
|
|
|
50
|
+
'@typescript-eslint/indent': 'off',
|
|
51
|
+
|
|
50
52
|
'@typescript-eslint/member-ordering': 'off', // delegate to sort-class-members plugin
|
|
51
53
|
|
|
52
54
|
'@typescript-eslint/method-signature-style': ['error', 'method'],
|