Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-silk

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-silk

Silk eslint rules

  • 1.14.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

Silk eslint rules

The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee.

Usage

To use these rules in your package, declare eslint-config-silk as a dependency and declare the necessary peer dependencies as well, e.g.:

{
  "name": "silk-frobnicator",
  "devDependencies": {
    "babel-eslint": "5.0.0",
    "eslint": "1.10.3",
    "eslint-config-silk": "file:../eslint-config",
    "eslint-plugin-react": "3.16.1"
  },
  "scripts": {
    "lint": "eslint src"
  }
}

In your package's .eslintrc, all you need to do is refer to the eslint-config-silk package:

{
  "extends": "eslint-config-silk",
  "rules": {}
}

That's it! If you need React support, you can also extend eslint-config-silk/react. Keep in mind that that will require an additional peer dependency, eslint-plugin-react.

Please refrain from disabling any rules in your local .eslintrc. The point of a common coding style is that it's common.

Keywords

FAQs

Package last updated on 08 Sep 2017

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