Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
14d244a2
Commit
14d244a2
authored
Mar 01, 2021
by
Albert Salim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exclude deleted files
parent
075086e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
lefthook.yml
lefthook.yml
+7
-7
No files found.
lefthook.yml
View file @
14d244a2
...
@@ -5,36 +5,36 @@ pre-push:
...
@@ -5,36 +5,36 @@ pre-push:
run
:
bundle exec danger dry_run
run
:
bundle exec danger dry_run
eslint
:
eslint
:
tags
:
frontend style
tags
:
frontend style
files
:
git diff --name-only $(git merge-base origin/master HEAD)..HEAD
files
:
git diff --name-only
--diff-filter=d
$(git merge-base origin/master HEAD)..HEAD
glob
:
"
*.{js,vue}"
glob
:
"
*.{js,vue}"
run
:
yarn run internal:eslint {files}
run
:
yarn run internal:eslint {files}
haml-lint
:
haml-lint
:
tags
:
view haml style
tags
:
view haml style
files
:
git diff --name-only $(git merge-base origin/master HEAD)..HEAD
files
:
git diff --name-only
--diff-filter=d
$(git merge-base origin/master HEAD)..HEAD
glob
:
"
*.html.haml"
glob
:
"
*.html.haml"
run
:
bundle exec haml-lint --config .haml-lint.yml {files}
run
:
bundle exec haml-lint --config .haml-lint.yml {files}
markdownlint
:
markdownlint
:
tags
:
documentation style
tags
:
documentation style
files
:
git diff --name-only $(git merge-base origin/master HEAD)..HEAD
files
:
git diff --name-only
--diff-filter=d
$(git merge-base origin/master HEAD)..HEAD
glob
:
"
doc/*.md"
glob
:
"
doc/*.md"
run
:
yarn markdownlint {files}
run
:
yarn markdownlint {files}
stylelint
:
stylelint
:
tags
:
stylesheet css style
tags
:
stylesheet css style
files
:
git diff --name-only $(git merge-base origin/master HEAD)..HEAD
files
:
git diff --name-only
--diff-filter=d
$(git merge-base origin/master HEAD)..HEAD
glob
:
"
*.scss{,.css}"
glob
:
"
*.scss{,.css}"
run
:
yarn stylelint -q {files}
run
:
yarn stylelint -q {files}
prettier
:
prettier
:
tags
:
frontend style
tags
:
frontend style
files
:
git diff --name-only $(git merge-base origin/master HEAD)..HEAD
files
:
git diff --name-only
--diff-filter=d
$(git merge-base origin/master HEAD)..HEAD
glob
:
"
*.{js,vue,graphql}"
glob
:
"
*.{js,vue,graphql}"
run
:
yarn run prettier --check {files}
run
:
yarn run prettier --check {files}
rubocop
:
rubocop
:
tags
:
backend style
tags
:
backend style
files
:
git diff --name-only $(git merge-base origin/master HEAD)..HEAD
files
:
git diff --name-only
--diff-filter=d
$(git merge-base origin/master HEAD)..HEAD
glob
:
"
*.rb"
glob
:
"
*.rb"
run
:
bundle exec rubocop --parallel --force-exclusion {files}
run
:
bundle exec rubocop --parallel --force-exclusion {files}
vale
:
# Requires Vale: https://docs.gitlab.com/ee/development/documentation/#install-linters
vale
:
# Requires Vale: https://docs.gitlab.com/ee/development/documentation/#install-linters
tags
:
documentation style
tags
:
documentation style
files
:
git diff --name-only $(git merge-base origin/master HEAD)..HEAD
files
:
git diff --name-only
--diff-filter=d
$(git merge-base origin/master HEAD)..HEAD
glob
:
"
doc/*.md"
glob
:
"
doc/*.md"
run
:
if command -v vale 2> /dev/null; then vale --config .vale.ini --minAlertLevel error {files}; else echo "Vale not found. Install Vale"; fi
run
:
if command -v vale 2> /dev/null; then vale --config .vale.ini --minAlertLevel error {files}; else echo "Vale not found. Install Vale"; fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment