+9
-8
lines changedFilter options
+9
-8
lines changed Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@
36
36
"@typescript-eslint/eslint-plugin": "^6.7.2",
37
37
"@typescript-eslint/parser": "^6.7.2",
38
38
"eslint-define-config": "^1.23.0",
39
-
"eslint-plugin-antfu": "^1.0.0-beta.2",
39
+
"eslint-plugin-antfu": "^1.0.0-beta.3",
40
40
"eslint-plugin-eslint-comments": "^3.2.0",
41
41
"eslint-plugin-i": "^2.28.1",
42
42
"eslint-plugin-jsdoc": "^46.8.2",
Original file line number Diff line number Diff line change
@@ -12,6 +12,8 @@ export const javascriptStylistic: FlatESLintConfigItem[] = [
12
12
},
13
13
rules: {
14
14
'antfu/if-newline': 'error',
15
+
'antfu/consistent-object-newline': 'error',
16
+
15
17
'comma-dangle': ['error', 'always-multiline'],
16
18
'curly': ['error', 'multi-or-nest', 'consistent'],
17
19
'quotes': ['error', 'single'],
@@ -75,7 +77,7 @@ export const javascriptStylistic: FlatESLintConfigItem[] = [
75
77
'style/no-tabs': 'error',
76
78
'style/no-trailing-spaces': 'error',
77
79
'style/no-whitespace-before-property': 'error',
78
-
'style/object-curly-newline': ['error', { consistent: true, multiline: true }],
80
+
'style/object-curly-newline': OFF,
79
81
'style/object-curly-spacing': ['error', 'always'],
80
82
'style/object-property-newline': ['error', { allowMultiplePropertiesPerLine: true }],
81
83
'style/operator-linebreak': ['error', 'before'],
Original file line number Diff line number Diff line change
@@ -80,8 +80,7 @@ export function vue(options: OptionsHasTypeScript = {}): FlatESLintConfigItem[]
80
80
'vue/no-unused-refs': 'error',
81
81
'vue/no-useless-v-bind': 'error',
82
82
'vue/no-v-html': OFF,
83
-
'vue/no-v-text-v-html-on-component': OFF,
84
-
'vue/object-curly-newline': ['error', { consistent: true, multiline: true }],
83
+
'vue/object-curly-newline': OFF,
85
84
'vue/object-curly-spacing': ['error', 'always'],
86
85
'vue/object-property-newline': ['error', { allowMultiplePropertiesPerLine: true }],
87
86
'vue/object-shorthand': [
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4