mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-01-23 09:40:22 +08:00
chore: remove ls-lint
This commit is contained in:
parent
e2cc5af937
commit
d836d4b251
@ -4,10 +4,6 @@
|
||||
|
||||
[ -n "$CI" ] && exit 0
|
||||
|
||||
# Check the file name
|
||||
# ! ls-lint cannot be used normally in mac pro of M1 system.
|
||||
npm run lint:ls-lint
|
||||
|
||||
# Format and submit code according to lintstagedrc.js configuration
|
||||
npm run lint:lint-staged
|
||||
|
||||
|
24
.ls-lint.yml
24
.ls-lint.yml
@ -1,24 +0,0 @@
|
||||
ls:
|
||||
src/*:
|
||||
.js: kebab-case | PascalCase
|
||||
.vue: PascalCase | regex:^index
|
||||
.ts: camelCase | PascalCase
|
||||
.tsx: camelCase | PascalCase
|
||||
.d.ts: kebab-case
|
||||
.mock.ts: kebab-case
|
||||
.data.ts: camelCase | kebab-case
|
||||
.test-d.ts: kebab-case
|
||||
.less: kebab-case | PascalCase
|
||||
.spec.ts: camelCase | PascalCase
|
||||
|
||||
ignore:
|
||||
- node_modules
|
||||
- .git
|
||||
- .circleci
|
||||
- .github
|
||||
- .vscode
|
||||
- .idea
|
||||
- dist
|
||||
- .local
|
||||
- .husky
|
||||
- src/locales/lang
|
@ -21,6 +21,10 @@
|
||||
- 修复表格勾选列配置失效问题
|
||||
- 确保一级菜单可以被隐藏
|
||||
|
||||
### 🎫 Chores
|
||||
|
||||
- 移除 ls-lint
|
||||
|
||||
## 2.1.0 (2021-03-15)
|
||||
|
||||
### ✨ Features
|
||||
|
@ -21,7 +21,6 @@
|
||||
"lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
||||
"lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
||||
"lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
||||
"lint:ls-lint": "ls-lint",
|
||||
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
|
||||
"lint:pretty": "pretty-quick --staged",
|
||||
"test:gzip": "http-server dist --cors --gzip -c-1",
|
||||
@ -59,7 +58,6 @@
|
||||
"@commitlint/cli": "^12.0.1",
|
||||
"@commitlint/config-conventional": "^12.0.1",
|
||||
"@iconify/json": "^1.1.320",
|
||||
"@ls-lint/ls-lint": "^1.9.2",
|
||||
"@purge-icons/generated": "^0.7.0",
|
||||
"@types/crypto-js": "^4.0.1",
|
||||
"@types/fs-extra": "^9.0.8",
|
||||
|
Loading…
Reference in New Issue
Block a user