Skip to content

Commit

Permalink
Part of #402: Move eslint 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 17c6c2f commit b4a4891
Show file tree
Hide file tree
Showing 3 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 @@ -21,7 +21,7 @@ fi

readarray -t changed_js < <(get_changed_files '*/*.cjs' '*/*.js' '*/*.mjs')
if [ ! -z "$changed_js" ]; then
eslint "${changed_js[@]}" &
eslint "${changed_js[@]}" --config configs/eslint.config.mjs &
pids="$pids $!"
fi

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"debug:render": "electronmon --remote-debugging-port=9222 .",
"lint": "npm-run-all --parallel lint:*",
"lint:css": "stylelint css/*.css --config configs/.stylelintrc.json --ignore-path configs/.stylelintignore",
"lint:eslint": "eslint .",
"lint:eslint": "eslint . --config configs/eslint.config.mjs",
"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",
"lint-fix": "npm-run-all --parallel lint-fix:*",
Expand Down

0 comments on commit b4a4891

Please sign in to comment.