- Linting: Add back `lint-arg`

master
Brett Zamir 2020-09-17 11:11:01 +08:00
parent e1bf86a249
commit ab99a2804c
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@
}, },
"scripts": { "scripts": {
"lint": "eslint --ext js,html,md .", "lint": "eslint --ext js,html,md .",
"lint-arg": "eslint --ext js,html,md",
"test": "run-s cypress:instrument test-only", "test": "run-s cypress:instrument test-only",
"build": "rollup -c", "build": "rollup -c",
"build:watch": "rollup -c --watch", "build:watch": "rollup -c --watch",
@ -77,7 +78,7 @@
"lint-staged": { "lint-staged": {
".eslintignore": "npm run lint", ".eslintignore": "npm run lint",
".eslintrc.js": "npm run lint", ".eslintrc.js": "npm run lint",
"src/**/*.{js,md,html}": "npm run lint", "src/**/*.{js,md,html}": "npm run lint-arg --",
"src/editor/images/*.png": "npm run imageoptim --" "src/editor/images/*.png": "npm run imageoptim --"
}, },
"run-if-changed": { "run-if-changed": {