Skip to content

Commit

Permalink
πŸ“Œ versions: up version (#59)
Browse files Browse the repository at this point in the history
* πŸ“Œ versions: up version

* fix ts error
  • Loading branch information
chenshuai2144 committed Oct 18, 2020
1 parent f7166c0 commit 921a1d9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,32 +32,32 @@
"deps": "yarn upgrade-interactive --latest"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^4.4.0",
"eslint": "^7.3.1",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"eslint": "^7.11.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-airbnb-typescript": "^8.0.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-config-prettier": "^6.13.0",
"eslint-formatter-pretty": "^4.0.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-compat": "^3.1.1",
"eslint-plugin-eslint-comments": "^3.1.1",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jest": "^23.17.1",
"eslint-plugin-jest": "^24.0.1",
"eslint-plugin-jsx-a11y": "^6.2.0",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-react-hooks": "^4.0.5",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-plugin-unicorn": "^20.0.0",
"stylelint": "^13.2.1",
"stylelint": "^13.7.0",
"stylelint-config-css-modules": "^2.2.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
"stylelint-order": "^4.0.0",
"typescript": "^3.8.3"
"typescript": "^4.0.0"
},
"devDependencies": {
"np": "^6.2.5"
Expand Down
3 changes: 1 addition & 2 deletions src/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module.exports = {
jasmine: true,
},
rules: {
'no-use-before-define': 'off',
'react/jsx-wrap-multilines': 0,
'react/prop-types': 0,
'react/forbid-prop-types': 0,
Expand Down Expand Up @@ -93,8 +94,6 @@ module.exports = {
'react/destructuring-assignment': 'off',
'react/jsx-filename-extension': 'off',
'sort-imports': 0,
// Use function hoisting to improve code readability
'no-use-before-define': ['error', { functions: false, classes: true, variables: true }],
// Makes no sense to allow type inferrence for expression parameters, but require typing the response
'@typescript-eslint/no-use-before-define': [
'error',
Expand Down

0 comments on commit 921a1d9

Please sign in to comment.