Commit 1090fe92 authored by Michele Alberti's avatar Michele Alberti
Browse files

[linter] Add rule no-var to disallow the use of var in favor of let and const.

parent 14bfe4e2
......@@ -77,5 +77,7 @@ module.exports = {
"react/destructuring-assignment": "off",
// Allow console errors and warnings
"no-console": ["error", { allow: ["warn", "error"] }],
// Disallow the use of var in favor of let and const
"no-var": "error",
}
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment