Skip to content

Commit

Permalink
feat(eslint): remove max classes + remove use this (#17)
Browse files Browse the repository at this point in the history
* feat(eslint): remove max classes + remove use this

* merge

---------

Co-authored-by: JJ Adonis <[email protected]>
  • Loading branch information
kevzzsk and thedoublejay authored Nov 6, 2023
1 parent 0ecf663 commit 2075c62
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 23 deletions.
7 changes: 7 additions & 0 deletions packages/standard-linter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ module.exports = {
"@typescript-eslint/no-floating-promises": "error",
"no-console": "error",
curly: "error",
"max-classes-per-file": "off",
"class-methods-use-this": "off",
"no-await-in-loop": "off",
// functions and classes are going to be hoisted in runtime
"no-use-before-define": ["error", { functions: false, classes: false }],
// https://github.com/airbnb/javascript/issues/1271
"no-restricted-syntax": "off",

// Fix airbnb-typescript/base rule to allow leading underscores for unused vars
"@typescript-eslint/naming-convention": [
Expand Down
58 changes: 35 additions & 23 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2075c62

Please sign in to comment.