Socket
Book a DemoInstallSign in
Socket

@moxy/eslint-config-core

Package Overview
Dependencies
Maintainers
22
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moxy/eslint-config-core

MOXY eslint core configuration to be used by eslint base configurations

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
Maintainers
22
Weekly downloads
 
Created
Source

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",
    ]
}

Keywords

eslint-config

FAQs

Package last updated on 13 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts