Skip to content

Commit

Permalink
fix: yaml indent (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
so1ve committed Oct 5, 2023
1 parent 4f2c51b commit 757bb6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/configs/yaml.ts
Expand Up @@ -49,9 +49,9 @@ export function yaml(
'yaml/flow-mapping-curly-spacing': 'error',
'yaml/flow-sequence-bracket-newline': 'error',
'yaml/flow-sequence-bracket-spacing': 'error',
'yaml/indent': ['error', indent],
'yaml/indent': ['error', indent === 'tab' ? 2 : indent],
'yaml/key-spacing': 'error',
'yaml/no-tab-indent': indent === 'tab' ? 'off' : 'error',
'yaml/no-tab-indent': 'error',
'yaml/quotes': ['error', { avoidEscape: false, prefer: quotes }],
'yaml/spaced-comment': 'error',
}
Expand Down

0 comments on commit 757bb6b

Please sign in to comment.