Skip to content

vazco/eslint-plugin-vazco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vazco/ESLint Plugin Vazco

 

An ESLint plugin.

Table of Contents

Install

npm i -S eslint-plugin-vazco

Rules

no-console - This rule warns when it sees console. You can specify variants, like console.warn are not allowed.

Configuration

Add plugins section and specify eslint-plugin-no-console-log as a plugin.

{
  "plugins": [
    "vazco"
  ]
}

Then, enable the rule.

no-console

{
  "rules": {
    "vazco/no-console": [1, {"disallow": ["info", "time", "timeEnd"]}]
  }
}

License

Like every package maintained by Vazco, ESLint Plugin Vazco is MIT licensed.

About

An eslint plugin to warn on usage of console.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •