mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
31 lines
647 B
JavaScript
31 lines
647 B
JavaScript
import eslintPluginVue from 'eslint-plugin-vue'
|
|
import ts from 'typescript-eslint'
|
|
|
|
export default ts.config(
|
|
...ts.configs.recommended,
|
|
...ts.configs.stylistic,
|
|
...eslintPluginVue.configs['flat/essential'],
|
|
{
|
|
files: ['**/*.vue'],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
parser: '@typescript-eslint/parser'
|
|
}
|
|
}
|
|
},
|
|
{
|
|
ignores: [
|
|
'**/vendor/*',
|
|
'**/import-png.d.ts',
|
|
'**/chill.webpack.config.js'
|
|
]
|
|
},
|
|
{
|
|
rules: {
|
|
// override/add rules settings here, such as:
|
|
'vue/multi-word-component-names': 'off',
|
|
'@typescript-eslint/no-require-imports': 'off'
|
|
}
|
|
}
|
|
)
|