Skip to content

File and directory rules ​

What an identifier directory may contain, what its files are called, and how they are recorded.

RuleSeverityWhat
files/only-allowed-nameserrorOnly .htaccess and a README — no content files, and the rules file must be named exactly
files/no-empty-htaccesserrorAn .htaccess with no directives resolves to 404
files/no-executable-biterrorA file that is not a program must not be executable
files/htaccess-requiredwarningSomething in the directory must answer requests
files/prefer-readme-mdwarningWrite it as Markdown, called README.md

Back to the rule catalogue.