eslint-formatter-vscode

0.1.6 • Public • Published

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

Package Sidebar

Install

npm i eslint-formatter-vscode

Weekly Downloads

39

Version

0.1.6

License

ISC

Unpacked Size

6.94 kB

Total Files

5

Last publish

Collaborators

  • firefish5000