Sha256: 7f06cad66e6aad762beb4eb50188b9f1baf3784e07440d3fc3ba0de77e326c9f
Contents?: true
Size: 859 Bytes
Versions: 1
Compression:
Stored size: 859 Bytes
Contents
# Linters The React on Rails generator can add linters and their recommended accompanying configurations to your project (to disable this behavior, include the `--linters` option when running the generator). Those linters that are written in Ruby have been added to your Gemfile, and those that run in Node have been add to your `package.json` under `devDependencies`. To run the linters (runs both Ruby and Node linters): ```bash rake lint ``` Run this command to see all the linters available ```bash rake -T lint ``` **Here's the list:** ```bash rake lint # Runs all linters rake lint:eslint # eslint rake lint:js # JS Linting rake lint:jscs # jscs rake lint:rubocop[fix] # Run Rubocop lint in shell rake lint:ruby # Run ruby-lint as shell rake lint:scss # See docs for task 'scss_lint' ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
react_on_rails-1.0.1 | docs/linters.md |