feat: new if-newline rule

This commit is contained in:
Anthony Fu
2022-04-02 23:51:24 +08:00
parent a6692cc074
commit 2e9948029c
7 changed files with 277 additions and 1 deletions

View File

@@ -292,5 +292,6 @@ module.exports = {
// antfu
'antfu/no-leading-newline': 'error',
'antfu/if-newline': 'error',
},
}