- Fill the rest of space which are not covered by TypeScript compiler.
- So we recommends to use this as warning.
- Ban a dangerous style.
- Sort a style to avoid errors and to increase productivity.
- As npm package (TBD. see #5)
- Specify tar.gz to a dependency field in your package.json.
"tslint-config-fluct": "https://github.com/voyagegroup/tslint-config-fluct/archive/<COMMIT_HASH>.tar.gz"
.- Please replace
<COMMIT_HASH>
with tag name (e.g.v1.2.3
), or an arbitary commit hash.- You can specify
master
or other branch directly. But we don't recommend it strongly.
- You can specify
{
"extends": [
"./node_modules/tslint-config-fluct/config/basic.json", // builtin basic rules.
"./node_modules/tslint-config-fluct/config/typecheck.js" // builtin typecheck rules.
],
"defaultSeverity": "warning",
"rules": {
}
}
- Import via
extends
fields in yourtslint.json
- Set
defaultSeverity
. - Enable/Disable more rules via
rules
by the requirement for your project.
see also: TSLint's document
- yarn
- We uses the latest now.