Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: eslint-config-eyeo/index.js

Issue 29376565: Issue 3692 - Enable the no-unused-vars ESLint rule (Closed)
Patch Set: Created Feb. 21, 2017, 5:02 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | eslint-config-eyeo/package.json » ('j') | eslint-config-eyeo/package.json » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: eslint-config-eyeo/index.js
diff --git a/eslint-config-eyeo/index.js b/eslint-config-eyeo/index.js
index a96830766f9b70f2ba8638b682cffade87a74815..d2b577328ee6fd68ddd4dab71a12a28e21a56967 100644
--- a/eslint-config-eyeo/index.js
+++ b/eslint-config-eyeo/index.js
@@ -69,7 +69,7 @@ module.exports = {
"no-shadow": "error",
"no-trailing-spaces": "error",
"no-unneeded-ternary": "error",
- "no-unused-vars": "off",
+ "no-unused-vars": ["error", {vars: "local", args: "none"}],
"no-useless-computed-key": "error",
"no-useless-concat": "error",
"no-useless-escape": "error",
« no previous file with comments | « no previous file | eslint-config-eyeo/package.json » ('j') | eslint-config-eyeo/package.json » ('J')

Powered by Google App Engine
This is Rietveld