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
This commit is contained in:
Andreas Nedbal 2022-04-02 15:52:26 +02:00 committed by GitHub
parent 61dfa6d598
commit f9b5d92176
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 3 deletions

View file

@ -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'

View file

@ -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"
},

View file

@ -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",