1.0.4 • Published 19 days ago

@distributive/eslint-plugin v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
19 days ago

@distributive/eslint-plugin

npm version of the package CI status standard-readme compliant

An ESLint rule to enforce brace styles according to the Distributive style guide.

Table of Contents

Install

npm add --save-dev eslint @distributive/eslint-plugin

Usage

You 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',
  },
};

Rules

💼 Configurations enabled in.\ ✅ Set in the recommended configuration.\ 🔧 Automatically fixable by the --fix CLI option.

Name       Description💼🔧
brace-styleEnforce bracing styles in accordance to the Distributive style guide🔧

Contributing

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2023 Distributive Corp.

1.0.4

19 days ago

1.0.3

1 month ago

1.0.2

7 months ago

1.0.1

8 months ago

1.0.0

10 months ago