mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
493 B
19 lines
493 B
3 years ago
|
const baseRules = {
|
||
|
'vue/no-setup-props-destructure': 0,
|
||
|
'no-console': 0,
|
||
|
'antfu/if-newline': 0,
|
||
2 years ago
|
'no-unused-vars': 0,
|
||
2 years ago
|
'@typescript-eslint/no-unused-vars': [
|
||
|
'error',
|
||
|
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' },
|
||
|
],
|
||
3 years ago
|
'prettier/prettier': ['error', {}, { usePrettierrc: true }],
|
||
3 years ago
|
}
|
||
|
|
||
|
module.exports = {
|
||
3 years ago
|
extends: ['@antfu', 'plugin:prettier/recommended'],
|
||
|
plugins: ['prettier'],
|
||
3 years ago
|
rules: baseRules,
|
||
2 years ago
|
ignorePatterns: ['!*.d.ts'],
|
||
3 years ago
|
}
|