Skip to content

allthings/eslint-config-allthings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-allthings

ESlint shareable config for Allthings style

Setup

yarn add -DE @allthings/eslint-config

Usage

Add this to your .eslintrc.js

React projects

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

Node.js projects

module.exports = {
  extends: ['@allthings/eslint-config/node'],
}

Deployment

Publishing to npm

yarn deploy

Development

Run yarn link in the project folder

Run yarn link @allthings/eslint-config in the project that you want to test it against

After you finish run in your project yarn unlink @allthings/eslint-config and then yarn install --force to restore the initial state of dependencies