1.3.2 • Published 2 years ago

@mxjoly/eslint-config v1.3.2

Weekly downloads
42
License
MIT
Repository
github
Last release
2 years ago

ESLint Config

A shared ESlint config for all the @mxjoly packages.

Installation

Get started by running this command in the root of your project:

yarn add --dev @mxjoly/eslint-config
npm install --save-dev @mxjoly/eslint-config

Usage

If you want to use this config as base in any of your projects you need to create a .eslintrc file that extends this config. If you do not have an ESLint config yet, the easiest way is to do that automatically by running the following command in the root folder of your project (where your package.json is):

# create .eslintrc config file
npm @mxjoly/eslint-config

This command creates a new .eslintrc file for you and adds linting for JavaScript, React/JSX, and TypeScript.

If you already have an ESLint config or if you prefer the manual way, add the following content to your config file:

{
  "extends": ["@mxjoly/eslint-config"]
}

Optionally you can also add linting for React/JSX and Typescript:

{
  "extends": [
    "@mxjoly/eslint-config",
    "@mxjoly/eslint-config/react",
    "@mxjoly/eslint-config/typescript"
  ]
}

For more information see: http://eslint.org/docs/user-guide/configuring

1.3.2

2 years ago

1.2.3

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.2

3 years ago

1.2.0

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.2.1

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago