it-tools/.eslintrc.cjs

15 lines
404 B
JavaScript
Raw Normal View History

/**
* @type {import('eslint').Linter.Config}
*/
2022-03-31 01:33:29 +03:00
module.exports = {
root: true,
extends: ['@antfu', './.eslintrc-auto-import.json', '@unocss'],
2022-08-04 23:46:50 +03:00
2022-03-31 01:33:29 +03: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 01:33:29 +03:00
},
};