Skip to content

Commit

Permalink
Merge pull request #13 from nrkno/NRKNO-6235
Browse files Browse the repository at this point in the history
NRKNO 6235
  • Loading branch information
mikaelrss authored May 19, 2023
2 parents 955a07d + 7895ef7 commit 2f5b43e
Show file tree
Hide file tree
Showing 6 changed files with 10,187 additions and 4,972 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"extends": ["eslint:recommended", "prettier"],
"parserOptions": {
"ecmaVersion": 2017,
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
Expand Down
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged && npm run test
4 changes: 2 additions & 2 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"*.{scss,json}": ["prettier --write", "git add"],
"*.{js,jsx}": ["prettier --write", "eslint", "git add"]
"*.{scss,json}": ["prettier --write"],
"*.{js,jsx}": ["prettier --write", "eslint"]
}
Loading

0 comments on commit 2f5b43e

Please sign in to comment.