New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jslinting-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jslinting-rails

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

JavaScript Linting for Rails

This gem provides a basic eslint and prettier setup for Rails apps setup with jsbundling-rails.

Installation

Ensure jsbundling-rails is installed in your application, as jslinting-rails relies on it.

If you are using node, ensure npx >7.1 is installed.

If you are using bun, then you must have the bun runtime installed.

To get started run:

./bin/bundle add jslinting-rails --group development
./bin/rails jslinting:install

Usage

This gem adds two scripts to your package.json, lint and format.

They can be run directly through your package manager with

yarn run lint
yarn run format

or as a task via

rails javascript:lint
rails javascript:format

License

jslinting-rails is released under the MIT License.

FAQs

Package last updated on 06 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc