1.0.0 • Published 6 years ago

@satel/eslint-config-theme v1.0.0

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

Satel shopify theme eslint config

For more general documentation on using and configuring eslint please see the root of this repo here

Installation

First, make sure you have Node.js v8.10.0 or above installed

$ node -v
v8.10.0

Next, install eslint and @satel/eslint-config-theme

npm

$ npm i eslint @satel/eslint-config-theme --save-dev

Yarn

$ yarn add eslint @satel/eslint-config-theme -D

Note - the above should be run from your project directory

Configure

Create (or modify) a .eslintrc file in the root of your project directory. Then you can use the extends property to apply the configuration

{
  "extends": "@satel/theme"
}

Contents