Use jsx extension
This commit is contained in:
parent
98be7e2076
commit
1c164c4376
28 changed files with 2 additions and 1 deletions
|
@ -36,6 +36,7 @@ default: &default
|
|||
extensions:
|
||||
- .mjs
|
||||
- .js
|
||||
- .jsx
|
||||
- .sass
|
||||
- .scss
|
||||
- .css
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue