Socket
Book a DemoInstallSign in
Socket

eslint-formatter-vscode

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-formatter-vscode

Color coated vscode compatible eslint formatter.

0.1.6
latest
npmnpm
Version published
Weekly downloads
26
73.33%
Maintainers
1
Weekly downloads
 
Created
Source

Color coated output compatible with vscode.

Output severity, filepath, and ruleId npx eslint './src/**/*.{js,ts,tsx,jsx}' -f vscode

warning src/utility/generic.ts:2:1  max-len
warning src/utility/generic.ts:2:23 @typescript-eslint/explicit-module-boundary-types
warning src/utility/generic.ts:2:23 @typescript-eslint/explicit-function-return-type

error   src/utility/i18n.ts:2:39   @typescript-eslint/no-unused-vars

Output severity, filepath, ruleId, message, and file summary npx eslint './src/**/*.{js,ts,tsx,jsx}' -f vscode/detailed

error   src/utility/i18n.ts:2:39 @typescript-eslint/no-unused-vars 'get' is defined but never used.
warning src/utility/i18n.ts:15:7 no-console Unexpected console statement.
error   src/utility/i18n.ts:43:7 @typescript-eslint/no-unused-vars 'fetchL10n' is assigned a value but never used.
warnings 1 errors 2

warning src/utility/search.ts:5:1  max-len This line has a length of 131. Maximum allowed is 100.
warning src/utility/search.ts:5:25 @typescript-eslint/explicit-module-boundary-types Missing return type on function.
warning src/utility/search.ts:5:25 @typescript-eslint/explicit-function-return-type Missing return type on function.
warnings 3 errors 0

TODO

  • Add screenshots of color coated output

Keywords

eslint

FAQs

Package last updated on 05 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.