diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-10-26 12:10:47 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-10-26 12:10:47 +0100 |
| commit | 5e4d41d1dfeaaeca731b3c5496377214ec6e557f (patch) | |
| tree | 6b1c5359f17e1e30c85fdb7d611d1c5bbb7843e9 /eslint.config.js | |
bootstrap project
Diffstat (limited to 'eslint.config.js')
| -rw-r--r-- | eslint.config.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..3009bb4 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,19 @@ +import pluginVue from 'eslint-plugin-vue' +import vueTsEslintConfig from '@vue/eslint-config-typescript' +import skipFormatting from '@vue/eslint-config-prettier/skip-formatting' + +export default [ + { + name: 'app/files-to-lint', + files: ['**/*.{ts,mts,tsx,vue}'], + }, + + { + name: 'app/files-to-ignore', + ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'], + }, + + ...pluginVue.configs['flat/essential'], + ...vueTsEslintConfig(), + skipFormatting, +] |
