2.0.1 • Published 6 years ago

eslint-config-zalishchuk v2.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

eslint-config-zalishchuk

Travis CI build npm version npm downloads in the last month peer dependencies status Styled with Prettier

My own ESLint configuration rules collected from all corners of the universe. 🚀

Usage

This configuration uses prettier for code formatting and contains React&ECMAScript 6+ best practices, possible errors, stylistic issues, etc. It requires some dependencies for advanced ESLint setup:

Installation

  1. Install each package specified in peer dependencies, using this command:
$ yarn add --dev eslint prettier eslint-config-zalishchuk eslint-config-prettier eslint-plugin-prettier eslint-plugin-import eslint-plugin-react

Or if you are using npm:

$ npm install --save-dev eslint prettier eslint-config-zalishchuk eslint-config-prettier eslint-plugin-prettier eslint-plugin-import eslint-plugin-react
  1. Add eslint-config-zalishchuk to your ESLint configuration extends section.
{
  "extends": "zalishchuk"
}

Flowtype

  1. Install eslint-plugin-flowtype and babel-eslint packages, using this command:
$ yarn add --dev eslint-plugin-flowtype babel-eslint

Or if you are using npm:

$ npm install --save-dev eslint-plugin-flowtype babel-eslint
  1. Add zalishchuk/flowtype shareable configuration and set parser to babel-eslint in your ESLint configuration file.
{
  "parser": "babel-eslint",
  "extends": ["zalishchuk", "zalishchuk/flowtype"]
}
2.0.1

6 years ago

2.0.0

6 years ago

1.1.1

6 years ago

1.0.0

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago