Browse Source

chore(gui-v2): add eslint rule to error unused vars

pull/3044/head
braks 2 years ago
parent
commit
d704c37dbf
  1. 1
      packages/nc-gui-v2/.eslintrc.js

1
packages/nc-gui-v2/.eslintrc.js

@ -2,6 +2,7 @@ const baseRules = {
'vue/no-setup-props-destructure': 0, 'vue/no-setup-props-destructure': 0,
'no-console': 0, 'no-console': 0,
'antfu/if-newline': 0, 'antfu/if-newline': 0,
'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
'prettier/prettier': ['error', {}, { usePrettierrc: true }], 'prettier/prettier': ['error', {}, { usePrettierrc: true }],
} }

Loading…
Cancel
Save