Skip to content

Commit

Permalink
Minor ESlint/Prettier changes
Browse files Browse the repository at this point in the history
  • Loading branch information
richrace committed Jul 23, 2019
1 parent 9b585b2 commit ce88217
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"browser": true,
"commonjs": true,
"es6": true,
"mocha": true
"mocha": true,
"node": true
},
"extends": ["eslint:recommended", "plugin:mocha/recommended"],
"globals": {
Expand All @@ -13,6 +14,8 @@
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {},
"rules": {
"max-len": ["error", { "code": 100 }]
},
"plugins": ["prettier", "mocha"]
}
3 changes: 3 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"printWidth": 100
}

0 comments on commit ce88217

Please sign in to comment.