feat(tooling): add eslint-config to tooling pkgs
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
module.exports = {
|
||||
extends: ['@antfu', 'plugin:prettier/recommended'],
|
||||
plugins: ['prettier'],
|
||||
rules: {
|
||||
'vue/no-setup-props-destructure': 0,
|
||||
'no-console': 0,
|
||||
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
|
||||
'prettier/prettier': [
|
||||
'error',
|
||||
{
|
||||
singleQuote: true,
|
||||
trailingComma: 'all',
|
||||
semi: false,
|
||||
quoteProps: 'consistent',
|
||||
bracketSpacing: true,
|
||||
printWidth: 130,
|
||||
},
|
||||
],
|
||||
'antfu/if-newline': 0,
|
||||
'antfu/generic-spacing': 0,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user