Sha256: 146618a05bad3949edffc8d61de8d1bbbd849a1e1043651893fb5dbc20496915
Contents?: true
Size: 402 Bytes
Versions: 1
Compression:
Stored size: 402 Bytes
Contents
class Eslint < Aid::Script def self.description "Runs eslint against our JavaScript" end def self.help <<~HELP Usage: $ aid eslint This will run eslint against our JavaScript codebase. HELP end def run step "Linting JavaScript..." do system! "./node_modules/.bin/eslint --ext .jsx --ext .js ." end puts puts colorize(:green, "Passed!") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aid-0.1.3 | examples/eslint.rb |