@clark/eslint-plugin-import-helpers-with-package

v2.2.0
Extends `import-helpers/order-imports` so that it can infer the name of the package the file belongs to
eslint eslint-plugin eslint-plugin-import order-imports eslint-plugin-import-helpers configurable import

lint:js

eslint --ext ts .

lint:types

tsc --noEmit

build

tsc --build --force

clean

tsc --build --clean

patch-main-prod

../../tools/patch-json-object.js package.json '{ "main": "index.js" }'

patch-main-dev

../../tools/patch-json-object.js package.json '{ "main": "index.ts.js" }'

prepack

yarn build && yarn patch-main-prod

postpack

yarn clean && yarn patch-main-dev
npm i @clark/eslint-plugin-import-helpers-with-package

Metadata

  • ISC
  • ^10.0 || ^12.0 || ^13.0 || >=14.0
  • Jan Buschtöns
  • released 2/15/2021

Downloads