mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
35 lines
673 B
JavaScript
35 lines
673 B
JavaScript
module.exports = {
|
|
'plugins': [
|
|
'security'
|
|
],
|
|
'extends': [
|
|
'eslint:recommended',
|
|
'plugin:security/recommended'
|
|
],
|
|
'parser': 'babel-eslint',
|
|
'env': {
|
|
'browser': true,
|
|
'commonjs': true,
|
|
'es6': true,
|
|
'node': true,
|
|
'mocha': true,
|
|
'jquery': true
|
|
},
|
|
'rules': {
|
|
'security/detect-object-injection' : 0,
|
|
'no-unused-vars': [
|
|
'error',
|
|
{
|
|
'varsIgnorePattern': 'should|expect'
|
|
}
|
|
]
|
|
},
|
|
'overrides': [
|
|
{
|
|
'files': ['lib/client/*.js'],
|
|
'rules': {
|
|
'security/detect-object-injection': 0
|
|
}
|
|
}
|
|
],
|
|
}; |