Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
browser: false,
node: true
},
plugins: ['node'],
rules: Object.assign({}, require('eslint-plugin-node').configs.recommended.rules, {
// add your custom rules and overrides for node files here
})
},
{
files: ['node-tests/**/*.js'],
env: {
mocha: true
},
plugins: ['mocha'],
rules: require('eslint-plugin-mocha').configs.recommended.rules
},
{
files: ['testem.js'],
rules: {
camelcase: 0
}
},
{
files: ['vendor/**/*.js'],
parserOptions: {
ecmaVersion: 5,
sourceType: 'script'
},
env: {