Skip to content

Commit

Permalink
disable webpack eslint plugin for now, run the eslint when deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
aorin committed Nov 22, 2024
1 parent 8f580d4 commit b40b50d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
- name: Install frontend packages
run: npm install
working-directory: ./frontend
- name: Lint frontend
run: npm run lint
working-directory: ./frontend
- name: Run frontend tests
run: npm test
working-directory: ./frontend
Expand Down
9 changes: 3 additions & 6 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
},
"scripts": {
"start": "DISABLE_ESLINT_PLUGIN=true react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --transformIgnorePatterns \"node_modules/(?!@codemirror)/\"",
"eject": "react-scripts eject",
"build": "DISABLE_ESLINT_PLUGIN=true react-scripts build",
"test": "DISABLE_ESLINT_PLUGIN=true react-scripts test --transformIgnorePatterns \"node_modules/(?!@codemirror)/\"",
"eject": "DISABLE_ESLINT_PLUGIN=true react-scripts eject",
"start-api": "cd ../lintuasema-backend && . venv/bin/activate && pip3 install -r requirements.txt && flask run",
"start-api:test": "DB_TYPE=sqlite npm run start-api",
"build-copy": "npm run build && cp build ../lintuasema-backend/ -r",
Expand All @@ -51,9 +51,6 @@
"jest": {
"globalSetup": "./global-setup.js"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
Expand Down

0 comments on commit b40b50d

Please sign in to comment.