it-tools/.eslintrc.cjs

15 lines
404 B
JavaScript
Raw Normal View History

/**
* @type {import('eslint').Linter.Config}
*/
2022-03-31 06:33:29 +08:00
module.exports = {
root: true,
extends: ['@antfu', './.eslintrc-auto-import.json', '@unocss'],
2022-08-05 04:46:50 +08:00
2022-03-31 06:33:29 +08:00
rules: {
'curly': ['error', 'all'],
'@typescript-eslint/semi': ['error', 'always'],
'@typescript-eslint/no-use-before-define': ['error', { allowNamedExports: true, functions: false }],
'vue/no-empty-component-block': ['error'],
2022-03-31 06:33:29 +08:00
},
};