@pismo/eslint-config-bolt

0.0.1-32 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.1-327latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.1-327
0.0.1-310
0.0.1-300
0.0.1-290
0.0.1-280
0.0.1-270
0.0.1-260
0.0.1-250
0.0.1-241
0.0.1-230
0.0.1-220
0.0.1-210
0.0.1-200
0.0.1-190
0.0.1-180
0.0.1-170
0.0.1-160
0.0.1-150
0.0.1-140
0.0.1-130
0.0.1-120
0.0.1-110
0.0.1-100
0.0.1-90
0.0.1-80
0.0.1-70
0.0.1-60
0.0.1-50
0.0.1-40
0.0.1-30
0.0.1-20
0.0.1-10
0.0.1-00

Package Sidebar

Install

npm i @pismo/eslint-config-bolt

Weekly Downloads

2

Version

0.0.1-32

License

ISC

Last publish

Collaborators

  • marco-lima-filho-pismo
  • marykay.grueneberg
  • rasienko
  • kmelnick
  • roberta.furlan
  • lcavalca
  • aryang-pismo
  • tiffany.long
  • timothy.robinson
  • chrcarlos.rodrigues
  • filipe.lyra
  • fagner.pelicioni
  • mateus_bombassaro
  • aline.souza
  • caique.constant
  • leandro.almeida.pismo
  • gabriel.miguel
  • clint_roberts
  • jonathanleahypi
  • pismojosh
  • fabio-rizzi_pismo
  • raphaelhernandocosta
  • giovanniprosim
  • dandwal
  • henrique.nunes
  • davi.firmino
  • wkerswell-pismo
  • thiagofribeiro
  • vinicius_vieira
  • abraaobueno
  • rodribeze
  • victorwpbastos