chore: init read-star monorepo
This commit is contained in:
23
eslint.config.js
Normal file
23
eslint.config.js
Normal file
@ -0,0 +1,23 @@
|
||||
// @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',
|
||||
},
|
||||
},
|
||||
)
|
||||
Reference in New Issue
Block a user