UNPKG
@gitlab/eslint-plugin
Version:
latest (21.3.1)
21.3.1
21.3.0
21.2.1
21.2.0
21.1.0
21.0.0
20.7.1
20.7.0
20.6.0
20.5.0
20.4.1
20.4.0
20.3.0
20.2.1
20.2.0
20.1.0
20.0.0
19.6.1
19.6.0
19.5.0
19.4.0
19.3.0
19.2.0
19.1.0
19.0.1
19.0.0
18.3.2
18.3.1
18.3.0
18.2.1
18.2.0
18.1.0
18.0.0
17.0.0
16.0.0
15.0.0
14.0.0
13.1.0
13.0.0
12.3.0
12.2.1
12.2.0
12.1.0
12.0.1
12.0.0
11.0.0
10.0.2
10.0.1
10.0.0
9.4.0
9.3.0
9.2.0
9.1.0
9.0.3
9.0.2
9.0.1
9.0.0
8.4.0
8.3.0
8.2.0
8.1.0
8.0.0
7.0.3
7.0.2
7.0.1
7.0.0
6.0.0
5.0.0
4.1.0
4.0.0
3.2.0
3.1.0
3.0.0
2.2.1
2.2.0
2.1.1
2.1.0
2.0.0
1.1.0
1.0.0
GitLab package for our custom eslint rules
gitlab.com/gitlab-org/frontend/eslint-plugin
@gitlab/eslint-plugin
/
lefthook.yml
10 lines
(9 loc)
•
202 B
YAML
View Raw
1
2
3
4
5
6
7
8
9
10
pre-commit:
piped:
true
fail_on_changes:
always
commands:
update:
run:
yarn
run
update
prettier:
glob:
'*.{js,mjs,json,yml,md}'
run:
yarn
prettier
--write
{
staged_files
}