Package Exports
- ts-standardx
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ts-standardx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ts-standardx [WIP]
Yet another customizable Standard for TypeScript.
Install
npm install --save-dev ts-standardx
Usage
$ npx ts-standardx --help
ts-standardx: TypeScript Standard Style (https://github.com/exuanbo/ts-standardx#readme)
usage: ts-standardx <flags> [FILES...]
If FILES is omitted, all source files (*.js, *.jsx, *.mjs, *.cjs, *.ts)
in the current working directory will be checked recursively.
Certain paths dist/, coverage/, files/folders that begin with '.'
like .git/ and paths in the project's root .gitignore are ignored by default.
Basic:
--fix Automatically fix problems
--verbose Show rule names for errors (to ignore specific rules)
-v, --version Show current version
-h, --help Show usage information
Advanced:
--stdin Read file text from stdin
--ext Specify JavaScript file extensions
--global Declare global variable
--plugin Use custom eslint plugin
--env Use custom eslint environment
--parser Use custom js parser (e.g. babel-eslint)
Todo
- Unit testing
- Documentation
License
MIT License © 2020 Exuanbo