npm.io
5.4.0 • Published 1 month ago

@electerious/eslint-config

Licence
MIT
Version
5.4.0
Deps
7
Size
11 kB
Vulns
0
Weekly
0
Stars
2

ESLint configuration

Test

Shareable ESLint configuration for my personal projects.

Install

Install this package and eslint. Necessary plugins are already included.

npm install --save-dev eslint @electerious/eslint-config

Usage

Default

Create a file named eslint.config.js with following contents in the root folder of your project:

export { default } from '@electerious/eslint-config'

That's it! You can override the settings by editing the eslint.config.js file.

React

If you're using React, create a file named eslint.config.js with following contents in the root folder of your project:

export { default } from '@electerious/eslint-config/react'