@destination/eslint-config

1.4.2 • Public • Published

Destination ESLint Config

Defines a set of rules used by ESLint to enforce our JS/TS coding standards.

This configuration uses the AirBnb style guide with a few tweaks.

Installation

yarn add @destination/eslint-config eslint --dev

Usage

Add the following to your project's ruleset e.g. in package.json:

{
    "eslint": {
        "extends": "@destination/eslint-config"
    }
}

Run eslint as normal e.g.:

yarn eslint 'assets/**/*.{js,ts}'

License

Released under the MIT license

Readme

Keywords

none

Package Sidebar

Install

npm i @destination/eslint-config

Weekly Downloads

54

Version

1.4.2

License

MIT

Unpacked Size

4.13 kB

Total Files

4

Last publish

Collaborators

  • andypalmer-wearedestination.com