3.0.3 • Published 8 months ago

eslint-config-sammy v3.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

ESlint Config Sammy

GitHub license npm version PRs Welcome

Highly opinionated & React Typescript centric.

Features

  1. Lots of React goodness
  2. "Prettier" formatting (https://prettier.io/)

Installation

Step 1

yarn add eslint eslint-config-sammy --dev

Step 2

To the root of your project add the following two files:

.eslintrc

{
  "extends": "sammy"
}

.prettierrc.js

module.exports = {
  ...require("eslint-config-sammy/.prettierrc.recommended.js"),
};

Step 3

Add to your package.json "scripts" key (if doesn't exist, create):

"scripts": {
  "lint": "\"./node_modules/.bin/eslint\" . --ext js,ts,tsx"
}

Step 4

Add your ignore files: .prettierignore & .eslintignore

**/node_modules/**
**/build/**
**/coverage/**

Step 5

Run in your terminal

yarn lint
yarn lint --fix
3.0.3

8 months ago

3.0.2

8 months ago

3.0.1

8 months ago

3.0.0

8 months ago

2.7.0

1 year ago

2.7.2

12 months ago

2.7.1

1 year ago

2.5.0

1 year ago

2.4.0

1 year ago

2.6.1

1 year ago

2.6.0

1 year ago

2.3.0

2 years ago

2.2.0

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.0-beta.7

2 years ago

1.1.0-beta.6

2 years ago

1.1.0-beta.5

2 years ago

1.1.0-beta.4

2 years ago

1.1.0-beta.3

2 years ago

1.1.0-beta.2

2 years ago

1.1.0-beta.1

2 years ago

1.1.0-beta.0

2 years ago

1.0.1-beta.7

2 years ago

1.0.1-beta.6

2 years ago

1.0.1-beta.5

2 years ago

1.0.1-beta.4

2 years ago

1.0.1-beta.3

2 years ago

1.0.1-beta.2

2 years ago

1.0.1-beta.1

2 years ago

1.0.1-beta.0

2 years ago

1.0.0

2 years ago

1.0.0-beta.8

2 years ago

1.0.0-beta.7

2 years ago

1.0.0-beta.6

2 years ago

1.0.0-beta.5

2 years ago

1.0.0-beta.4

2 years ago

1.0.0-beta.3

2 years ago

1.0.0-beta.2

2 years ago

1.0.0-beta.1

2 years ago

1.0.0-beta.0

2 years ago