Skip to content

Commit

Permalink
add eslint, flow & husky (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed Sep 21, 2020
1 parent 5228a26 commit 845bd2a
Show file tree
Hide file tree
Showing 7 changed files with 1,025 additions and 24 deletions.
21 changes: 21 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,21 @@
module.exports = {
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"jest/globals": true
},
"extends": "eslint:recommended",
"parser": 'babel-eslint',
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
plugins: [
"flowtype",
"jest",
],
"rules": {
"no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
}
};

0 comments on commit 845bd2a

Please sign in to comment.