mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 08:45:32 +00:00
19 lines
493 B
JavaScript
19 lines
493 B
JavaScript
const baseRules = {
|
|
'vue/no-setup-props-destructure': 0,
|
|
'no-console': 0,
|
|
'antfu/if-newline': 0,
|
|
'no-unused-vars': 0,
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'error',
|
|
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' },
|
|
],
|
|
'prettier/prettier': ['error', {}, { usePrettierrc: true }],
|
|
}
|
|
|
|
module.exports = {
|
|
extends: ['@antfu', 'plugin:prettier/recommended'],
|
|
plugins: ['prettier'],
|
|
rules: baseRules,
|
|
ignorePatterns: ['!*.d.ts'],
|
|
}
|