eslint-config-fuzzy

1.0.6 • Public • Published

Description

eslint config for Fuzzy's Javascript projects.

Usage

Add the eslint and eslint-config-fuzzy modules to your devDependencies in your project's package.json file. For example:

"devDependencies":
  "eslint": "^2.11.1",
  "eslint-config-fuzzy": "^1.0.0"
}

Add a .eslintrc file to the root of your project:

{
  "extends": [
    "fuzzy"
  ]
}

Add lint scripts to the scripts block in your project's package.json:

"scripts": {
  "lint": "eslint [YOUR_SOURCE_DIR]",
  "lint-fix": "eslint --fix [YOUR_SOURCE_DIR]"
}

Run lint!

$ npm run lint

or, to auto-fix automatically fixable errors:

$ npm run lint-fix

Publishing a new version

Prerequisites

Publishing to npm

  1. Update the version in package.json
  2. $ npm publish
  3. If you've published a new major revision, inform the rest of the team so they can update their respective dependencies

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-fuzzy

Weekly Downloads

2

Version

1.0.6

License

ISC

Last publish

Collaborators

  • sdimmick