Skip to content

Commit 8f0db9b

Browse files
committed
chore: fix lint issues
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent ad0c010 commit 8f0db9b

24 files changed

Lines changed: 1954 additions & 2024 deletions

Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,28 @@ help: ## Show help message
99
include .env
1010

1111
setup: ## Prepare stack to run
12-
cd application && npm install
12+
npm --prefix application install
1313

1414
start: ## Start application in dev mode
15-
cd application && npm run start
15+
npm --prefix application run start
1616

1717
lint: ## Run linters
18-
cd application && npm run lint:ci -- $(filter-out $@,$(MAKECMDGOALS))
18+
npm --prefix application run lint:ci -- $(filter-out $@,$(MAKECMDGOALS))
1919
$(call run_linter,)
2020

2121
lint-fix: ## Run linters
22-
cd application && npm audit fix
23-
cd application && npx update-browserslist-db@latest
24-
cd application && npm run lint:fix
22+
npm --prefix application run lint:fix
2523
$(MAKE) linter-fix
2624

2725
build: ## Build libs and applications
28-
cd application && npm run build
26+
npm --prefix application run build
2927

3028
test: ## Run tests
31-
cd application && npm run test:ci
29+
npm --prefix application run test:ci
3230

3331
ci: ## Run tests in CI mode
32+
npm --prefix application audit fix --force
33+
cd application && npx update-browserslist-db@latest
3434
$(MAKE) lint-fix
3535
$(MAKE) build
3636
$(MAKE) test

application/eslint.config.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@ export default [
5454
},
5555
},
5656
{
57-
ignores: ['dist', 'node_modules', '.github', 'types.generated.d.ts', '.astro'],
57+
ignores: [
58+
'dist',
59+
'node_modules',
60+
'.github',
61+
'types.generated.d.ts',
62+
'.astro',
63+
'coverage',
64+
'astro-report.txt',
65+
'eslint-report.json',
66+
'prettier-report.txt',
67+
],
5868
},
5969
];

0 commit comments

Comments
 (0)