ESLint configuration
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'