Skip to content

Commit

Permalink
add eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
shuntian committed Oct 15, 2021
1 parent 130b7f6 commit 46a2622
Show file tree
Hide file tree
Showing 3 changed files with 661 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
"env": {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 13,
"sourceType": "module"
},
"rules": {
"eqeqeq": ["error", "always", { "null": "ignore" }],
}
};
Loading

0 comments on commit 46a2622

Please sign in to comment.