@ttsc/lint 0.26.1 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/lib/index.d.ts +4 -1
- package/lib/index.js +457 -112
- package/lib/index.js.map +1 -1
- package/lib/structures/format/ITtscLintFormat.d.ts +4 -3
- package/linthost/compile.go +19 -3
- package/linthost/config.go +473 -34
- package/linthost/rules_format_semi.go +500 -63
- package/package.json +2 -2
- package/src/index.ts +509 -115
- package/src/structures/format/ITtscLintFormat.ts +4 -3
|
@@ -30,9 +30,10 @@ export interface ITtscLintFormat {
|
|
|
30
30
|
severity?: TtscLintSeverity;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Insert trailing semicolons on ASI-terminated statements
|
|
34
|
-
*
|
|
35
|
-
*
|
|
33
|
+
* Insert trailing semicolons on ASI-terminated statements, and on the
|
|
34
|
+
* interface, type-literal, and class members that carry no body. Mirrors
|
|
35
|
+
* Prettier's `semi`. `false` flips the rule to require _no_ trailing
|
|
36
|
+
* semicolon (rare; matches prettier's `semi: false`).
|
|
36
37
|
*
|
|
37
38
|
* @default true
|
|
38
39
|
*/
|