Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/assets_code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Check TypeScript types
run: npm run typecheck

- name: Run frontend unit tests
run: npm run test:unit:coverage -- --sequence.shuffle

- name: Build for production
run: npm run build

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ webpack_stats.json
### Behat / Cypress / Front-end testing files
bin/chromedriver*
bin/selenium-server-standalone*
coverage/
tests/cypress/evidence

### File-system cruft and temporary files
Expand Down
6 changes: 3 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ export default [
// "plugin:vue/recommended" under eslint-plugin-vue 6.
...vue.configs['flat/vue2-recommended'],

// Scoped to assets/**/*.ts so the Vue 2 SFCs, which are still plain JS, keep
// Scoped to TypeScript files so the Vue 2 SFCs, which are still plain JS, keep
// being linted by the vue2 preset above and are not parsed as TypeScript.
...tseslint.configs.recommended.map(config => ({
...config,
files: ['assets/**/*.ts'],
files: ['assets/**/*.ts', 'tests/unit/**/*.ts', 'vitest.config.ts'],
})),

{
files: ['assets/**/*.ts'],
files: ['assets/**/*.ts', 'tests/unit/**/*.ts', 'vitest.config.ts'],
rules: {
// Warn, not error, while TypeScript is confined to the leaf modules.
// It becomes an error once the components are converted and there is
Expand Down
Loading
Loading