|
Last change
on this file since fa32d0f was 92e7c7a, checked in by veronika-ils <ilioskaveronika@…>, 6 hours ago |
|
Petify fullstack project
|
-
Property mode
set to
100644
|
|
File size:
808 bytes
|
| Line | |
|---|
| 1 | import { globalIgnores } from 'eslint/config'
|
|---|
| 2 | import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'
|
|---|
| 3 | import pluginVue from 'eslint-plugin-vue'
|
|---|
| 4 | import skipFormatting from 'eslint-config-prettier/flat'
|
|---|
| 5 |
|
|---|
| 6 | // To allow more languages other than `ts` in `.vue` files, uncomment the following lines:
|
|---|
| 7 | // import { configureVueProject } from '@vue/eslint-config-typescript'
|
|---|
| 8 | // configureVueProject({ scriptLangs: ['ts', 'tsx'] })
|
|---|
| 9 | // More info at https://github.com/vuejs/eslint-config-typescript/#advanced-setup
|
|---|
| 10 |
|
|---|
| 11 | export default defineConfigWithVueTs(
|
|---|
| 12 | {
|
|---|
| 13 | name: 'app/files-to-lint',
|
|---|
| 14 | files: ['**/*.{vue,ts,mts,tsx}'],
|
|---|
| 15 | },
|
|---|
| 16 |
|
|---|
| 17 | globalIgnores(['**/dist/**', '**/dist-ssr/**', '**/coverage/**']),
|
|---|
| 18 |
|
|---|
| 19 | ...pluginVue.configs['flat/essential'],
|
|---|
| 20 | vueTsConfigs.recommended,
|
|---|
| 21 |
|
|---|
| 22 | skipFormatting,
|
|---|
| 23 | )
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.