feat: custom plugin

This commit is contained in:
Anthony Fu
2022-04-02 23:18:36 +08:00
parent f1644757c8
commit ded3cf2da2
14 changed files with 1172 additions and 39 deletions

View File

@@ -32,6 +32,7 @@ module.exports = {
plugins: [
'html',
'unicorn',
'antfu',
],
settings: {
'import/resolver': {
@@ -288,5 +289,8 @@ module.exports = {
// yml
'yml/quotes': ['error', { prefer: 'single', avoidEscape: false }],
'yml/no-empty-document': 'off',
// antfu
'antfu/no-leading-newline': 'error',
},
}