3.0.0 • Published 7 years ago

eslint-config-lusk v3.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

ESLint Config Lusk

npm

ESLint configs used at Lusk.

:warning: If you're using eslint-config-lusk ^3.0.0 in Node without transpilation, make sure you're using Node ^8.0.0! Trailing commas in function params and args lists will be a syntax error otherwise. See compatibility table.

Installation

# Using npm
npm install --save-dev eslint-config-lusk

Usage

Currently, two configs are provided: lusk for general JavaScript and lusk/react for React-specific rules.

In your project's .eslintrc.js, use the extends property to specify which config should be used. Done! :sparkles:

Server-side Example

module.exports = {
  env: { node: true },
  extends: "lusk",
}

Client-side example

module.exports = {
  env: { browser: true, node: true },
  extends: ["lusk", "lusk/react"],
}

If you're interested in more info about shareable configs, see these two articles:

3.0.0

7 years ago

2.0.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.0

8 years ago