jsfix

0.1.4 • Public • Published

Usage

Usage: jsfix Path [Filter]

Path File or Folder path to fix.
Filter Exclude FileName or FilePath or FolderName or FolderPath.

Example

> jsfix D:/project/test-folder test.js,folder-1

Rule

  • Add missing semicolon.
  • Delete unnecessary semicolon.
  • Use '!==/===' to compare with poor relation(0, true, false, '', undefined).
  • Comment out the Console statement.
  • Use the isNaN function to compare with NaN.
  • Add radix parameter for parseInt.
  • Escape something unescaped.
  • Use if statment instead of an expression.

Readme

Keywords

none

Package Sidebar

Install

npm i jsfix

Weekly Downloads

2

Version

0.1.4

License

none

Last publish

Collaborators

  • wiky