Skip to content

Commit

Permalink
Part of #402: Move stylelint files to configs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
tupaschoal committed Feb 13, 2025
1 parent 515d9d1 commit 17c6c2f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ get_changed_files()

readarray -t changed_css < <(get_changed_files 'css/*.css')
if [ ! -z "$changed_css" ]; then
stylelint -- "${changed_css[@]}" &
stylelint -- "${changed_css[@]}" --config configs/.stylelintrc.json --ignore-path configs/.stylelintignore &
pids="$pids $!"
fi

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"debug:main": "electronmon --inspect=5858 .",
"debug:render": "electronmon --remote-debugging-port=9222 .",
"lint": "npm-run-all --parallel lint:*",
"lint:css": "stylelint css/*.css",
"lint:css": "stylelint css/*.css --config configs/.stylelintrc.json --ignore-path configs/.stylelintignore",
"lint:eslint": "eslint .",
"lint:markdown": "prettier -c docs/*.md *.md --config configs/.prettierrc.json --ignore-path .gitignore --ignore-path configs/.prettierignore",
"lint:json": "prettier -c locales/*/*.json --config configs/.prettierrc.json --ignore-path .gitignore --ignore-path configs/.prettierignore",
Expand Down

0 comments on commit 17c6c2f

Please sign in to comment.