A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/antfu/eslint-config/commit/9ffcf2b below:

improve rules · antfu/eslint-config@9ffcf2b · GitHub

@@ -29,6 +29,8 @@ export function vue(options: OptionsHasTypeScript = {}): FlatESLintConfigItem[]

29 29

...pluginVue.configs['vue3-strongly-recommended'].rules as any,

30 30

...pluginVue.configs['vue3-recommended'].rules as any,

31 31 32 +

'node/prefer-global/process': OFF,

33 + 32 34

'vue/array-bracket-spacing': ['error', 'never'],

33 35

'vue/arrow-spacing': ['error', { after: true, before: true }],

34 36

'vue/block-order': ['error', {

@@ -42,8 +44,8 @@ export function vue(options: OptionsHasTypeScript = {}): FlatESLintConfigItem[]

42 44

'vue/brace-style': ['error', 'stroustrup', { allowSingleLine: true }],

43 45

'vue/comma-dangle': ['error', 'always-multiline'],

44 46

'vue/comma-spacing': ['error', { after: true, before: false }],

45 -

'vue/comma-style': ['error', 'last'],

46 47 48 +

'vue/comma-style': ['error', 'last'],

47 49

'vue/component-name-in-template-casing': ['error', 'PascalCase'],

48 50

'vue/component-options-name-casing': ['error', 'PascalCase'],

49 51

'vue/custom-event-name-casing': ['error', 'camelCase'],

@@ -60,7 +62,6 @@ export function vue(options: OptionsHasTypeScript = {}): FlatESLintConfigItem[]

60 62

'vue/keyword-spacing': ['error', { after: true, before: true }],

61 63

'vue/max-attributes-per-line': OFF,

62 64

'vue/multi-word-component-names': OFF,

63 -

'vue/no-constant-condition': 'warn',

64 65

'vue/no-dupe-keys': OFF,

65 66

'vue/no-empty-pattern': 'error',

66 67

'vue/no-extra-parens': ['error', 'functions'],

@@ -73,8 +74,6 @@ export function vue(options: OptionsHasTypeScript = {}): FlatESLintConfigItem[]

73 74

'WithStatement',

74 75

],

75 76

'vue/no-restricted-v-bind': ['error', '/^v-/'],

76 - 77 -

// reactivity transform

78 77

'vue/no-setup-props-reactivity-loss': OFF,

79 78

'vue/no-sparse-arrays': 'error',

80 79

'vue/no-unused-refs': 'error',


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