Skip to content

Commit

Permalink
Add prettier and eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
theimbender committed Feb 15, 2021
1 parent 885e488 commit c13bf0d
Show file tree
Hide file tree
Showing 11 changed files with 2,693 additions and 238 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
views/build/
9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"env": {
"browser": true,
"es6": true
},
"parserOptions": {
"sourceType": "module"
}
}
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
views/build/
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@
"branch-alias": {
"dev-main": "2.0-dev"
}
},
"scripts": {
"test": "vendor/bin/phpunit"
}
}
Loading

0 comments on commit c13bf0d

Please sign in to comment.