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/757bb6b below:

yaml indent (#267) · antfu/eslint-config@757bb6b · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed Original file line number Diff line number Diff line change

@@ -49,9 +49,9 @@ export function yaml(

49 49

'yaml/flow-mapping-curly-spacing': 'error',

50 50

'yaml/flow-sequence-bracket-newline': 'error',

51 51

'yaml/flow-sequence-bracket-spacing': 'error',

52 -

'yaml/indent': ['error', indent],

52 +

'yaml/indent': ['error', indent === 'tab' ? 2 : indent],

53 53

'yaml/key-spacing': 'error',

54 -

'yaml/no-tab-indent': indent === 'tab' ? 'off' : 'error',

54 +

'yaml/no-tab-indent': 'error',

55 55

'yaml/quotes': ['error', { avoidEscape: false, prefer: quotes }],

56 56

'yaml/spaced-comment': 'error',

57 57

}

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