Skip to content

Commit 1ec5fbd

Browse files
committedDec 17, 2021
feat(eslint): enable eslint for the website
1 parent 35d4a4a commit 1ec5fbd

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed
 

‎Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ website-deploy: ##@2 website build & deploy website
230230
website-audit: ##@2 website audit website build
231231
@cd website && yarn analyze
232232

233+
website-lint: ##@2 website run eslint on the website code
234+
@./node_modules/.bin/eslint ./website/src
235+
233236
website-sprites: ##@2 website build sprite sheet
234237
@glue --img website/src/assets --css website/src/styles website/src/assets/icons
235238

@@ -266,7 +269,7 @@ api: ##@5 API run API in regular mode (no watcher)
266269
@echo "${YELLOW}Starting API${RESET}"
267270
@cd api && yarn start
268271

269-
api-lint:
272+
api-lint: ##@5 API run eslint on the API code
270273
@./node_modules/.bin/eslint ./api/src
271274

272275
api-deploy: ##@5 Deploy API on heroku

‎website/.babelrc

-15
This file was deleted.

‎website/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"@types/react-helmet": "^6.1.4",
3737
"@types/styled-components": "^5.1.18",
3838
"babel-plugin-styled-components": "^1.13.2",
39-
"babel-preset-gatsby": "^2.4.0",
4039
"dedent-js": "^1.0.1",
4140
"gatsby": "^4.4.0",
4241
"gatsby-image": "^3.11.0",

0 commit comments

Comments
 (0)
Please sign in to comment.