Commit d836d4b251e627d81b9f104cd39bb045b11f4109

Authored by Vben
1 parent e2cc5af9

chore: remove ls-lint

.husky/pre-commit
... ... @@ -4,10 +4,6 @@
4 4  
5 5 [ -n "$CI" ] && exit 0
6 6  
7   -# Check the file name
8   -# ! ls-lint cannot be used normally in mac pro of M1 system.
9   -npm run lint:ls-lint
10   -
11 7 # Format and submit code according to lintstagedrc.js configuration
12 8 npm run lint:lint-staged
13 9  
... ...
.ls-lint.yml deleted 100644 → 0
1   -ls:
2   - src/*:
3   - .js: kebab-case | PascalCase
4   - .vue: PascalCase | regex:^index
5   - .ts: camelCase | PascalCase
6   - .tsx: camelCase | PascalCase
7   - .d.ts: kebab-case
8   - .mock.ts: kebab-case
9   - .data.ts: camelCase | kebab-case
10   - .test-d.ts: kebab-case
11   - .less: kebab-case | PascalCase
12   - .spec.ts: camelCase | PascalCase
13   -
14   -ignore:
15   - - node_modules
16   - - .git
17   - - .circleci
18   - - .github
19   - - .vscode
20   - - .idea
21   - - dist
22   - - .local
23   - - .husky
24   - - src/locales/lang
CHANGELOG.zh_CN.md
... ... @@ -21,6 +21,10 @@
21 21 - 修复表格勾选列配置失效问题
22 22 - 确保一级菜单可以被隐藏
23 23  
  24 +### 🎫 Chores
  25 +
  26 +- 移除 ls-lint
  27 +
24 28 ## 2.1.0 (2021-03-15)
25 29  
26 30 ### ✨ Features
... ...
package.json
... ... @@ -21,7 +21,6 @@
21 21 "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
22 22 "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
23 23 "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
24   - "lint:ls-lint": "ls-lint",
25 24 "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
26 25 "lint:pretty": "pretty-quick --staged",
27 26 "test:gzip": "http-server dist --cors --gzip -c-1",
... ... @@ -59,7 +58,6 @@
59 58 "@commitlint/cli": "^12.0.1",
60 59 "@commitlint/config-conventional": "^12.0.1",
61 60 "@iconify/json": "^1.1.320",
62   - "@ls-lint/ls-lint": "^1.9.2",
63 61 "@purge-icons/generated": "^0.7.0",
64 62 "@types/crypto-js": "^4.0.1",
65 63 "@types/fs-extra": "^9.0.8",
... ...