0.2.6 • Published 3 months ago

strictr v0.2.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

strictr

strictR - check for 'use strict'; statement

optional config

You can change default configuration via .strictr.json file:

{
	"srcFolderName": "src",                 // default: "src"
	"filesExtension": "ts",                 // default detects: "ts" for typescript and "js" for javascript
	"testFolderName": "test",               // default: "test"
}

help

strictr -h

Output:

C:\git\github\strictr> strictr -h
Usage: strictr [options]                                                                   
                                                                                           
Check for missing strict statement in files.                                               
Use .strictr.json config file to override default settings.                                
                                                                                           
Options:                                                                                   
  -V, --version          output the version number
  -a, --add              Add missing strict statements (default: false)
  -c, --config <config>  Alternative config file (must be .json) (default: ".strictr.json")
  -h, --help             display help for command       

run strictr check

strictr

Output:

No source files are missing the strict statement.

Test files missing the strict statement:
┌───┬──────────────────────┬──────────────────────────────────────┐
│ # │ File                 │ Path                                 │
├───┼──────────────────────┼──────────────────────────────────────┤
│ 1 │ check.folder.spec.ts │ C:\git\github\strictr\test\functions │
└───┴──────────────────────┴──────────────────────────────────────┘
0.2.6

3 months ago

0.2.5

3 months ago

0.2.4

11 months ago

0.2.1

1 year ago

0.1.2

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.2.3

1 year ago

0.1.4

1 year ago

0.2.2

1 year ago

0.1.3

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.0

1 year ago

0.0.3

2 years ago

0.0.4

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago

1.0.1

3 years ago