1.4.0 • Published 2 years ago

@sharegate/eslint-plugin-rules v1.4.0

Weekly downloads
41
License
Apache-2.0
Repository
-
Last release
2 years ago

@sharegate/eslint-plugin-rules

Sharegate's custom ESLint plugin.

Usage

Add the sharegate rules plugin to your .eslintrc configuration file.

{
    plugins: ["@sharegate/rules"]
}

Then configure the rules you want to use under the rules section.

{
    rules: {
        "@sharegate/rules/rule-name": "warn"
    }
}

Maintainers

The following documentation is only for the maintainers of this repository.

Rule Creation

In order to create a new rule, you must manually create 3 new files :

  • the rule's definition : packages\plugin\lib\rules[RULE_ID].js
  • the rule's test file : packages\plugin\tests\lib\rules[RULE_ID].test.js
  • the rule's documentation: packages\plugin\docs\rules[RULE_ID].md

And add the rule's documentation in the workspace's README in the Plugin-Provided Rules section.

1.4.0

2 years ago

1.3.2

3 years ago

1.3.1

4 years ago

1.3.1-beta.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

5 years ago

1.0.0

5 years ago