Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
frama-c
Commits
1090fe92
Commit
1090fe92
authored
Jul 28, 2020
by
Michele Alberti
Browse files
[linter] Add rule no-var to disallow the use of var in favor of let and const.
parent
14bfe4e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
ivette/.eslintrc.js
View file @
1090fe92
...
...
@@ -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
"
,
}
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment