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

eslint-config-civicsource

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-civicsource

Shareable ESLint configuration to be used in CivicSource client applications

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-92.42%
Maintainers
3
Weekly downloads
 
Created
Source

CivicSource ESLint Configuration

Shareable ESLint configuration to be used in CivicSource client applications

Read more in general about how eslint shareable configurations work.

Install

npm install eslint-config-civicsource --save-dev

Usage

Add to your .eslintrc.yml:

extends:
  - civicsource

You could also choose to only import the style rules:

extends:
  - civicsource/style

or only the react rules:

extends:
  - civicsource/react

or a mixture of both.

Contributing

When adding rules or plugins, put them into the correct js file based on category (e.g. add react rules to react.js). Make sure to add a small comment explaining what the rule does (feel free to be as snarky as possible) along with a link to the rule documentation.

Versioning

When making changes, be sure to follow semantic versioning.

  • Any new error rules you add should be a major version bump.
  • Any more restrictive changes to existing error rules should be a major version bump.
  • Any easing of restrictions to existing error rules can be a minor version bump.
  • Any new fixable error rules can be a minor version bump.
  • Any addition or changes to warning rules should be a minor version bump.
  • Any bug fixes should be a patch version bump.
  • Anytime you realize you broke one of these rules, fixing it should be a patch version bump.

Keywords

FAQs

Package last updated on 27 Sep 2016

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