Skip to content

Commit

Permalink
Merge pull request #12 from oceanprotocol/fix/detect-object-injection
Browse files Browse the repository at this point in the history
Disable detect-object-injection
  • Loading branch information
kremalicious committed Aug 27, 2018
2 parents 0b36b56 + bbb9793 commit c5440cc
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 c5440cc

Please sign in to comment.