Skip to content

Commit ec1a9be

Browse files
authored
Merge pull request #2118 from nextcloud/fix-lint-run
fix(lint): Update ESLint command to use flat config
2 parents 6c9bf62 + 886195a commit ec1a9be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"watch": "vite --mode development build --watch",
2121
"typescript:check": "tsc --noEmit",
2222
"typescript:generate": "npx openapi-typescript ./openapi.json --immutable -t -o src/types/openapi/openapi.ts",
23-
"lint": "eslint --ext .js,.vue src",
24-
"lint:fix": "eslint --ext .js,.vue src --fix",
23+
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint --ext .js,.vue src",
24+
"lint:fix": "ESLINT_USE_FLAT_CONFIG=false eslint --ext .js,.vue src --fix",
2525
"stylelint": "stylelint 'css/*.css' 'css/*.scss' 'src/**/*.scss' 'src/**/*.vue'",
2626
"stylelint:fix": "stylelint 'css/*.css' 'css/*.scss' 'src/**/*.scss' 'src/**/*.vue' --fix",
2727
"tests": "npx cypress run",

0 commit comments

Comments
 (0)