Skip to content

Commit

Permalink
Fix ESLint errors (#129)
Browse files Browse the repository at this point in the history
* Fix ESLint errors

* Fix CircleCI config
  • Loading branch information
mtlynch authored Mar 25, 2022
1 parent cb8d937 commit 134f8d7
Show file tree
Hide file tree
Showing 10 changed files with 746 additions and 17 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- run:
name: Check that all text files end in a trailing newline
command: ./dev-scripts/check-trailing-newline
check_frontend_formatting:
check_frontend:
docker:
- image: cimg/node:16.14.2
steps:
Expand All @@ -23,6 +23,9 @@ jobs:
- run:
name: Check formatting
command: npm run check-format
- run:
name: Check lint
command: npm run lint
test_go:
docker:
- image: cimg/go:1.17.4
Expand Down Expand Up @@ -93,13 +96,13 @@ workflows:
test_deploy:
jobs:
- check_whitespace
- check_frontend_formatting
- check_frontend
- test_go
- e2e
- deploy:
requires:
- check_whitespace
- check_frontend_formatting
- check_frontend
- test_go
- e2e
filters:
Expand Down
14 changes: 14 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
root: true,
env: {
node: true,
es6: true,
},
extends: ["plugin:cypress/recommended", "eslint:recommended"],
rules: {
"no-console": "error",
},
parserOptions: {
parser: "babel-eslint",
},
};
2 changes: 1 addition & 1 deletion e2e/cypress/plugins/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = function (on, config) {
module.exports = function () {
// Add plugins here.
};
Loading

0 comments on commit 134f8d7

Please sign in to comment.