Sha256: bdc768750b4feae216e6bdb341da887e9a4606ce36928070dbf6079824ac31c8
Contents?: true
Size: 437 Bytes
Versions: 4
Compression:
Stored size: 437 Bytes
Contents
# frozen_string_literal: true 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
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
aid-0.2.2 | examples/eslint.rb |
abtion-aid-0.3.2 | examples/eslint.rb |
abtion-aid-0.3.1 | examples/eslint.rb |
abtion-aid-0.2.0 | examples/eslint.rb |