Skip to content

Commit

Permalink
chore: make eslint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
buschtoens committed Oct 30, 2020
1 parent f07c9a2 commit 681c19a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,23 @@ module.exports = {
],
},

// Tests
{
files: ['tests/**/*.{ts,js}'],
rules: {
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
},
},

// Types
{
files: ['types/**/*.d.ts'],
rules: {
'@typescript-eslint/ban-types': 'off',
},
},

// node files
{
files: [
Expand Down
1 change: 1 addition & 0 deletions addon/-private/modifiers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export class Modifier {
this.args = args;
}

// eslint-disable-next-line @typescript-eslint/no-empty-function
setup() {}
}

Expand Down
1 change: 1 addition & 0 deletions addon/-private/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export class Resource {
this.args = args;
}

// eslint-disable-next-line @typescript-eslint/no-empty-function
setup() {}
}

Expand Down

0 comments on commit 681c19a

Please sign in to comment.