0.2.1 • Published 4 years ago
file-linter v0.2.1
File Linter
Linter that helps keep Files consistent via Regex
Help
Run this command for options:
file-linter --help
Available options:
--help Show help [boolean]
--version Show version number [boolean]
--recursive, -r Recursively search for files [boolean] [default: false]
--fix, -f Fix failing files [boolean] [default: false]
--debug, -d Display JSON objects [boolean] [default: false]
--silent, -s Hide all output [boolean] [default: false]
--watch, -w Watch files for change [boolean] [default: false]
Usage
Installation
Module:
npm i file-linter
Global:
npm i -g file-linter
Once-off:
npx file-linter
Example
Usage as a module:
const fileLinter = require("file-linter");
console.log({ fileLinter });
const lintedDirectories = fileLinter.lintDirectories();
console.log({ lintedDirectories });
For the brave
Hot recursive fix watch:
npx file-linter -rfw
0.2.1
4 years ago
0.2.0
5 years ago
0.1.4
5 years ago
0.1.4-rc.0
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago
0.0.10
5 years ago
0.0.9
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.4-rc.2
5 years ago
0.0.4-rc.1
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1-security
5 years ago
0.0.1
5 years ago