@3fs/eslint-config

2.0.1 • Public • Published

eslint-config [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url]

An ESLint [Shareable Config][shareable-configs-url]

Deployment

Create a new annotated tag and push it to github.

git tag -a v1.0.0 -m "Tag comment"
git push origin v1.0.0

Installation

npm install @3fs/eslint-config eslint
# OR
yarn add  @3fs/eslint-config eslint

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about [Shareable Configs][shareable-configs-url] on the official ESLint website.

To use this shareable config, first run this:

npm install --save-dev eslint @3fs/eslint-config
# OR
yarn add --dev eslint @3fs/eslint-config

Then, add this to your .eslintrc(.js|.json|.yml) file:

{
  "extends": "@3fs"
}

Note: We omitted the /eslint-config sufix since it is automatically assumed by ESLint. Only works for esnext since its specified as default

You can override settings from the shareable config by adding them directly into your .eslintrc file.

All available configs

  • @3fs or @3fs/eslint-config/configs/angular - Angular config
  • @3fs/eslint-config/configs/react - React config

Dependencies (0)

    Dev Dependencies (20)

    Package Sidebar

    Install

    npm i @3fs/eslint-config

    Weekly Downloads

    244

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    383 kB

    Total Files

    19

    Last publish

    Collaborators

    • davidkuridza
    • thecodedestroyer
    • aleksd
    • zvanm
    • nkrmavnar