Skip to content

Commit

Permalink
Disable detect-object-injection
Browse files Browse the repository at this point in the history
  • Loading branch information
kremalicious committed Aug 27, 2018
1 parent 0b36b56 commit bbb9793
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ module.exports = {

// Enforce consistent spacing inside braces
// https://eslint.org/docs/rules/object-curly-spacing
'object-curly-spacing': ['error', 'always']
'object-curly-spacing': ['error', 'always'],

// Disable detect-object-injection
// https://github.com/nodesecurity/eslint-plugin-security/issues/21
'security/detect-object-injection': 0
}
}

0 comments on commit bbb9793

Please sign in to comment.