Skip to content

Commit

Permalink
fix: fix esm import extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
ASafaeirad committed Apr 13, 2024
1 parent a1be413 commit 6a6a40d
Show file tree
Hide file tree
Showing 25 changed files with 12,173 additions and 25,363 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ module.exports = init({
modules: {
auto: true,
test: true,
prettier: true,
typescript: {
parserProject: './tsconfig.eslint.json',
},
},
rules: {
'@typescript-eslint/restrict-template-expressions': 'off',
'no-console': 'error',
'import/no-unresolved': 'off',
},
});
1 change: 0 additions & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install -- cspell "$1"
npx --no-install -- commitlint --edit "$1"
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
1 change: 0 additions & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

npm run verify
2 changes: 1 addition & 1 deletion .husky/prepare
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh

[ -d .git/ ] && npx --no-install -- husky install
[ -d .git/ ] && npx --no-install -- husky
exit 0
Loading

0 comments on commit 6a6a40d

Please sign in to comment.