mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 03:05:07 +08:00
* feat: 升级 vite5 * fix: 优化 webpack publicPath * fix: 优化文档 * chore: remove log * chore: remove 无效代码
21 lines
422 B
JavaScript
21 lines
422 B
JavaScript
// eslint.config.js
|
|
import antfu from '@antfu/eslint-config';
|
|
|
|
export default await antfu({
|
|
stylistic: {
|
|
indent: 4, // 4, or 'tab'
|
|
quotes: 'single', // or 'double'
|
|
semi: 'always',
|
|
},
|
|
typescript: true,
|
|
vue: true,
|
|
rules: {
|
|
'vue/block-order': [
|
|
'error',
|
|
{
|
|
order: ['template', 'script', 'style'],
|
|
},
|
|
],
|
|
},
|
|
});
|