@dan-nz/eslint-config
v1.0.0
Published
Shareable ESLint config
Downloads
11
Readme
eslint-config
This package includes the shareable ESLint configuration used by Digital Arts Network New Zealand.
Installation
npm i --save-dev eslint prettier @dan-nz/eslint-config
Usage
Create an .eslintrc.js
file with the following contents:
Vanilla JavaScript
module.exports = {
'extends': '@dan-nz/eslint-config'
}
React
module.exports = {
'extends': '@dan-nz/eslint-config/react'
}