eslint-config-archetype
Javascript has standards
Last updated 2 years ago by kennethlmartin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eslint-config-archetype 
SYNC missed versions from official npm registry.

eslint-config-archetype - Javascript has standards.


npm David

Installation

npm i --save-dev eslint-config-archetype

Usage

Extend base configurations, grouped rule definitions, or a combination of both.

module.exports = {
  extends: [
    'archetype/configurations/browser',
    'archetype/rules/plugin-react',
  ],
};

Configurations:

This package includes the following complete and ready-to-use configurations:

  • archetype/configurations/browser
  • archetype/configurations/node
  • archetype/configurations/react-native
  • archetype/configurations/test

Rules:

The following rule-based configurations define every rule supported by eslint and the available plugins. These rule configurations make up the base set of rules for the above complete configurations:

eslint:

  • archetype/rules/eslint/best-practices
  • archetype/rules/eslint/errors
  • archetype/rules/eslint/es2015
  • archetype/rules/eslint/node
  • archetype/rules/eslint/strict
  • archetype/rules/eslint/style
  • archetype/rules/eslint/variables

plugin-flowtype:

  • archetype/rules/plugin-flowtype

plugin-import:

  • archetype/rules/plugin-import

plugin-react-jsdoc:

  • archetype/rules/plugin-jsdoc

plugin-no-only-tests:

  • archetype/rules/plugin-no-only-tests

plugin-react:

  • archetype/rules/plugin-react
  • archetype/rules/plugin-react/jsx
  • archetype/rules/plugin-react/react

plugin-react-native:

  • archetype/rules/plugin-react-native

Changelog

Current Tags

  • 3.0.0                                ...           latest (2 years ago)

2 Versions

  • 3.0.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |