Skip to content

Commit

Permalink
Add .eslintrc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
awwright committed Sep 16, 2020
1 parent f8acd2a commit 292fd34
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"use strict";

module.exports = {
"env": {
"node": true,
"es6": true,
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6,
},
"rules": {
"indent": [ "error", "tab" ],
"strict": ["error", "global"],
"no-redeclare": [ "warn" ],
"no-unused-vars": [ "warn", { "args": "none" } ],
"no-cond-assign": 0,
// "no-unreachable": [ "error" ],
"linebreak-style": [ "error", "unix" ],
// "semi": [ "error", "always" ],
// "comma-dangle": [ "error", "always-multiline" ],
// "no-console": [ "error" ],
}
};

0 comments on commit 292fd34

Please sign in to comment.