feat: update packages

This commit is contained in:
Sergey Krylov 2024-07-05 05:58:17 +03:00
parent 50f6c9f24b
commit 1be7c94d78
5 changed files with 42 additions and 11 deletions

View File

@ -28,25 +28,26 @@
"@commitlint/config-conventional": "19.1.0",
"eslint": "8.56.0",
"husky": "9.0.11",
"standard-version": "9.5.0"
"standard-version": "9.5.0",
"typescript": "5.4.0"
},
"main": "index.js",
"engines": {
"node": ">=16.13.0"
},
"dependencies": {
"@stylistic/eslint-plugin": "1.5.4",
"@typescript-eslint/eslint-plugin": "6.20.0",
"@typescript-eslint/parser": "6.20.0",
"@stylistic/eslint-plugin": "2.3.0",
"@typescript-eslint/eslint-plugin": "7.15.0",
"@typescript-eslint/parser": "7.15.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-jest-dom": "5.2.0",
"eslint-plugin-jest": "28.6.0",
"eslint-plugin-jest-dom": "5.4.0",
"eslint-plugin-jest-formatting": "3.1.0",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-testing-library": "6.2.0"
"eslint-plugin-jsx-a11y": "6.9.0",
"eslint-plugin-react": "7.34.3",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-testing-library": "6.2.2"
},
"peerDependencies": {
"eslint": ">=8.56.0",

View File

@ -121,6 +121,9 @@ module.exports = {
'require-await': 'off',
'@typescript-eslint/require-await': baseRules['require-await'],
"consistent-return": "off",
"@typescript-eslint/consistent-return": baseRules['consistent-return'],
'@typescript-eslint/return-await': ['error', 'in-try-catch'],
'import/extensions': [
@ -268,5 +271,6 @@ module.exports = {
'@typescript-eslint/typedef': 'error',
'@typescript-eslint/unbound-method': 'error',
'@typescript-eslint/unified-signatures': 'error',
"@typescript-eslint/prefer-find": "error"
},
}

View File

@ -55,6 +55,10 @@ module.exports = {
'submit': true,
'reset': false,
}],
"react/checked-requires-onchange-or-readonly": ['error', {
"ignoreMissingProperties": false,
"ignoreExclusiveCheckedAttribute": false,
}],
'react/default-props-match-prop-types': ['error', {
'allowRequiredDefaults': false,
}],
@ -111,7 +115,7 @@ module.exports = {
],
}],
'react/jsx-first-prop-new-line': 'off',
'react/jsx-fragments': ['error', 'syntax' ],
'react/jsx-fragments': ['error', 'syntax'],
'react/jsx-handler-names': ['off', {
'eventHandlerPrefix': 'handle',
'eventHandlerPropPrefix': 'on',

View File

@ -56,5 +56,6 @@ module.exports = {
'logical': 'parens-new-line',
'prop': 'parens-new-line',
}],
"@stylistic/jsx-function-call-newline": ["error", "multiline"]
}
}

View File

@ -1876,6 +1876,7 @@ __metadata:
eslint-plugin-testing-library: "npm:6.2.0"
husky: "npm:9.0.11"
standard-version: "npm:9.5.0"
typescript: "npm:^5.5.3"
peerDependencies:
eslint: ">=8.56.0"
typescript: ">=4.2.2"
@ -4831,6 +4832,26 @@ __metadata:
languageName: node
linkType: hard
"typescript@npm:^5.5.3":
version: 5.5.3
resolution: "typescript@npm:5.5.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/f52c71ccbc7080b034b9d3b72051d563601a4815bf3e39ded188e6ce60813f75dbedf11ad15dd4d32a12996a9ed8c7155b46c93a9b9c9bad1049766fe614bbdd
languageName: node
linkType: hard
"typescript@patch:typescript@npm%3A^5.5.3#optional!builtin<compat/typescript>":
version: 5.5.3
resolution: "typescript@patch:typescript@npm%3A5.5.3#optional!builtin<compat/typescript>::version=5.5.3&hash=5adc0c"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/5a437c416251334deeaf29897157032311f3f126547cfdc4b133768b606cb0e62bcee733bb97cf74c42fe7268801aea1392d8e40988cdef112e9546eba4c03c5
languageName: node
linkType: hard
"uglify-js@npm:^3.1.4":
version: 3.17.4
resolution: "uglify-js@npm:3.17.4"