npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

eslint-config-amercier

0.3.0 • Public • Published

eslint-config-amercier

My personal collection of all-in-one ESLint shareable configs. Most of them are based on Airbnb Javascript and Prettier, with additional plugins and configs.

Latest Stable Version Build Status Greenkeeper

All-in-one?

Unlike most ESLint shareable configs, which declare peer dependencies, this NPM package declares all its included ESLint plugins and configs as dependencies directly. This design choice is intentional, in order to simplify its usage to the minimum (ESLint's extends field).

Installation

Prerequisites:

npm install --save-dev eslint
npm install --save-dev eslint-config-amercier

Dependency Status devDependency Status peerDependency Status

Base configs

Every base config is designed with the following Prettier options in mind:

{
  "singleQuote": true,
  "trailingComma": "all"
}

amercier/create-react-app

Config for projects generated with Create React App.

Usage

{
  "root": true,
  "extends": ["amercier/create-react-app"]
}

Included configs and plugins

See create-react-app config for more details.

amercier/vue-cli

Config for projects generated with Vue CLI.

Usage

{
  "root": true,
  "extends": ["amercier/vue-cli"]
}

Included configs and plugins

See vue-cli config for more details.

Opt-in configs

This configs can be added to any base config. Each of them are independent and can be combined.

amercier/with/flowtype

Add support for Flow.

Usage

Example with amercier/create-react-app:

{
  "root": true,
  "extends": ["amercier/create-react-app", "amercier/with-flowtype"]
}

Included configs and plugins

See with/flowtype config for more details.

amercier/with/redux

Add support for Redux.

Usage

Example with amercier/create-react-app:

{
  "root": true,
  "extends": ["amercier/create-react-app", "amercier/with-redux"]
}

Included configs and plugins

See with/redux config for more details.

amercier/with/redux-saga

Add support for redux-saga.

Usage

Example with amercier/create-react-app and amercier/with/redux:

{
  "root": true,
  "extends": [
    "amercier/create-react-app",
    "amercier/with-redux",
    "amercier/with-redux-saga"
  ]
}

Included configs and plugins

See with/redux-saga config for more details.

Contributing

Please read guidelines for contributing.

License

License


This ESLint config was created using eslint-config-template

install

npm i eslint-config-amercier

Downloadsweekly downloads

22

version

0.3.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability