Skip to content

Commit

Permalink
lint: disable no-use-before-define
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed May 16, 2024
1 parent 0f94e34 commit b0305d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ module.exports = {
// CI has a separate format check but keep this warn to maintain that "eslint --fix" prettifies
// UNTIL https://github.com/Agoric/agoric-sdk/issues/4339
'prettier/prettier': 'warn',

// Not a risk with our coding style
'no-use-before-define': 'off',
},
settings: {
jsdoc: {
Expand Down Expand Up @@ -156,8 +159,6 @@ module.exports = {
{
files: ['*.d.ts'],
rules: {
// Irrelevant in a typedef
'no-use-before-define': 'off',
// Linter confuses the type declaration with value declaration
'no-redeclare': 'off',
},
Expand Down

0 comments on commit b0305d8

Please sign in to comment.