Skip to content

shakurocom/eslint-config-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@shakuroinc/eslint-config-base

Shakuro eslint and prettier extensible basic config.

if you need react support use: @shakuroinc/eslint-config-react

Usage

Install package:

yarn add -D @shakuroinc/eslint-config-base

Install package dependencies:

npx install-peerdeps @shakuroinc/eslint-config-base -d -Y

if you using yarn workspaces npx install-peerdeps @shakuroinc/eslint-config-base -d -Y --extra-args "--ignore-workspace-root-check"

Configure eslint:

// .eslintrc.js
module.exports = {
  extends: ['@shakuroinc/eslint-config-base'],
  // extend config if needed
};

Configure prettier:

// .prettierrc.js
module.exports = { ...require('@shakuroinc/eslint-config-base/prettier.config') };

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published