Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dashboard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
dashboard
Commits
267e809a
Commit
267e809a
authored
2 years ago
by
Konrad Mohrfeldt
Committed by
David Trattnig
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix(test): respect .prettierignore file when linting
parent
904c18de
No related branches found
Branches containing commit
Tags
1.0.0-alpha1
Tags containing commit
No related merge requests found
Pipeline
#2953
passed
2 years ago
Stage: test
Stage: release
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package.json
+2
-2
2 additions, 2 deletions
package.json
with
2 additions
and
2 deletions
package.json
+
2
−
2
View file @
267e809a
...
@@ -7,13 +7,13 @@
...
@@ -7,13 +7,13 @@
"build"
:
"vite build"
,
"build"
:
"vite build"
,
"lint"
:
"npm run lint-eslint && npm run lint-prettier"
,
"lint"
:
"npm run lint-eslint && npm run lint-prettier"
,
"lint-eslint"
:
"eslint --color --ext .js,.vue --ignore-path .gitignore --ignore-path .eslintignore src/"
,
"lint-eslint"
:
"eslint --color --ext .js,.vue --ignore-path .gitignore --ignore-path .eslintignore src/"
,
"lint-prettier"
:
"prettier . --check --ignore-path .gitignore"
,
"lint-prettier"
:
"prettier . --check --ignore-path .gitignore
--ignore-path .prettierignore
"
,
"format"
:
"npm run lint-prettier -- --write && npm run lint-eslint -- --fix"
,
"format"
:
"npm run lint-prettier -- --write && npm run lint-eslint -- --fix"
,
"spell"
:
"npx cspell -c cspell.json **/*.{txt,js,ts,md}"
,
"spell"
:
"npx cspell -c cspell.json **/*.{txt,js,ts,md}"
,
"prepare"
:
"husky install"
"prepare"
:
"husky install"
},
},
"lint-staged"
:
{
"lint-staged"
:
{
"*"
:
"prettier --check --ignore-path .gitignore"
,
"*"
:
"prettier --check --ignore-path .gitignore
--ignore-path .prettierignore
"
,
"*.{js,ts,vue}"
:
"eslint --color --ignore-path .gitignore --ignore-path .eslintignore"
"*.{js,ts,vue}"
:
"eslint --color --ignore-path .gitignore --ignore-path .eslintignore"
},
},
"dependencies"
:
{
"dependencies"
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment