Use jsx extension

This commit is contained in:
Paul Chavard 2021-02-10 19:02:24 +01:00
parent 98be7e2076
commit 1c164c4376
28 changed files with 2 additions and 1 deletions

View file

@ -36,6 +36,7 @@ default: &default
extensions:
- .mjs
- .js
- .jsx
- .sass
- .scss
- .css

View file

@ -53,7 +53,7 @@
"webpack-dev-server": "^3.11.0"
},
"scripts": {
"lint:js": "eslint ./app/javascript ./config/webpack",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx ./app/javascript ./config/webpack",
"webpack:build": "NODE_ENV=production bin/webpack",
"graphql:docs:build": "graphdoc --force",
"graphql:docs:deploy": "netlify deploy -d ./docs/graphql --prod",