Registry / build-tool / eslintrb

eslintrb

JSON →
library2.1.0rbrubygemsunverified

Ruby wrapper for ESLint that uses ExecJS to lint JavaScript files.

gem install eslintrb
INSTALL
IMPORT
SIG · ESLINTRB
E
eslintrb
build-toolrubyv2.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ESLint
require 'eslintrb'

Lint a JavaScript file using ESLint.

require 'eslintrb' result = ESLint.run('path/to/file.js') puts result
Debug
Known issues
gotchaRequires Node.js and ESLint to be installed separately.
fix
Install Node.js and run 'npm install -g eslint' before using this gem.
affects: >= 0
Upgrade
Version history
2.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
21
OpenAI (training)
1
Resources
eslintrb — gem install eslintrb · libregistry