Skip to content

Commit

Permalink
setup eslint, fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
berndartmueller committed Aug 24, 2020
1 parent ca0a4f4 commit c440400
Show file tree
Hide file tree
Showing 15 changed files with 3,172 additions and 1,589 deletions.
8 changes: 8 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_modules
dist
coverage
docs
website
.eslintrc.js
jest.config.js
rollup.config.js
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'jest'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier/@typescript-eslint', 'prettier'],
rules: {
'@typescript-eslint/explicit-module-boundary-types': 'off',
},
};
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CHANGELOG.md
Loading

0 comments on commit c440400

Please sign in to comment.