|
Last change
on this file was 590f667, checked in by Ljubomir Ilievski <ilievski.ljubomir@…>, 9 months ago |
|
Added Initial frontend
|
-
Property mode
set to
100644
|
|
File size:
573 bytes
|
| Line | |
|---|
| 1 | import js from '@eslint/js'
|
|---|
| 2 | import pluginVue from 'eslint-plugin-vue'
|
|---|
| 3 | import pluginVitest from '@vitest/eslint-plugin'
|
|---|
| 4 | import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'
|
|---|
| 5 |
|
|---|
| 6 | export default [
|
|---|
| 7 | {
|
|---|
| 8 | name: 'app/files-to-lint',
|
|---|
| 9 | files: ['**/*.{js,mjs,jsx,vue}'],
|
|---|
| 10 | },
|
|---|
| 11 |
|
|---|
| 12 | {
|
|---|
| 13 | name: 'app/files-to-ignore',
|
|---|
| 14 | ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
|
|---|
| 15 | },
|
|---|
| 16 |
|
|---|
| 17 | js.configs.recommended,
|
|---|
| 18 | ...pluginVue.configs['flat/essential'],
|
|---|
| 19 |
|
|---|
| 20 | {
|
|---|
| 21 | ...pluginVitest.configs.recommended,
|
|---|
| 22 | files: ['src/**/__tests__/*'],
|
|---|
| 23 | },
|
|---|
| 24 | skipFormatting,
|
|---|
| 25 | ]
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.