diff --git a/common/changes/@runespoorstack/eslint-config/main_2024-08-29-08-02.json b/common/changes/@runespoorstack/eslint-config/main_2024-08-29-08-02.json new file mode 100644 index 0000000..1310e8c --- /dev/null +++ b/common/changes/@runespoorstack/eslint-config/main_2024-08-29-08-02.json @@ -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" +} \ No newline at end of file diff --git a/eslint/eslint-config/core/base-js.js b/eslint/eslint-config/core/base-js.js index 1527b77..d50f064 100644 --- a/eslint/eslint-config/core/base-js.js +++ b/eslint/eslint-config/core/base-js.js @@ -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', {