npm version of the package CI status standard-readme compliant
An ESLint rule to enforce brace styles according to the Distributive style guide.
npm add --save-dev eslint @distributive/eslint-pluginYou can extend from the plugin's recommended configuration:
module.exports = { extends: [ 'plugin:@distributive/recommended', ], };
Or, add @distributive to the plugins section of your .eslintrc
configuration file and configure the rules you want to use under the rules
section:
module.exports = { plugins: [ '@distributive', ], rules: { '@distributive/brace-style': 'error', }, };
πΌ Configurations enabled in.
β
Set in the recommended configuration.
π§ Automatically fixable by the --fix CLI option.
| Name | Description | πΌ | π§ |
|---|---|---|---|
| brace-style | Enforce bracing styles in accordance to the Distributive style guide | β | π§ |
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
MIT Β© 2023 Distributive Corp.