diff --git a/.github/workflows/javascript_tests.yml b/.github/workflows/javascript_tests.yml index 70424bd8..82dd6f30 100644 --- a/.github/workflows/javascript_tests.yml +++ b/.github/workflows/javascript_tests.yml @@ -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 ... diff --git a/package.json b/package.json index 57a57a5a..0e50ea04 100644 --- a/package.json +++ b/package.json @@ -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": {