包详细信息

@electerious/eslint-config

electerious1kMIT5.2.1

ESLint configuration for my personal projects

eslint, eslintconfig

自述文件

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'