Skip to content

Commit

Permalink
style(lint): add eslint-plugin-node (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
macklinu committed Feb 11, 2018
1 parent 216649b commit 1e88da5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eslintrc.json
Expand Up @@ -6,10 +6,11 @@
"ecmaVersion": 6,
"sourceType": "script"
},
"plugins": ["eslint-plugin", "prettier"],
"plugins": ["eslint-plugin", "node", "prettier"],
"extends": [
"standard",
"plugin:eslint-plugin/recommended",
"plugin:node/recommended",
"plugin:prettier/recommended"
],
"rules": {
Expand All @@ -24,6 +25,7 @@
}
],
"eslint-plugin/test-case-shorthand-strings": "error",
"node/no-unsupported-features": ["error", { "version": 4 }],
"prettier/prettier": "error"
}
}

0 comments on commit 1e88da5

Please sign in to comment.