From ed1663eb3f7bd168b4f33d8c09ca8ae8ee804f3f Mon Sep 17 00:00:00 2001 From: Julian Noble Date: Sun, 18 Jan 2026 15:44:58 +1100 Subject: [PATCH] tclint.toml linter for vscode --- tclint.toml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tclint.toml diff --git a/tclint.toml b/tclint.toml new file mode 100644 index 0000000..34fde40 --- /dev/null +++ b/tclint.toml @@ -0,0 +1,34 @@ +# patterns to exclude when searching directories. defaults to empty list. +# follows gitignore pattern format: https://git-scm.com/docs/gitignore#_pattern_format +# the one exception is that a leading "#" character will be automatically escaped +#exclude = ["ignore_me/", "ignore*.tcl", "/ignore_from_here"] +# lint violations to ignore. defaults to empty list. +# can also supply an inline table with a path and a list of violations to ignore under that path. + +#ignore = [ +# "unbraced-expr", +# { path = "files_with_long_lines/", rules = ["line-length"] } +#] + +# extensions of files to lint when searching directories. defaults to tcl, sdc, +# xdc, and upf. +extensions = ["tcl", "tm", "sdc"] +# path to command spec defining tool-specific commands and arguments, generated by +# `tclint-plugins make-spec`. + +#commands = "~/.tclint/openroad.json" + +# with the exception of line-length, the [style] settings affect tclfmt rather than tclint. + +[style] +# number of spaces to indent. can also be set to "tab". defaults to 4. +#indent = 2 +# maximum allowed line length. defaults to 100. +line-length = 400 +# maximum allowed number of consecutive blank lines. defaults to 2. +max-blank-lines = 10 +# whether to require indenting of "namespace eval" blocks. defaults to true. +#indent-namespace-eval = false +# whether to expect a single space (true) or no spaces (false) surrounding the contents of a braced expression or script argument. +# defaults to false. +#spaces-in-braces = true