Skip to content

Commit def91ea

Browse files
committed
chore: bump v0.5.0
1 parent 160c989 commit def91ea

File tree

6 files changed

+343
-496
lines changed

6 files changed

+343
-496
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.DS_Store
22
node_modules
3-
lib
3+
lib
4+
yarn-error.log

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [0.5.0] - 2021-12-01
2+
3+
- 移除 `eslint-plugin-jsx-a11y`
4+
15
## [0.4.4...0.4.6] - 2021-10-31
26

37
- 升级 `ESlint` 8.x

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prefer-code-style",
3-
"version": "0.4.6",
3+
"version": "0.5.0",
44
"description": "A collection of configuration files containing prettier, eslint, stylelint",
55
"keywords": [
66
"code style",
@@ -25,13 +25,13 @@
2525
"scripts": {
2626
"prebuild": "rimraf ./lib/",
2727
"build": "tsc --build tsconfig.json",
28-
"prepublishOnly": "yarn build",
2928
"deps": "yarn upgrade-interactive --latest",
3029
"lint": "yarn lint:es",
3130
"lint:es": "eslint --ignore-path \"./.eslintignore\" \"./**/*.{js,jsx,ts,tsx}\"",
32-
"test:js": "yarn build && cd ./jsExample && yarn lint",
31+
"prepublishOnly": "yarn build",
32+
"test": "echo \"Error: no test specified\" && exit 1",
3333
"test:demo": "yarn build && cd ./demo && yarn lint",
34-
"test": "echo \"Error: no test specified\" && exit 1"
34+
"test:js": "yarn build && cd ./jsExample && yarn lint"
3535
},
3636
"config": {
3737
"commitizen": {
@@ -46,7 +46,6 @@
4646
"eslint": "^8.1.0",
4747
"eslint-config-prettier": "^8.3.0",
4848
"eslint-plugin-import": "^2.25.2",
49-
"eslint-plugin-jsx-a11y": "^6.4.1",
5049
"eslint-plugin-prettier": "^4.0.0",
5150
"eslint-plugin-react": "^7.26.1",
5251
"eslint-plugin-react-hooks": "^4.2.1-alpha-9c8161ba8-20211028",
@@ -55,14 +54,14 @@
5554
"stylelint": "^14.0.1",
5655
"stylelint-config-prettier": "^9.0.3",
5756
"stylelint-config-rational-order": "^0.1.2",
58-
"stylelint-config-standard": "^23.0.0",
57+
"stylelint-config-standard": "^24.0.0",
5958
"stylelint-order": "^5.0.0",
60-
"stylelint-prettier": "^1.2.0",
59+
"stylelint-prettier": "^2.0.0",
6160
"stylelint-scss": "^4.0.0"
6261
},
6362
"devDependencies": {
6463
"cz-conventional-changelog": "3.3.0",
6564
"rimraf": "^3.0.2",
66-
"typescript": "4.4.4"
65+
"typescript": "4.5.2"
6766
}
6867
}

src/app.scss

Whitespace-only changes.

src/eslint.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ module.exports = {
2222
IS_TS_PROJECT ? 'plugin:@typescript-eslint/recommended' : null,
2323
'plugin:import/recommended',
2424
IS_TS_PROJECT ? 'plugin:import/typescript' : null,
25-
'plugin:jsx-a11y/recommended',
2625
'plugin:react/recommended',
2726
'plugin:react-hooks/recommended',
2827
'plugin:prettier/recommended',

0 commit comments

Comments
 (0)