Project: Switch to Prettier for code formatting
This commit is contained in:
+14
-2
@@ -47,10 +47,20 @@ lint:
|
||||
interruptible: true
|
||||
rules:
|
||||
- changes:
|
||||
- src/**/*.js
|
||||
- src/**/*.js
|
||||
script:
|
||||
- npm run test-lint
|
||||
|
||||
style:
|
||||
extends: .node
|
||||
stage: check
|
||||
interruptible: true
|
||||
rules:
|
||||
- changes:
|
||||
- src/**/*.js
|
||||
script:
|
||||
- npm run test-style
|
||||
|
||||
reuse:
|
||||
image:
|
||||
name: fsfe/reuse:latest
|
||||
@@ -66,6 +76,8 @@ extension:
|
||||
needs:
|
||||
- job: lint
|
||||
optional: true
|
||||
- job: style
|
||||
optional: true
|
||||
- reuse
|
||||
image: debian:stable-slim
|
||||
before_script:
|
||||
@@ -147,7 +159,7 @@ pages:
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
changes:
|
||||
- website/**/*
|
||||
- website/**/*
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
||||
Reference in New Issue
Block a user