Skip to content

Commit

Permalink
🚨 Add eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernardstanislas committed Apr 13, 2021
1 parent aed2925 commit 1bad59e
Show file tree
Hide file tree
Showing 9 changed files with 749 additions and 20 deletions.
9 changes: 9 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# don't ever lint node_modules
node_modules
# don't lint build output (make sure it's set to your correct build folder name)
dist
public/js
# don't lint nyc coverage output
coverage
# don't lint root config files
*.js
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
};
Loading

0 comments on commit 1bad59e

Please sign in to comment.