Nachos Pillage Milwaukee

    @sharegate/eslint-plugin-apricot

    1.2.1 • Public • Published

    sg-apricot-eslint

    Sharegate Apricot's custom ESLint plugin.

    Installation

    Install the ShareGate recommended ESLint configuration packages.

    With NPM:

    npm i -D eslint babel-eslint @sharegate/eslint-plugin-apricot

    Usage

    Add apricot to the plugins section of your .eslintrc.js configuration file.

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

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

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

    Plugin-Provided Rules

    Sharegate's plugin provides the following custom rules, which are included as appropriate in all core linting configs:

    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 : lib/rules/RULE_ID.js
    • The rule's test file : tests/lib/rules/RULE_ID.test.js
    • The rule's documentation: docs/rules/RULE_ID.md

    You must also :

    • Add the rule's documentation in this README in the Plugin-Provided Rules section.

    License

    Copyright © 2019, GSoft inc. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/gsoft-inc/gsoft-license/blob/master/LICENSE.

    Install

    npm i @sharegate/eslint-plugin-apricot

    DownloadsWeekly Downloads

    167

    Version

    1.2.1

    License

    Apache-2.0

    Unpacked Size

    89.9 kB

    Total Files

    49

    Last publish

    Collaborators

    • laurentdario
    • patricklafrance
    • fraincs
    • alexasselin008