-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update all dependencies and fix linting
- Loading branch information
Showing
10 changed files
with
4,621 additions
and
3,062 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/// <reference types="cypress" /> | ||
|
||
declare namespace Cypress { | ||
interface Chainable { | ||
getByTestId(testId: string): Chainable<Subject>; | ||
addTraining(addWeek?: boolean): void; | ||
toRoute(route: string): void; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import pluginVue from 'eslint-plugin-vue'; | ||
import vueTsEslintConfig from '@vue/eslint-config-typescript'; | ||
import pluginVitest from '@vitest/eslint-plugin'; | ||
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'; | ||
import {includeIgnoreFile} from '@eslint/compat'; | ||
import pluginCypress from 'eslint-plugin-cypress/flat' | ||
import pluginVueA11y from 'eslint-plugin-vuejs-accessibility'; | ||
import {fileURLToPath} from 'node:url'; | ||
|
||
export default [ | ||
includeIgnoreFile(fileURLToPath(new URL('./.gitignore', import.meta.url))), | ||
{ | ||
name: 'app/files-to-lint', | ||
files: ['**/*.{ts,mts,tsx,vue}'], | ||
}, | ||
...pluginVueA11y.configs['flat/recommended'], | ||
...pluginVue.configs['flat/essential'], | ||
...vueTsEslintConfig(), | ||
{ | ||
...pluginVitest.configs.recommended, | ||
files: ['src/**/__tests__/*'], | ||
}, | ||
{ | ||
...pluginCypress.configs.recommended, | ||
files: [ | ||
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}', | ||
'cypress/support/**/*.{js,ts,jsx,tsx}' | ||
], | ||
}, | ||
skipFormatting, | ||
]; |
Oops, something went wrong.