general settings
This are switches that don’t really belong in another section.
| general.ads | Verify .well-known/ads.txt |
| general.cgi -W | Check environment variables for snippets of HTML to validate. ssc expects environment variables as produced by OpenBSD’s native httpd, produced using <FORM METHOD=GET…>. Do NOT let ssc anywhere near untrusted data. Ignores many options such as shadowing. |
| general.class | Nitpick class values. |
| general.classic | Report all classes used, not just those in CSS files. |
| general.comms | Permit off–machine networking when nitpicking. This is disabled if a network error occurs while nitpicking. |
| general.custom EL | Define a custom element <EL> for verifying the IS attribute. May be repeated. |
| general.datapath dir -C dir | Look for any configuration, caches, and other useful files, in this directory. |
| general.defthrd n -Y n | If general.thread is not given, then set the number of threads to n. Ignored by single threaded builds. |
| general.description XXX | Output XXX, which should be a contextual description, to aid those reading the output. |
| general.ede | Ignore certain platform specific files, such as .DS_Store on macOS. |
| general.exclude xxx | Ignore all paths containing xxx. May be repeated. Case independent under Windows only. .DS_Store is always excluded under darwin. |
| general.file XXX | File for persistent data. See also general.datapath. Default extension: .ndx. |
| general.info | Report launch context when starting. |
| general.maxfilesize n | Do not process HTML source files that exceed n bytes in size (default: 4M). Specify 0 for unlimited, although be warned that ssc is stunningly stupid in such circumstances and may even attempt to load files bigger than available memory. |
| general.output file -o file | Output to the specified file. If this switch is not used, standard output is used. |
| general.progress -D | Dump progress information to standard output. This can interfere with formatted output. |
| general.rdfa | Check RDFa attributes. |
| general.robots | Check /robots.txt. |
| general.security | Check /security.txt. |
| general.silence xxx | Process all files and paths which match the regular expression xxx, but don’t report any nits encountered. |
| general.spec -j | Reset the values of most switches to false. |
| general.test -T | Output data in automated test format. Used by ssc-test. Not generally useful. Documented so you can avoid using it! |
| general.thread N -y N | Use N threads when running. Defaults to a value appropriate for the hardware. Too high a value can cause problems. See also general.defthrd. Ignored by single threaded builds. |
| general.update | Check for an updated version of ssc. |
| general.url-var VAR:VAL | See the URI template variable VAR to VAL. SCC only supports URI templates levels 1 to 3. For gen, browse RFC 6570. |
| general.vcs | Excludes, as per general.exclude, files and directories called: .bazaar, .bk, CVS, .cvsignore, _darcs, .fslckout, .git, .gitattributes, .gitignore, .gitmodules, .pijul, RCS, SCCS, & .svn |