Skip to content

gramener/eslint-plugin-no-url-params-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-no-url-params-template

Construct URL params with URLSearchParams not template literals

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-no-url-params-template:

npm install eslint-plugin-no-url-params-template --save-dev

Usage

Add no-url-params-template to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "no-url-params-template"
    ]
}

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

{
    "rules": {
        "no-url-params-template/rule-name": 2
    }
}

Rules

Name                   Description
no-url-params-template Construct URL params with URLSearchParams not template literals

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published