Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Banno/eslint-plugin-banno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-banno

ESLint rules for Banno projects.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-banno:

$ npm install eslint-plugin-banno --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-banno globally.

Usage

Add banno to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "banno"
    ]
}

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

{
    "rules": {
        "banno/no-for-const": "error"
    }
}

Supported Rules

License

Copyright 2017 Jack Henry & Associates Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.