eslint-config-azuriru 2.2.1 → 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.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/package.json +9 -9
  3. package/svelte.js +14 -1
package/index.js CHANGED
@@ -186,7 +186,7 @@ module.exports = {
186
186
  ],
187
187
  '@stylistic/new-parens': [
188
188
  'warn',
189
- 'never'
189
+ 'always'
190
190
  ],
191
191
  '@stylistic/newline-per-chained-call': [
192
192
  'warn',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-config-azuriru",
3
3
  "description": "My personal INCREDIBLY OPINIONATED configs for anything ESlint.",
4
- "version": "2.2.1",
4
+ "version": "2.2.3",
5
5
  "main": "index.js",
6
6
  "eslintConfig": {
7
7
  "env": {
@@ -20,18 +20,18 @@
20
20
  }
21
21
  },
22
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",
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
27
  "eslint-plugin-antfu": "^2.2.0",
28
28
  "eslint-plugin-react": "^7.34.1",
29
29
  "eslint-plugin-react-hooks": "^4.6.2",
30
- "eslint-plugin-svelte": "^2.35.1",
30
+ "eslint-plugin-svelte": "^2.45.1",
31
31
  "eslint-plugin-svelte-stylistic": "^0.0.4",
32
- "svelte": "^4.2.5",
33
- "tslib": "^2.4.1",
34
- "typescript": "^5.2.2"
32
+ "svelte": "^4.2.17",
33
+ "tslib": "^2.6.2",
34
+ "typescript": "^5.4.5"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "eslint": "^8.0.0"
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',
@@ -110,7 +111,7 @@ module.exports = {
110
111
  'svelte/valid-each-key': 'warn',
111
112
 
112
113
  // Stylistic issues
113
- 'svelte/derived-has-same-inputs-outputs': 'warn',
114
+ 'svelte/derived-has-same-inputs-outputs': 'off', // No other way
114
115
  'svelte/first-attribute-linebreak': [
115
116
  'warn',
116
117
  {
@@ -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
  }