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
e969d3e0
Commit
e969d3e0
authored
Aug 21, 2020
by
Illya Klymov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix eslint-staged script to respect deleted files
parent
968cf42f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
package.json
package.json
+2
-2
No files found.
package.json
View file @
e969d3e0
...
...
@@ -7,8 +7,8 @@
"dev-server"
:
"NODE_OPTIONS=
\"
--max-old-space-size=3584
\"
node scripts/frontend/webpack_dev_server.js"
,
"eslint"
:
"eslint --cache --max-warnings 0 --report-unused-disable-directives --ext .js,.vue ."
,
"eslint-fix"
:
"eslint --cache --max-warnings 0 --report-unused-disable-directives --ext .js,.vue --fix ."
,
"eslint-staged"
:
"git diff --cached --name-only | grep -E
\"
(.*)
\\
.(js|vue)$
\"
| xargs eslint --cache --max-warnings 0 --report-unused-disable-directives"
,
"eslint-staged-fix"
:
"git diff --cached --name-only | grep -E
\"
(.*)
\\
.(js|vue)$
\"
| xargs eslint --cache --max-warnings 0 --report-unused-disable-directives --fix"
,
"eslint-staged"
:
"git diff --
diff-filter='ACMRTUX' --
cached --name-only | grep -E
\"
(.*)
\\
.(js|vue)$
\"
| xargs eslint --cache --max-warnings 0 --report-unused-disable-directives"
,
"eslint-staged-fix"
:
"git diff --
diff-filter='ACMRTUX' --
cached --name-only | grep -E
\"
(.*)
\\
.(js|vue)$
\"
| xargs eslint --cache --max-warnings 0 --report-unused-disable-directives --fix"
,
"eslint-report"
:
"eslint --max-warnings 0 --ext .js,.vue --format html --output-file ./eslint-report.html --no-inline-config ."
,
"file-coverage"
:
"scripts/frontend/file_test_coverage.js"
,
"prejest"
:
"yarn check-dependencies"
,
...
...
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