Added explicit 'contents: read' permission to the workflow to follow
security best practices and address CodeQL security alert.
Co-authored-by: nikosavola <7860886+nikosavola@users.noreply.github.com>
- Added .tclint.toml configuration file
- Formatted all Tcl files with tclfmt (except src/xschem.tcl which has parsing issues)
- Fixed all trailing whitespace and formatting issues
- Created GitHub workflow to run tclint and tclfmt on CI
- Excluded src/xschem.tcl from linting due to parser limitations
- Configured line-length to 180 characters to accommodate long Tcl command chains
- Disabled command-args and unbraced-expr rules (legacy code style)
Co-authored-by: nikosavola <7860886+nikosavola@users.noreply.github.com>