@moxy/eslint-config-coredeprecated

MOXY eslint core configuration to be used by eslint base configurations

Usage no npm install needed!

<script type="module">
  import moxyEslintConfigCore from 'https://cdn.skypack.dev/@moxy/eslint-config-core';
</script>

README

eslint-config-core

NPM version Downloads Dependency status Dev Dependency status

MOXY eslint core configuration to be used by eslint base configurations.

❗️ IMPORTANT: This package is not meant to be used directly in your projects.

Installation

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

Usage

Create a .eslintrc.json file in the project root using a base configuration and addons.

You need to choose the base configuration to use:

  • es6 - The configuration to be used in ECMAScript 6 based projects (aka 2015)
  • es7 - The configuration to be used in ECMAScript 7 based projects (aka 2016)
  • es8 - The configuration to be used in ECMAScript 8 based projects (aka 2017)
  • es9 - The configuration to be used in ECMAScript 9 based projects (aka 2018)
  • es10 - The configuration to be used in ECMAScript 10 based projects (aka 2019)
  • es11 - The configuration to be used in ECMAScript 10 based projects (aka 2020)

Example:

{
    "root": true,
    "extends": [
        "@moxy/eslint-config-core/es9",
    ]
}

This package also currently provides one shared functionality:

  • test-patterns

You can directly access shared functionality provided by this package.

{
    "root": true,
    "extends": [
        "@moxy/eslint-config-core/lib/test-patterns",
    ]
}