This is a shareable ESLint configuration used by Pixel2HTML.
If you're using our Frontend Boilerplate or our Shopify Boilerplate then you don't have to do anything you're already linting like a boss.
npm install eslint eslint-config-pixel2html --save-dev
Then set your .eslintrc
or in your eslint field inside package.json
:
{
"extends": "pixel2html"
}
That's it! You can override the settings from eslint-config-pixel2html
by editing the .eslintrc
file. Learn more about configuring ESLint on the ESLint website.