diff --git a/.eslintrc.js b/.eslintrc.js index f0fc1614..9715035f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -7,8 +7,15 @@ module.exports = { { files: ['*.ts'], extends: ['@metamask/eslint-config-typescript'], + rules: { + '@typescript-eslint/naming-convention': 0, + '@typescript-eslint/no-floating-promises': 1, + '@typescript-eslint/prefer-enum-initializers': 0, + '@typescript-eslint/prefer-readonly': 0, + '@typescript-eslint/restrict-template-expressions': 1, + 'no-restricted-syntax': 0, + }, }, - { files: ['*.js'], parserOptions: { @@ -27,6 +34,7 @@ module.exports = { ], rules: { + 'id-length': 0, // TODO: Fix jsdoc comments and enable rules 'jsdoc/check-alignment': 0, 'jsdoc/check-types': 0,