Skip to content

Commit

Permalink
ESLINT Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hrai committed Jul 8, 2024
1 parent 759e7f3 commit da359c9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/bin/bash

# Bash sets the BASH environment variable, so if it is not set, then we
# are running in a different shell, so manually run ourselves in BASH.
if [ -z "${BASH:-}" ]; then
exec bash "$0" "$@"
fi

# Include any branches for which you wish to disable this script
if [ -z "$BRANCHES_TO_SKIP" ]; then
BRANCHES_TO_SKIP=(master develop staging test)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"web": "nodemon app.js",
"test": "yarn jest",
"test-watch": "yarn jest --watch test/",
"lint": "eslint .",
"lint-fix": "eslint --fix .",
"lint": "yarn eslint .",
"lint-fix": "yarn eslint --fix .",
"update-version:chrome": "yarn dot-json distribution/manifest_v3.json version $VER && cd distribution && mv manifest_v3.json manifest.json",
"update-version:firefox": "yarn dot-json distribution/manifest_v2.json version $VER && cd distribution && mv manifest_v2.json manifest.json",
"release:firefox": "cd distribution && yarn web-ext-submit",
Expand Down
2 changes: 2 additions & 0 deletions src/acronym-constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,8 @@ let localAcronyms = [
'AIM',
'AB',
'ABv2',
'CX',
'PX',
];

export const acronyms = commonAcronyms.concat(
Expand Down

0 comments on commit da359c9

Please sign in to comment.