Skip to content
Snippets Groups Projects
Unverified Commit f9b5d921 authored by Andreas Nedbal's avatar Andreas Nedbal Committed by GitHub
Browse files

Fix: Adjust ESLint calls to properly interpret globs (#8462)

* fix(backend): rename .eslintrc.js to .eslintrc.cjs

* fix(backend): wrap lint path glob in quotation marks

* fix(client): wrap lint path glob in quotation marks

* chore(workflow): make lint workflow use Node 16
parent 61dfa6d5
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ jobs:
submodules: true
- uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x
- uses: actions/cache@v2
with:
path: '**/node_modules'
......
File moved
......@@ -5,7 +5,7 @@
"scripts": {
"build": "tsc -p tsconfig.json || echo done. && tsc-alias -p tsconfig.json",
"watch": "node watch.mjs",
"lint": "eslint --quiet src/**/*.ts",
"lint": "eslint --quiet 'src/**/*.ts'",
"mocha": "cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=\"./test/tsconfig.json\" mocha",
"test": "npm run mocha"
},
......
......@@ -3,7 +3,7 @@
"scripts": {
"watch": "webpack --watch",
"build": "webpack",
"lint": "eslint --quiet src/**/*.{ts,vue}"
"lint": "eslint --quiet 'src/**/*.{ts,vue}'"
},
"resolutions": {
"chokidar": "^3.3.1",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment