Skip to content

Commit

Permalink
Revert "disable eslint rules"
Browse files Browse the repository at this point in the history
This reverts commit aab4064.
  • Loading branch information
legobeat committed Oct 16, 2023
1 parent aab4064 commit d371142
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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,
Expand Down

0 comments on commit d371142

Please sign in to comment.