Socket
Socket
Sign inDemoInstall

rd-linters

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rd-linters

Linters used in our projects.


Version published
Weekly downloads
10
decreased by-81.48%
Maintainers
1
Weekly downloads
 
Created
Source

R+D linters

Based on https://github.com/airbnb/javascript/ and https://github.com/airbnb/css/ linting style guides.

Installation

  1. Issue the following command:
npx install-peerdeps --dev rd-linters
  1. In your node project, add a .eslintrc file with the following content:
{
  "extends": "rd"
}
  1. In your VueJS project, add a .eslintrc file with the following content:
{
  "extends": "rd-vue"
}
  1. In your project, add a .stylelintrc file with the following content:
{
  "extends": "stylelint-config-rd"
}
  1. Run the following commands from your project root
cp ./node_modules/rd-linters/.editorconfig ./
cp ./node_modules/rd-linters/.prettierrc ./
  1. Install the following VSCode extensions:
ext install eslint
ext install stylelint

Note: You may have to restart VSCode in order for the changes to take effect

FAQs

Package last updated on 11 Jul 2019

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