fix: linting script (#201)
- `npm run lint` was missing a directory to lint - added `.` as directory to lint - changed `src` to `.` in `npm run lint-fix` - added `.js` ext to linter . lints also files we have in root
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
"build:package": "vite build",
|
||||
"build:types": "vue-tsc --declaration --emitDeclarationOnly && tsc-alias -p tsconfig.json",
|
||||
"build:production": "npm run build:package && npm run build:types",
|
||||
"lint": "eslint --ext .ts,.vue --ignore-path .gitignore",
|
||||
"lint-fix": "eslint --ext .ts,.vue --ignore-path .gitignore --fix src",
|
||||
"lint": "eslint . --ext .js,.ts,.vue --ignore-path .gitignore",
|
||||
"lint-fix": "eslint . --fix --ext .js,.ts,.vue --ignore-path .gitignore",
|
||||
"clear": "rm -fr ./dist && rm -fr ./dist_types",
|
||||
"format": "prettier . --write",
|
||||
"test": "vitest",
|
||||
|
||||
Reference in New Issue
Block a user