Skip to content

Latest commit

 

History

History

eslint-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@ombro/eslint-config

npm package

Shared eslint config for JavaScript

Install

$ npm install -D @ombro/eslint-config

If your package manager does not automatically install peerDependencies, you need to install it yourself according to the warning message

Usage

Create .eslintrc.js in the project root directory and add the following content:

module.exports = {
  root: true,
  extends: ['@ombro/eslint-config'],
}

This configuration already integrates with eslint-config-prettier, you can go ahead and configure .prettierrc and eslint rules will be consistent with it