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 e6fd2be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/javascript_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
with:
node-version: ${{ matrix.node }}
- run: npm install
- name: Linting
run: |
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 e6fd2be

Please sign in to comment.