@thibaudcolas/eslint-plugin-cookbook

v5.0.0
Shareable ESLint config, based on airbnb/javascript, bundled as a plugin
eslint eslintconfig eslint-config eslintplugin eslint-plugin

lint

eslint --report-unused-disable-directives . && prettier --check '**/?(.)*.{md,css,scss,js,json,yaml,yml,html}'

format

prettier --write '**/?(.)*.{md,css,scss,js,json,yaml,yml,html}'

build

./src/buildConfigs.js

build:docs

node src/documentation.js

prepublishOnly

npm run build && npm run build:docs

test

jest

test:coverage

jest --coverage

test:watch

jest --watch

test:ci

npm run build && npm run lint && npm run test:coverage

prepare

./.githooks/deploy.sh

report:package

npm pack --loglevel notice 2>&1 >/dev/null | sed -e 's/^npm notice //' && rm *.tgz
npm i @thibaudcolas/[email protected]

Metadata

  • MIT
  • Whatever
  • Thibaud Colas
  • released 9/2/2019

Downloads