fix: lint both js and jsx files.

Updating jsx to pass linter, too.
This commit is contained in:
David Joy
2020-02-04 14:58:19 -05:00
parent ee4908565f
commit ec7166ad5d
4 changed files with 12 additions and 6 deletions

View File

@@ -14,7 +14,7 @@
"build": "fedx-scripts webpack",
"i18n_extract": "BABEL_ENV=i18n fedx-scripts babel src --quiet > /dev/null",
"is-es5": "es-check es5 ./dist/*.js",
"lint": "fedx-scripts eslint",
"lint": "fedx-scripts eslint --ext .js --ext .jsx .",
"snapshot": "fedx-scripts jest --updateSnapshot",
"start": "fedx-scripts webpack-dev-server --progress",
"test": "fedx-scripts jest --coverage --passWithNoTests"