mirror of
https://github.com/ivuorinen/sysvinit-service-generator.git
synced 2026-01-26 11:33:59 +00:00
27 lines
661 B
JavaScript
27 lines
661 B
JavaScript
import pluginVue from 'eslint-plugin-vue'
|
|
import vueTsEslintConfig from '@vue/eslint-config-typescript'
|
|
import { includeIgnoreFile } from '@eslint/compat'
|
|
import path from 'node:path'
|
|
import { fileURLToPath } from 'node:url'
|
|
|
|
const __filename = fileURLToPath(import.meta.url)
|
|
const __dirname = path.dirname(__filename)
|
|
const gitignorePath = path.resolve(__dirname, '.gitignore')
|
|
|
|
export default [
|
|
includeIgnoreFile(gitignorePath),
|
|
{
|
|
// your overrides
|
|
},
|
|
...pluginVue.configs['flat/essential'],
|
|
...vueTsEslintConfig({
|
|
extends: ['recommended']
|
|
}),
|
|
{
|
|
languageOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'script'
|
|
}
|
|
}
|
|
]
|