24 lines
623 B
JavaScript
24 lines
623 B
JavaScript
|
|
// @ts-check
|
||
|
|
import { readStarConfig } from '@read-star/eslint-config'
|
||
|
|
|
||
|
|
export default readStarConfig(
|
||
|
|
{
|
||
|
|
vue: true,
|
||
|
|
unocss: true,
|
||
|
|
ignores: [
|
||
|
|
'**/dist/**',
|
||
|
|
'**/node_modules/**',
|
||
|
|
'**/public/**',
|
||
|
|
'pnpm-lock.yaml',
|
||
|
|
],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
rules: {
|
||
|
|
'vue/multi-word-component-names': ['warn', { ignores: ['index', 'App', 'Register', '[id]', '[url]'] }],
|
||
|
|
'vue/component-name-in-template-casing': ['warn', 'PascalCase', { registeredComponentsOnly: false, ignores: ['/^icon-/'] }],
|
||
|
|
'unocss/order-attributify': 'off',
|
||
|
|
'regexp/no-unused-capturing-group': 'off',
|
||
|
|
},
|
||
|
|
},
|
||
|
|
)
|