File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- # Prettier formatter for GitLab Code Quality
1
+ # @ studiometa/prettier- formatter-gitlab
2
2
3
3
[ ![ NPM Version] ( https://img.shields.io/npm/v/@studiometa/prettier-formatter-gitlab.svg?style=flat&colorB=3e63dd&colorA=414853 )] ( https://www.npmjs.com/package/@studiometa/prettier-formatter-gitlab/ )
4
4
[ ![ Downloads] ( https://img.shields.io/npm/dm/@studiometa/prettier-formatter-gitlab?style=flat&colorB=3e63dd&colorA=414853 )] ( https://www.npmjs.com/package/@studiometa/prettier-formatter-gitlab/ )
5
5
[ ![ Size] ( https://img.shields.io/bundlephobia/minzip/@studiometa/prettier-formatter-gitlab?style=flat&colorB=3e63dd&colorA=414853&label=size )] ( https://bundlephobia.com/package/@studiometa/prettier-formatter-gitlab )
6
6
[ ![ Dependency Status] ( https://img.shields.io/librariesio/release/npm/@studiometa/prettier-formatter-gitlab?style=flat&colorB=3e63dd&colorA=414853 )] ( https://david-dm.org/studiometa/prettier-formatter-gitlab )
7
7
![ Codecov] ( https://img.shields.io/codecov/c/github/studiometa/prettier-formatter-gitlab?style=flat&colorB=3e63dd&colorA=414853 )
8
8
9
- > Send Prettier errors to Gitlab's Code Quality reports.
9
+ Send Prettier errors to Gitlab's Code Quality reports.
10
10
11
11
## Installation
12
12
@@ -28,11 +28,11 @@ The report file path will be read from the `PRETTIER_CODE_QUALITY_REPORT` enviro
28
28
29
29
``` yaml
30
30
# .gitlab-ci.yml
31
- eslint :
31
+ prettier :
32
32
image : node:20
33
33
script :
34
34
- npm ci
35
- - prettier-formatter-gitlab 'prettier -l src/'
35
+ - npx prettier-formatter-gitlab 'prettier -l src/'
36
36
artifacts :
37
37
reports :
38
38
codequality : gl-codequality.json
You can’t perform that action at this time.
0 commit comments