eslint-config-azuriru 2.2.0 → 2.2.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/index.js +2 -19
- package/package.json +38 -38
- package/svelte.js +1 -1
package/index.js
CHANGED
|
@@ -148,24 +148,7 @@ module.exports = {
|
|
|
148
148
|
'warn',
|
|
149
149
|
'windows'
|
|
150
150
|
],
|
|
151
|
-
'@stylistic/lines-around-comment':
|
|
152
|
-
'warn',
|
|
153
|
-
{
|
|
154
|
-
beforeBlockComment: true,
|
|
155
|
-
afterBlockComment: false,
|
|
156
|
-
beforeLineComment: true,
|
|
157
|
-
allowBlockStart: true,
|
|
158
|
-
allowBlockEnd: true, // Weird but okay,
|
|
159
|
-
allowObjectStart: true,
|
|
160
|
-
allowObjectEnd: true,
|
|
161
|
-
allowArrayStart: true,
|
|
162
|
-
allowArrayEnd: true,
|
|
163
|
-
allowClassStart: true,
|
|
164
|
-
allowClassEnd: true,
|
|
165
|
-
applyDefaultIgnorePatterns: true,
|
|
166
|
-
afterHashbangComment: true // looks important
|
|
167
|
-
}
|
|
168
|
-
],
|
|
151
|
+
'@stylistic/lines-around-comment': 'off',
|
|
169
152
|
'@stylistic/lines-between-class-members': [
|
|
170
153
|
'warn',
|
|
171
154
|
'always',
|
|
@@ -203,7 +186,7 @@ module.exports = {
|
|
|
203
186
|
],
|
|
204
187
|
'@stylistic/new-parens': [
|
|
205
188
|
'warn',
|
|
206
|
-
'
|
|
189
|
+
'always'
|
|
207
190
|
],
|
|
208
191
|
'@stylistic/newline-per-chained-call': [
|
|
209
192
|
'warn',
|
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.7.0",
|
|
24
|
-
"@typescript-eslint/eslint-plugin": "^6.18.1",
|
|
25
|
-
"@typescript-eslint/parser": "^6.18.1",
|
|
26
|
-
"eslint": "^8.56.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.35.1",
|
|
31
|
-
"eslint-plugin-svelte-stylistic": "^0.0.4",
|
|
32
|
-
"svelte": "^4.2.5",
|
|
33
|
-
"tslib": "^2.4.1",
|
|
34
|
-
"typescript": "^5.2.2"
|
|
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.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.7.0",
|
|
24
|
+
"@typescript-eslint/eslint-plugin": "^6.18.1",
|
|
25
|
+
"@typescript-eslint/parser": "^6.18.1",
|
|
26
|
+
"eslint": "^8.56.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.35.1",
|
|
31
|
+
"eslint-plugin-svelte-stylistic": "^0.0.4",
|
|
32
|
+
"svelte": "^4.2.5",
|
|
33
|
+
"tslib": "^2.4.1",
|
|
34
|
+
"typescript": "^5.2.2"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"eslint": "^8.0.0"
|
|
38
|
+
}
|
|
39
39
|
}
|
package/svelte.js
CHANGED
|
@@ -110,7 +110,7 @@ module.exports = {
|
|
|
110
110
|
'svelte/valid-each-key': 'warn',
|
|
111
111
|
|
|
112
112
|
// Stylistic issues
|
|
113
|
-
'svelte/derived-has-same-inputs-outputs': '
|
|
113
|
+
'svelte/derived-has-same-inputs-outputs': 'off', // No other way
|
|
114
114
|
'svelte/first-attribute-linebreak': [
|
|
115
115
|
'warn',
|
|
116
116
|
{
|