@ferocia/eslint-plugin
Shareable ESLint Rules
Install
Pick the latest git commit hash and substitute it below.
To install via HTTPS:
yarn add --dev https://github.com/ferocia/eslint-plugin.git
Or SSH:
yarn add --dev ferocia/eslint-plugin.git
Configure
In your ESLint config file...
plugins: [
'@ferocia/eslint-plugin',
]
rules: {
'@ferocia/prefer-generic-readonly': 'error',
'@ferocia/prefer-special-apostrophe': 'error',
'@ferocia/prefer-nullable': 'error',
}
Development
To work on this, check out the ESLint Plugin docs.
To run the tests in watch mode, run:
yarn dev
To format all code, run:
yarn format