Skip to content

the-events-calendar/eslint-config-products

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Products Eslint Config

Custom config that extends wpcalypso.

Dependencies

  • eslint 4+

Installation

Using npm:

npm install --save-dev github:moderntribe/eslint-config-products

# Target branch or release:
# npm install --save-dev github:moderntribe/eslint-config-products#branch-name
# npm install --save-dev github:moderntribe/eslint-config-products#v0.0.1

Using yarn:

yarn add --dev github:moderntribe/eslint-config-products

# Target branch or release:
# yarn add --dev github:moderntribe/eslint-config-products#branch-name
# yarn add --dev github:moderntribe/eslint-config-products#v0.0.1

Add .eslintrc file

In the root directory, add in an .eslintrc file.

{
    extends: 'products'
}

Using React eslint config

Update .eslintrc to:

{
    extends: 'products/react'
}

Creating release version

npm version patch|minor|major
git push --follow-tags