@jasonk/eslint-config
My eslint configs
Last updated 4 months ago by jasonk .
MIT · Original npm · Tarball · package.json
$ cnpm install @jasonk/eslint-config 
SYNC missed versions from official npm registry.

@jasonk/eslint-config

My ESLint configs.

Rules

The rules in this package are grouped into rough categories to help with maintenance. The rules categories are:

Options

There are several sets of rules included in this repo that are intended to be suitable for different types of projects. You can pick which one you want to use simply by extending it in your own ESLint configuration.

The available options are:

  • babel - For projects transpiled with babel (includes es6)
  • browser - For browser-based projects.
  • es5 - For projects using ES5
  • es6 - For projects using ES6 (includes es5)
  • react - For projects using React (includes babel+browser)
  • tests - Rules for test files

Installing

First, in your package repository directory, install all the core dependencies that you will need.

yarn add -D eslint eslint-plugin-babel \
    eslint-plugin-chai-expect \
    eslint-plugin-dependencies \
    eslint-plugin-eslint-comments \
    eslint-plugin-import \
    eslint-plugin-jsdoc \
    eslint-plugin-json \
    eslint-plugin-jsx-a11y \
    eslint-plugin-lodash \
    eslint-plugin-mocha \
    eslint-plugin-node \
    eslint-plugin-promise \
    eslint-plugin-react \
    eslint-plugin-react-hooks \
    eslint-plugin-should-promised

Contributing

Please read CONTRIBUTING.md for details about our contribution process. Make sure you have also read CODE_OF_CONDUCT.md.

Versioning

I use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Current Tags

  • 2.0.1                                ...           latest (4 months ago)

4 Versions

  • 2.0.1                                ...           4 months ago
  • 2.0.0                                ...           4 months ago
  • 1.0.1                                ...           7 months ago
  • 1.0.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 1
Last Month 1
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |