Skip to content

Commit

Permalink
Add ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
jclem committed May 21, 2019
1 parent 618a7ec commit 20f0d39
Show file tree
Hide file tree
Showing 4 changed files with 866 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"plugins": ["jest", "@typescript-eslint"],
"extends": ["plugin:github/es6"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module"
},
"rules": {
"no-unused-vars": "off",
"eslint-comments/no-use": "off",
"import/no-namespace": "off",
"@typescript-eslint/no-unused-vars": "error"
},
"env": {
"node": true,
"es6": true,
"jest/globals": true
}
}
Loading

0 comments on commit 20f0d39

Please sign in to comment.