mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
Switch back to using .mjs extension otherwise webpack doesn't compile well with type:module specified in package.json file
This commit is contained in:
30
eslint.config.mjs
Normal file
30
eslint.config.mjs
Normal file
@@ -0,0 +1,30 @@
|
||||
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'
|
||||
}
|
||||
}
|
||||
)
|
Reference in New Issue
Block a user