Skip to content

Latest commit

 

History

History

eslint-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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'
}

Related