Skip to content

Commit

Permalink
chore(deps): update dependency @typescript-eslint/eslint-plugin to v6 (
Browse files Browse the repository at this point in the history
…#580)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guidojw <[email protected]>
  • Loading branch information
renovate[bot] and guidojw authored Sep 3, 2023
1 parent 82d581e commit 38963cc
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 211 deletions.
51 changes: 28 additions & 23 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,33 @@ module.exports = {
es6: true,
node: true
},
extends: 'standard-with-typescript',
parserOptions: {
ecmaVersion: 2020,
project: './tsconfig.json',
sourceType: 'module'
},
plugins: ['unicorn'],
rules: {
'max-len': [
'error',
120,
{
comments: 80,
ignoreRegExpLiterals: true,
ignoreTemplateLiterals: true,
tabWidth: 2
overrides: [
{
files: ['*.js', '*.ts', '*.ts', '*.tsx'],
extends: 'standard-with-typescript',
parserOptions: {
ecmaVersion: 2020,
project: './tsconfig.json',
sourceType: 'module'
},
plugins: ['unicorn'],
rules: {
'max-len': [
'error',
120,
{
comments: 80,
ignoreRegExpLiterals: true,
ignoreTemplateLiterals: true,
tabWidth: 2
}
],
'no-duplicate-imports': 'error',
'sort-imports': 'error',
'unicorn/prefer-node-protocol': 'error',
'@typescript-eslint/explicit-member-accessibility': 'error',
'@typescript-eslint/method-signature-style': 'off'
}
],
'no-duplicate-imports': 'error',
'sort-imports': 'error',
'unicorn/prefer-node-protocol': 'error',
'@typescript-eslint/explicit-member-accessibility': 'error',
'@typescript-eslint/method-signature-style': 'off'
}
}
]
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
"@types/node-cron": "^3.0.8",
"@types/pluralize": "^0.0.30",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"eslint": "^8.48.0",
"eslint-config-standard-with-typescript": "^35.0.0",
"eslint-config-standard-with-typescript": "^39.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.0.2",
"eslint-plugin-promise": "^6.1.1",
Expand Down
Loading

0 comments on commit 38963cc

Please sign in to comment.