Add cache option in remaining eslint scripts

pull/398/head
Amrit Timalsina 2022-11-16 15:27:45 +05:45
parent 18b5baf73e
commit 4584cff1da
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
"test": "npm run test:eslint && npm run test:stylelint && npm run test:i18n-packs && npm run test:jest", "test": "npm run test:eslint && npm run test:stylelint && npm run test:i18n-packs && npm run test:jest",
"test:jest": "jest --env=jsdom /test/.*.js?$", "test:jest": "jest --env=jsdom /test/.*.js?$",
"test:fix": "npm run test:eslint:fix", "test:fix": "npm run test:eslint:fix",
"test:eslint": "eslint 'src/**/*.{js,vue}'", "test:eslint": "eslint 'src/**/*.{js,vue}' --cache",
"test:eslint:fix": "npm run test:eslint -- --fix --cache", "test:eslint:fix": "npm run test:eslint -- --fix --cache",
"test:stylelint": "stylelint 'src/**/*.scss' --config node_modules/do-bulma/.stylelintrc.json", "test:stylelint": "stylelint 'src/**/*.scss' --config node_modules/do-bulma/.stylelintrc.json",
"test:i18n-packs": "node --es-module-specifier-resolution=node src/nginxconfig/i18n/verify.js", "test:i18n-packs": "node --es-module-specifier-resolution=node src/nginxconfig/i18n/verify.js",