8.0.0 • Published 8 years ago

eslint-config-shopify v8.0.0

Weekly downloads
14
License
MIT
Repository
github
Last release
8 years ago

eslint-config-shopify

Build status NPM version

This package provides Shopify's .eslintrc as an extensible shared config.

Usage

React

Install this module, as well as the other eslint modules on which it is dependent:

npm install --save-dev eslint babel-eslint eslint-plugin-react eslint-plugin-shopify # dependencies
npm install --save-dev eslint-config-shopify

then, extend the React version of this configuration in your own .eslintrc.json:

{
  "extends": "shopify/react"
}

ES2015 and Beyond Projects

Install this module, as well as the other eslint modules on which it is dependent:

npm install --save-dev eslint babel-eslint eslint-plugin-shopify # dependencies
npm install --save-dev eslint-config-shopify

then, extend the base version of this configuration in your own .eslintrc:

{
  "extends": "shopify"
}

ES5 Projects

Projects with a legacy codebase or that target a tool that targets node may continue to use ES5. To lint these projects, first install this module, as well as the other eslint modules on which it is dependent:

npm install --save-dev eslint eslint-plugin-shopify # dependencies
npm install --save-dev eslint-config-shopify

then, extend the ES5 version of this configuration in your own .eslintrc:

{
  "extends": "shopify/es5"
}
8.0.0

8 years ago

7.0.1

8 years ago

7.0.0

8 years ago

6.2.0

8 years ago

6.1.0

8 years ago

6.0.1

8 years ago

6.0.0

8 years ago

5.10.0

8 years ago

5.9.0

8 years ago

5.8.0

8 years ago

5.7.1

8 years ago

5.7.0

8 years ago

5.6.1

9 years ago

5.6.0

9 years ago

5.5.0

9 years ago

5.4.0

9 years ago

5.3.6

9 years ago

5.3.5

9 years ago

5.3.4

9 years ago

5.3.3

9 years ago

5.3.2

9 years ago

5.3.1

9 years ago

5.3.0

9 years ago

5.2.2

9 years ago

5.2.1

9 years ago

5.2.0

9 years ago

5.1.1

9 years ago

5.1.0

9 years ago

5.0.0

9 years ago