Skip to content

Commit

Permalink
fix(eslint-config): disable prefer-number-properties for loose config
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Apr 7, 2020
1 parent 244834a commit d5caba9
Show file tree
Hide file tree
Showing 9 changed files with 288 additions and 143 deletions.
6 changes: 3 additions & 3 deletions packages/app-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"browserslist": "^4.11.1",
"eslint": "^6.8.0",
"husky": "^4.2.3",
"lint-staged": "^10.1.1",
"lint-staged": "^10.1.2",
"postcss": "^7.0.27",
"prettier": "^2.0.2",
"stylelint": "^13.2.1",
"prettier": "^2.0.4",
"stylelint": "^13.3.0",
"tslib": "^1.11.1"
},
"publishConfig": {
Expand Down
6 changes: 0 additions & 6 deletions packages/eslint-config/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,5 @@ module.exports = {
},
],
'unicorn/prevent-abbreviations': 0,
'unicorn/regex-shorthand': [
2,
{
sortCharacterClasses: false,
},
],
},
}
1 change: 1 addition & 0 deletions packages/eslint-config/loose.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ module.exports = {
'promise/always-return': 0,
'promise/catch-or-return': 0,
'unicorn/explicit-length-check': 0,
'unicorn/prefer-number-properties': 0,
},
}
6 changes: 3 additions & 3 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
},
"dependencies": {
"@pkgr/utils": "^0.4.3",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/eslint-plugin-tslint": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/eslint-plugin-tslint": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"babel-eslint": "^10.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-config-standard": "^14.1.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/lib-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"@pkgr/rollup": "^0.10.3",
"eslint": "^6.8.0",
"husky": "^4.2.3",
"jest": "^25.2.6",
"lint-staged": "^10.1.1",
"prettier": "^2.0.2",
"jest": "^25.2.7",
"lint-staged": "^10.1.2",
"prettier": "^2.0.4",
"tslib": "^1.11.1"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/lint-staged/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"dependencies": {
"@pkgr/utils": "^0.4.3",
"@prettier/plugin-pug": "^1.2.0",
"@prettier/plugin-ruby": "^0.18.0",
"@prettier/plugin-ruby": "^0.18.1",
"cross-env": "^7.0.2",
"prettier": "^2.0.2",
"prettier": "^2.0.4",
"prettier-plugin-sh": "^0.3.0",
"prettier-plugin-toml": "^0.3.1"
},
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": "^9.7.5",
"autoprefixer": "^9.7.6",
"cssnano": "^4.1.10",
"cssnano-preset-advanced": "^4.0.7",
"postcss-import": "^12.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@prettier/plugin-pug": "^1.2.0",
"@prettier/plugin-ruby": "^0.18.0",
"@prettier/plugin-ruby": "^0.18.1",
"prettier-plugin-pkg": "^0.5.0",
"prettier-plugin-sh": "^0.3.0",
"prettier-plugin-toml": "^0.3.1"
Expand Down
Loading

0 comments on commit d5caba9

Please sign in to comment.