Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@moxy/eslint-config-babel

moxystudio907MIT13.1.0

MOXY's ESLint configuration enhancer for projects that use Babel

eslint-config, eslintconfig, eslint, lint, linter, style, babel, babel-eslint

readme

eslint-config-babel

NPM version Downloads Dependency status Dev Dependency status

MOXY's ESLint configuration enhancer for projects that use Babel.

Installation

$ npm install --save-dev eslint @moxy/eslint-config-babel

Usage

Create a .eslintrc.json file in the project root and extend @moxy/eslint-config-babel.

This package should be used in conjunction with @moxy/eslint-config-base.

Example

{
    "root": true,
    "env": {
        "browser": true,
    },
    "extends": [
        "@moxy/eslint-config-base/esm",
        "@moxy/eslint-config-babel"
    ]
}

⚠️ If you are using a monorepo, you will need specify the configFile to point to the root:

{
    "root": true,
    "env": {
        "browser": true
    },
    "extends": [
        "@moxy/eslint-config-base/esm",
        "@moxy/eslint-config-babel"
    ],
    "parserOptions": {
        "babelOptions": {
          "configFile": "./.babelrc.json"
        }
    }
}

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

13.1.0 (2021-07-13)

Features

  • allow noopener in rel when using target blank (#111) (6a26997)

13.0.3 (2020-09-05)

Note: Version bump only for package @moxy/eslint-config-babel

13.0.0 (2020-08-07)

⚠ BREAKING CHANGES

  • all packages have now a peerDependency on eslint v7

Features

12.3.0 (2020-07-01)

Features

  • add react native a11y enhancer (7734e2e)

12.2.0 (2020-06-25)

Note: Version bump only for package @moxy/eslint-config-babel

12.1.1 (2020-05-21)

Note: Version bump only for package @moxy/eslint-config-babel

12.1.0 (2020-05-04)

Note: Version bump only for package @moxy/eslint-config-babel

12.0.3 (2020-05-01)

Note: Version bump only for package @moxy/eslint-config-babel

12.0.2 (2020-04-24)

Note: Version bump only for package @moxy/eslint-config-babel

12.0.1 (2020-04-17)

Note: Version bump only for package @moxy/eslint-config-babel

12.0.0 (2020-03-30)

Note: Version bump only for package @moxy/eslint-config-babel

11.0.3 (2020-03-20)

Note: Version bump only for package @moxy/eslint-config-babel

11.0.2 (2020-03-19)

Note: Version bump only for package @moxy/eslint-config-babel

11.0.1 (2020-03-19)

Bug Fixes

  • workaround for peer dependencies not being updated (f7a0d59)

11.0.0 (2020-03-19)

Features

BREAKING CHANGES

  • removed the previous three base packages in favor of just one
  • added a few new rules that were missing

RFC-0003 implementation (2020-03-13)

Bug Fixes

Code Refactoring

BREAKING CHANGES