0.0.56 • Published 2 years ago

eslint-plugin-console-to-log v0.0.56

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

eslint-plugin-console-to-log

Replaces console statements with logger

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-console-to-log:

npm install eslint-plugin-console-to-log --save-dev

Usage

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

{
  "plugins": ["no-console-log"]
}

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

{
  "rules": {
    "no-console-log/rule-name": 2
  }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.

0.0.56

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago