This package has been deprecated

Author message:

remove

eslint-plugin-chronobank-react

1.2.1 • Public • Published

eslint-plugin-chronobank

ESLint plugin for the ChronoBank related projects.

Usage

  1. npm install ChronoBank/eslint-plugin-chronobank-react --save-dev
  2. Create a file named .eslintrc in your project:
{
  extends: ['plugin:chronobank-react/recommended']
}
  1. Add to your package.json (you'll probably need to change src and specs folders to your own):
"scripts": {
  ...
  "lint": "./node_modules/eslint/bin/eslint.js --ext .js,.jsx --fix src specs",
  "lint:test": "./node_modules/eslint/bin/eslint.js --ext .js,.jsx src specs",
  "test": "npm run lint:test && jest --useStderr --forceExit --runInBand",
  1. Use npm test before any commit and in your travis.yml:
script:
  ...
  - npm test -- --coverage

after_script:
  - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

Rules

Extends

This package extends eslint:recommended, plugin:react/recommended and plugin:chronobank/recommended

Overrides

This package overrides rules:

Override Description Reason
'jsx-quotes': [2, 'prefer-single'] link Use single quotes in JSX

License

GPL-3.0

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-chronobank-react

Weekly Downloads

0

Version

1.2.1

License

MIT

Unpacked Size

40.1 kB

Total Files

6

Last publish

Collaborators

  • ex1st0r