eslint-config-civicsource
Shareable ESLint configuration to used in CivicSource client applications
Last updated 2 months ago by archonit .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eslint-config-civicsource 
SYNC missed versions from official npm registry.

CivicSource ESLint Configuration

Shareable ESLint configuration to be used in CivicSource client applications

Read more in general about how eslint shareable configurations work.

Install

yarn add eslint-config-civicsource --dev

or

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

Usage

Add to your .eslintrc.yml:

extends:
  - civicsource

This includes all civicsource rules (except the testing rules). You could also choose to include them individually:

extends:
  - civicsource/style
  - civicsource/react
  - civicsource/imports

The testing rules are not included by default and can be included via:

extends:
  - civicsource/mocha

or

extends:
  - civicsource/jest

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.

Current Tags

  • 12.0.0                                ...           latest (2 months ago)
  • 11.0.0-testing.1                                ...           next (8 months ago)

30 Versions

  • 12.0.0                                ...           2 months ago
  • 11.1.0                                ...           7 months ago
  • 11.0.1                                ...           7 months ago
  • 11.0.0                                ...           8 months ago
  • 11.0.0-testing.1                                ...           8 months ago
  • 10.0.0                                ...           9 months ago
  • 10.0.0-upgrade-deps.1                                ...           9 months ago
  • 9.0.0                                ...           2 years ago
  • 8.0.0                                ...           2 years ago
  • 8.0.0-beta.1                                ...           2 years ago
  • 7.0.0                                ...           2 years ago
  • 6.1.1                                ...           2 years ago
  • 6.1.0                                ...           2 years ago
  • 6.0.0                                ...           2 years ago
  • 5.1.0                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 4.0.0                                ...           2 years ago
  • 3.0.0                                ...           3 years ago
  • 2.2.0                                ...           3 years ago
  • 2.1.1                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 2
Last Month 34
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |