eslint-config-azuriru 2.2.2 → 2.2.3
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/package.json +38 -38
- package/svelte.js +13 -0
package/package.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "eslint-config-azuriru",
|
|
3
|
-
"description": "My personal INCREDIBLY OPINIONATED configs for anything ESlint.",
|
|
4
|
-
"version": "2.2.
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"eslintConfig": {
|
|
7
|
-
"env": {
|
|
8
|
-
"node": true
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"default": "./index.js"
|
|
14
|
-
},
|
|
15
|
-
"./svelte": {
|
|
16
|
-
"default": "./svelte.js"
|
|
17
|
-
},
|
|
18
|
-
"./react": {
|
|
19
|
-
"default": "./react.js"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"@stylistic/eslint-plugin": "^1.
|
|
24
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
25
|
-
"@typescript-eslint/parser": "^6.
|
|
26
|
-
"eslint": "^8.
|
|
27
|
-
"eslint-plugin-antfu": "^2.2.0",
|
|
28
|
-
"eslint-plugin-react": "^7.34.1",
|
|
29
|
-
"eslint-plugin-react-hooks": "^4.6.2",
|
|
30
|
-
"eslint-plugin-svelte": "^2.
|
|
31
|
-
"eslint-plugin-svelte-stylistic": "^0.0.4",
|
|
32
|
-
"svelte": "^4.2.
|
|
33
|
-
"tslib": "^2.
|
|
34
|
-
"typescript": "^5.
|
|
35
|
-
},
|
|
36
|
-
"peerDependencies": {
|
|
37
|
-
"eslint": "^8.0.0"
|
|
38
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "eslint-config-azuriru",
|
|
3
|
+
"description": "My personal INCREDIBLY OPINIONATED configs for anything ESlint.",
|
|
4
|
+
"version": "2.2.3",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"eslintConfig": {
|
|
7
|
+
"env": {
|
|
8
|
+
"node": true
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"default": "./index.js"
|
|
14
|
+
},
|
|
15
|
+
"./svelte": {
|
|
16
|
+
"default": "./svelte.js"
|
|
17
|
+
},
|
|
18
|
+
"./react": {
|
|
19
|
+
"default": "./react.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@stylistic/eslint-plugin": "^1.8.1",
|
|
24
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
25
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
26
|
+
"eslint": "^8.57.0",
|
|
27
|
+
"eslint-plugin-antfu": "^2.2.0",
|
|
28
|
+
"eslint-plugin-react": "^7.34.1",
|
|
29
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
30
|
+
"eslint-plugin-svelte": "^2.45.1",
|
|
31
|
+
"eslint-plugin-svelte-stylistic": "^0.0.4",
|
|
32
|
+
"svelte": "^4.2.17",
|
|
33
|
+
"tslib": "^2.6.2",
|
|
34
|
+
"typescript": "^5.4.5"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"eslint": "^8.0.0"
|
|
38
|
+
}
|
|
39
39
|
}
|
package/svelte.js
CHANGED
|
@@ -91,6 +91,7 @@ module.exports = {
|
|
|
91
91
|
allowTransitions: false
|
|
92
92
|
}
|
|
93
93
|
],
|
|
94
|
+
'svelte/no-inspect': 'warn',
|
|
94
95
|
'svelte/no-reactive-functions': 'warn',
|
|
95
96
|
'svelte/no-reactive-literals': 'warn',
|
|
96
97
|
'svelte/no-unused-class-name': 'off',
|
|
@@ -126,6 +127,17 @@ module.exports = {
|
|
|
126
127
|
selfClosingTag: 'always'
|
|
127
128
|
}
|
|
128
129
|
],
|
|
130
|
+
'svelte/html-closing-bracket-new-line': [
|
|
131
|
+
'warn',
|
|
132
|
+
{
|
|
133
|
+
singleline: 'never',
|
|
134
|
+
multiline: 'always',
|
|
135
|
+
selfClosingTag: {
|
|
136
|
+
singleline: 'never',
|
|
137
|
+
multiline: 'always'
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
],
|
|
129
141
|
'svelte/html-quotes': [
|
|
130
142
|
'warn',
|
|
131
143
|
{
|
|
@@ -141,6 +153,7 @@ module.exports = {
|
|
|
141
153
|
{
|
|
142
154
|
'void': 'always',
|
|
143
155
|
normal: 'always',
|
|
156
|
+
foreign: 'always',
|
|
144
157
|
component: 'always',
|
|
145
158
|
svelte: 'always'
|
|
146
159
|
}
|