mirror of https://github.com/vuejs/core.git
chore: eslint rules overrides (#6729)
Co-authored-by: pengbo43 <pengbo43@jd.com> Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
parent
534593cfa8
commit
3a13074292
|
@ -69,6 +69,14 @@ module.exports = {
|
||||||
'no-restricted-globals': ['error', ...NodeGlobals],
|
'no-restricted-globals': ['error', ...NodeGlobals],
|
||||||
'no-restricted-syntax': 'off'
|
'no-restricted-syntax': 'off'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// Node scripts
|
||||||
|
{
|
||||||
|
files: ['scripts/**', './*.js', 'packages/**/index.js', 'packages/size-check/**'],
|
||||||
|
rules: {
|
||||||
|
'no-restricted-globals': 'off',
|
||||||
|
'no-restricted-syntax': 'off'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue