Skip to content

Commit

Permalink
disable no-var rule for cmd since it needs to run on all node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Oct 29, 2020
1 parent 59dc70e commit 258ee48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/cmd.js
@@ -1,4 +1,5 @@
#!/usr/bin/env node
/* eslint-disable no-var */

var match = process.version.match(/v(\d+)\.(\d+)/)
var major = parseInt(match[1], 10)
Expand Down

0 comments on commit 258ee48

Please sign in to comment.