eslint-plugin-alphabetize

v1.1.1
Enforce that any arbitrary code block is alphabetized
eslint eslintplugin

test

yarn run lint && jest test.js

lint

eslint --max-warnings 0 --cache index.js test.js

lint:fix

yarn run lint --fix

comment

I used this hack to make eslint recognize the locally installed plugin. I'm not sure if there's a better way.

set-up-demo

yarn link && yarn link eslint-plugin-alphabetize

demo

eslint samples
npm i eslint-plugin-alphabetize

Metadata

  • MIT
  • Whatever
  • Nick Heiner
  • released 8/21/2020

Downloads

Maintainers