Skip to content

Commit

Permalink
Chore: hide a complexity warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Feb 23, 2017
1 parent 17c8ae0 commit 16973f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/no-deprecated-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ function create(context) {
* @param {object} infoMap - A map of properties' information.
* @returns {void}
*/
function checkProperties(root, path, infoMap) {
function checkProperties(root, path, infoMap) { //eslint-disable-line complexity
let node = root
while (!SENTINEL_TYPE.test(node.parent.type)) {
node = node.parent
Expand Down

0 comments on commit 16973f9

Please sign in to comment.