Skip to content

Commit

Permalink
Add Javascript linting
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bucher committed Dec 21, 2023
1 parent 51a902d commit 7328fba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/javascript_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
with:
node-version: ${{ matrix.node }}
- run: npm install
- name: Linting
run: |
# FIXME: we need to fix the findings, first
#npm run lint
- name: Testing
run: npm run test
...
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,18 @@
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"eslint": "^6.7.2",
"jest": "^23.6.0",
"jest-prop-type-error": "^1.1.0",
"lodash": "^4.17.11",
"prettier": "^1.19.1",
"react-redux-test-utils": "^0.1.1",
"sortabular": "^1.5.1",
"table-resolver": "^3.2.0"
},
"scripts": {
"lint": "tfm-lint --plugin -d *.js,webpack",
"lint-fix": "tfm-lint --plugin -d *.js,webpack --fix",
"test": "jest --no-cache"
},
"repository": {
Expand Down

0 comments on commit 7328fba

Please sign in to comment.