Skip to content

Commit

Permalink
feat(eslint-config): disable unicorn/prefer-spread for loose config
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Feb 16, 2021
1 parent 518113b commit 7d42c93
Show file tree
Hide file tree
Showing 11 changed files with 795 additions and 777 deletions.
5 changes: 5 additions & 0 deletions .renovaterc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"@1stg"
]
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,24 @@
"type-coverage": "type-coverage --cache --detail --ignore-catch --ignore-files '**/*.d.ts' --strict"
},
"devDependencies": {
"@angular/core": "^11.1.0",
"@angular/core": "^11.2.0",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.22",
"@types/react": "^17.0.0",
"@types/node": "^14.14.28",
"@types/react": "^17.0.2",
"@types/unist": "^2.0.3",
"core-js": "^3.8.3",
"lerna": "^3.22.1",
"npm-run-all": "^4.1.5",
"react": "^17.0.1",
"ts-jest": "^26.4.4",
"ts-jest": "^26.5.1",
"tslint": "^6.1.3",
"type-coverage": "^2.14.9",
"typescript": "^4.1.3",
"typescript": "^4.1.5",
"vue": "^2.6.12",
"yarn-deduplicate": "^3.1.0"
},
"resolutions": {
"@babel/core": "^7.12.10",
"@babel/core": "^7.12.16",
"prettier": "^2.2.1"
},
"typeCoverage": {
Expand Down
6 changes: 3 additions & 3 deletions packages/app-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"@1stg/stylelint-config": "^1.0.0",
"@pkgr/es-modules": "^0.3.3",
"@pkgr/imagemin": "^0.4.5",
"browserslist": "^4.16.1",
"postcss": "^8.2.4",
"stylelint": "^13.9.0"
"browserslist": "^4.16.3",
"postcss": "^8.2.6",
"stylelint": "^13.10.0"
},
"publishConfig": {
"access": "public"
Expand Down
12 changes: 6 additions & 6 deletions packages/babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"@babel/core": ">=7.9.0"
},
"dependencies": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-decorators": "^7.12.12",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@babel/helper-plugin-utils": "^7.12.13",
"@babel/plugin-proposal-class-properties": "^7.12.13",
"@babel/plugin-proposal-decorators": "^7.12.13",
"@babel/preset-env": "^7.12.16",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.12.16",
"@pkgr/utils": "^0.4.5",
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1",
"@vue/babel-preset-jsx": "^1.2.4",
Expand Down
6 changes: 3 additions & 3 deletions packages/common-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"@1stg/prettier-config": "^1.0.0",
"@1stg/remark-config": "^1.0.0",
"@1stg/tsconfig": "^1.0.0",
"@babel/core": "^7.12.10",
"eslint": "^7.18.0",
"@babel/core": "^7.12.16",
"eslint": "^7.20.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"tslib": "^2.1.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config/loose.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ module.exports = {
'unicorn/explicit-length-check': 0,
'unicorn/no-fn-reference-in-iterator': 0,
'unicorn/prefer-number-properties': 0,
'unicorn/prefer-spread': 0,
},
}
21 changes: 10 additions & 11 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,29 @@
"eslint": ">=6.0.0"
},
"dependencies": {
"@babel/eslint-parser": "^7.12.1",
"@babel/eslint-plugin": "^7.12.1",
"@babel/eslint-parser": "^7.12.16",
"@babel/eslint-plugin": "^7.12.13",
"@pkgr/utils": "^0.4.5",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/eslint-plugin-tslint": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/eslint-plugin-tslint": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"eslint-config-prettier": "^7.2.0",
"eslint-config-standard": "^16.0.2",
"eslint-config-standard-jsx": "^10.0.0",
"eslint-config-standard-react": "^11.0.1",
"eslint-formatter-friendly": "^7.0.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-mdx": "^1.8.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-sonarjs": "^0.5.0",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-unicorn": "^27.0.0",
"eslint-plugin-vue": "^7.5.0"
"eslint-plugin-sonarjs": "^0.6.0",
"eslint-plugin-unicorn": "^28.0.1",
"eslint-plugin-vue": "^7.6.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"postcss": ">=7.0.0"
},
"dependencies": {
"autoprefixer": "^10.2.3",
"autoprefixer": "^10.2.4",
"cssnano": "^4.1.10",
"cssnano-preset-advanced": "^4.0.7",
"postcss-import": "^14.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"prettier": ">=1.18.0"
},
"dependencies": {
"@prettier/plugin-pug": "^1.13.2",
"@prettier/plugin-ruby": "^1.5.0",
"@prettier/plugin-pug": "^1.13.3",
"@prettier/plugin-ruby": "^1.5.2",
"@prettier/plugin-xml": "^0.13.0",
"prettier-plugin-pkg": "^0.8.0",
"prettier-plugin-sh": "^0.6.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"stylelint-high-performance-animation": "^1.5.2",
"stylelint-no-unsupported-browser-features": "^4.1.4",
"stylelint-prettier": "^1.1.2",
"stylelint-scss": "^3.18.0"
"stylelint-scss": "^3.19.0"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit 7d42c93

Please sign in to comment.