Skip to content

Commit

Permalink
feat(eslint): enable eslint for the website
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc committed Dec 17, 2021
1 parent 35d4a4a commit 1ec5fbd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
5 changes: 4 additions & 1 deletion Makefile
Expand Up @@ -230,6 +230,9 @@ website-deploy: ##@2 website build & deploy website
website-audit: ##@2 website audit website build
@cd website && yarn analyze

website-lint: ##@2 website run eslint on the website code
@./node_modules/.bin/eslint ./website/src

website-sprites: ##@2 website build sprite sheet
@glue --img website/src/assets --css website/src/styles website/src/assets/icons

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

api-lint:
api-lint: ##@5 API run eslint on the API code
@./node_modules/.bin/eslint ./api/src

api-deploy: ##@5 Deploy API on heroku
Expand Down
15 changes: 0 additions & 15 deletions website/.babelrc

This file was deleted.

1 change: 0 additions & 1 deletion website/package.json
Expand Up @@ -36,7 +36,6 @@
"@types/react-helmet": "^6.1.4",
"@types/styled-components": "^5.1.18",
"babel-plugin-styled-components": "^1.13.2",
"babel-preset-gatsby": "^2.4.0",
"dedent-js": "^1.0.1",
"gatsby": "^4.4.0",
"gatsby-image": "^3.11.0",
Expand Down

0 comments on commit 1ec5fbd

Please sign in to comment.