mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 14:37:49 +00:00
Catch undeclared vars with eslint.
This commit is contained in:
@@ -2,7 +2,8 @@ module.exports = {
|
||||
'extends': ['plugin:import/errors'],
|
||||
'plugins': ['import'],
|
||||
'env': {
|
||||
'es6': true
|
||||
'es6': true,
|
||||
'node': true
|
||||
},
|
||||
'parserOptions': {
|
||||
'ecmaVersion': 6,
|
||||
@@ -47,6 +48,8 @@ module.exports = {
|
||||
|
||||
'no-trailing-spaces': ['error'],
|
||||
|
||||
'no-undef': ['error'],
|
||||
|
||||
'no-unused-vars': ['error', {
|
||||
'args': 'none',
|
||||
'vars': 'all'
|
||||
|
||||
Reference in New Issue
Block a user