Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added lint-fix to Makefile (eslint --fix), now also lints typescript …
…files
  • Loading branch information
ErikBjare committed Mar 15, 2020
1 parent 8f9af1c commit 3ea66bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Expand Up @@ -11,7 +11,7 @@
"plugin:@typescript-eslint/eslint-recommended"
],
"rules": {
"prettier/prettier": "off",
"prettier/prettier": "warn",
"vue/require-default-prop": "off",
"vue/prop-name-casing": "off",
"vue/name-property-casing": "off",
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Expand Up @@ -21,7 +21,10 @@ clean:
rm -rf node_modules dist

lint:
npx eslint --ext=js,vue src/
npx eslint --ext=js,ts,vue src/

lint-fix:
npx eslint --ext=js,ts,vue --fix src/

aw-client-js:
make --directory=aw-client-js build

0 comments on commit 3ea66bb

Please sign in to comment.