Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including eslint-config-amercier with all npm packages installed. Try it out:

eslint-config-amercier lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

require("@vue/cli-service/package.json"); // @vue/cli-service is a peer dependency. require("eslint/package.json"); // eslint is a peer dependency. require("redux-saga/package.json"); // redux-saga is a peer dependency. require("vue-template-compiler/package.json"); // vue-template-compiler is a peer dependency. require("webpack/package.json"); // webpack is a peer dependency. // require("eslint-config-amercier/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

eslint-config-amercier v0.3.0

My personal collection of all-in-one ESLint Shareable Configs

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free