BlueGit

timfa frameworkv3

install linter

timfa Tim Falken · pushed by timfa

Authored 2024-08-22 · 2 years ago

Hash
381f3d8936e2713ba4616e26b270898b316c0db1
Parent
a0e2dc06
1 file changed +2 −2
.gitlab-ci.yml +2 −2
@@ -10,8 +10,8 @@ eslint:
10 10 stage: lint
11 11 image: node:18 # Using an official Node.js Docker image
12 12 script:
13 - npm install
14 - npx eslint ./**/*.js # Lint all JavaScript files
13 - npm install -g eslint
14 - eslint ./**/*.js # Lint all JavaScript files
15 15 only:
16 16 - merge_requests # Run on merge requests
17 17
@@ -10,8 +10,8 @@ eslint:
10 stage: lint
10 stage: lint
11 image: node:18 # Using an official Node.js Docker image
11 image: node:18 # Using an official Node.js Docker image
12 script:
12 script:
13 - npm install
13 - npm install -g eslint
14 - npx eslint ./**/*.js # Lint all JavaScript files
14 - eslint ./**/*.js # Lint all JavaScript files
15 only:
15 only:
16 - merge_requests # Run on merge requests
16 - merge_requests # Run on merge requests
17
17