Skip to content

Commit

Permalink
chore: turn off no-useless-constructor, no-empty-function, `class…
Browse files Browse the repository at this point in the history
…-methods-use-this` rules in base-js.js
  • Loading branch information
BorysShulyak committed Aug 29, 2024
1 parent 2221d67 commit 77f2365
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@runespoorstack/eslint-config",
"comment": "base-ts/base-js: turn off `no-useless-constructor`, `no-empty-function`, `class-methods-use-this` rules.",
"type": "patch"
}
],
"packageName": "@runespoorstack/eslint-config"
}
3 changes: 3 additions & 0 deletions eslint/eslint-config/core/base-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ module.exports = {
'func-names': 'error',
'no-underscore-dangle': 'off',
camelcase: 'off',
'no-useless-constructor': 'off',
'no-empty-function': 'off',
'class-methods-use-this': 'off',
'no-restricted-imports': [
'error',
{
Expand Down

0 comments on commit 77f2365

Please sign in to comment.