0.0.1-32 • Published 8 years ago

@pismo/eslint-config-bolt v0.0.1-32

Weekly downloads
-
License
ISC
Repository
github
Last release
8 years ago

Pismo Bolt eslint config

Pismo Bolt's eslint shareable configuration.

Installation

> yarn add @pismo/eslint-config-bolt --dev

Then, in your .eslintrc:

{
  "extends": "@pismo/eslint-config-bolt"
}

Auto linting

You can use husky along with lint-staged and eslint to set up a precommit hook that runs eslint to automatically fix all linting-related issues.

> yarn add husky lint-staged eslint --dev

package.json file:

  "scripts": {
    "lint": "node_modules/.bin/eslint --fix",
    "precommit": "lint-staged"
  }

.lintstagedrc file:

{
  "linters": {
    "*.js": ["yarn lint", "git add"]
  }
}

That's it. It should automatically format all .js files you git add and try to git commit, then add them back for you.

0.0.1-32

8 years ago

0.0.1-31

8 years ago

0.0.1-30

8 years ago

0.0.1-29

8 years ago

0.0.1-28

8 years ago

0.0.1-27

8 years ago

0.0.1-26

8 years ago

0.0.1-25

8 years ago

0.0.1-24

8 years ago

0.0.1-23

8 years ago

0.0.1-22

8 years ago

0.0.1-21

8 years ago

0.0.1-20

8 years ago

0.0.1-19

8 years ago

0.0.1-18

8 years ago

0.0.1-17

8 years ago

0.0.1-16

8 years ago

0.0.1-15

8 years ago

0.0.1-14

8 years ago

0.0.1-13

8 years ago

0.0.1-12

8 years ago

0.0.1-11

8 years ago

0.0.1-10

8 years ago

0.0.1-9

8 years ago

0.0.1-8

8 years ago

0.0.1-7

8 years ago

0.0.1-6

8 years ago

0.0.1-5

8 years ago

0.0.1-4

8 years ago

0.0.1-3

8 years ago

0.0.1-2

8 years ago

0.0.1-1

8 years ago

0.0.1-0

8 years ago

1.0.0

8 years ago