Skip to content

Commit

Permalink
fix: switch to eslint, fix minor issues, disable other rules
Browse files Browse the repository at this point in the history
  • Loading branch information
dbouwman committed Jun 17, 2021
1 parent 68ed4c8 commit ab47412
Show file tree
Hide file tree
Showing 18 changed files with 2,239 additions and 22,215 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// eslint-disable-next-line no-undef
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'prettier/@typescript-eslint',
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
}
};
Loading

0 comments on commit ab47412

Please sign in to comment.