Files
jinshen-website/eslint.config.mjs
R2m1liA 660892f9e7
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m11s
fix: 将原项目的console输出改为logger输出
- 添加eslint,不允许使用console输出
2025-11-08 14:40:41 +08:00

20 lines
313 B
JavaScript

// @ts-check
import withNuxt from './.nuxt/eslint.config.mjs';
export default withNuxt(
// Your custom configs here
{
rules: {
'vue/html-self-closing': [
'warn',
{
html: {
void: 'any',
},
},
],
'no-console': 'warn',
},
}
);