@automattic/eslint-plugin-wpvip

v0.13.0
ESLint plugin for internal WordPress VIP projects
eslint eslintconfig

jest

npm run cmd:jest

lint

npm run cmd:lint .

test

npm run jest

format

npm run cmd:format -- --write

cmd:jest

npm run link-plugin && jest

cmd:lint

npm run link-plugin && eslint --ext 'js,jsx,ts,tsx'

lint:fix

npm run cmd:lint . -- --fix

cmd:format

prettier --ignore-path .gitignore '**/*.(js|json|jsx|md|ts|tsx|yml|yaml)'

check-types

tsc -p tsconfig.check.json

link-plugin

mkdir -p ./node_modules/@automattic; ln -fns $(pwd) ./node_modules/@automattic/eslint-plugin-wpvip

format:check

npm run cmd:format -- --check

jest:update-snapshot

npm run cmd:jest -- --updateSnapshot
npm i @automattic/eslint-plugin-wpvip

Metadata

Downloads