Releases: zthun/janitor
Releases · zthun/janitor
14.3.2
10.2.0
10.1.3
10.1.2
10.1.1
10.1.0
10.0.0
Bug Fixes
- markdownlint will now properly load .markdownlint.json (eefbd03)
- removed logging requirement (6bbbf3a)
Code Refactoring
- moving json linter into content (83795c9)
- move file lint report into linter (09b6772)
- move file lint to linters (0c8b761)
- move html to content folder (84eea52)
- move yaml to content (6759df5)
- moved markdown lint to linter (8b3de5a)
- moved silent lint to linter (44e6932)
- moving eslint to linteres (8f7ee7e)
- moving style lint into linters (ac22375)
Features
- added prettier check support (83bf62e)
- added spelling lint support (9053a70)
- added support for cosmiconfig based config reads (c7f6a4c)
- adding icon (6934429)
- better icon (f3c19d1)
- file linting should now discover config files (9a4282d)
- removed dead code (c0f33f9)
- silent lint can now take the resolve argument (1718a2e)
- the config reader can now take additional paths plus the standards (1eea5bf)
- the cosmiconfig reader now supports module configs (fbe0c65)
- the default paths for eslint and stylelint now run through each respective linter (fb60cf8)
- the linters now look at the root of the repository (901622e)
- the spelling linter should now fail with issues (52daeb8)
- You can now use node paths in the lint janitor config for stylelint (8f829c3)
- You can now use node paths to the eslintConfig in the lint janitor config (f835d3b)
BREAKING CHANGES
- ZFileReportLint has been renamed to ZLinterReport
- ZFileLint has been renamed to ZLinterFile
- ZMarkdownLint has been renamed to ZLinterMarkdown
- ZStyleLint has been renamed to ZLinterStyle
- ZSilentLint has been renamed to ZLinterSilent
- ZYamlLint has been renamed to ZContentLinterYaml
- ZJsonLint has been renamed to ZContentLinterJson
- ZHtmlHint has been renamed to ZContentLinterHtml
- ZEsLint has been renamed to ZLinterEs
- The following are no longer exported
IZConfigParser
ZConfigJsonParser
ZConfigReader
MIGRATION: Just use ZConfigCosmicReader
- ZLintJanitor no longer exports DefaultHtmlHintConfig
or DefaultMarkdownLintConfig as these will be removed.
This also add ZConfigCosmicReader and ZConfigExtender.
MIGRATION: Use null instead
- You must now have the appropriate configuration
at the root of your project.
MIGRATION: You should create your own shared configuration based on
the eslint, stylelint, htmlhind, and markdownlint standards.
9.0.0
Changed
- [BREAKING] - The default .eslintrc now has require-jsdoc set to error and js-doc options on.
- [MIGRATION] - Either add required jsdoc to your typescript or turn off require-jsdoc in your local config file.
- [BREAKING] - The default .eslintrc now favors @typescript/no-unused-vars over eslint no-unused-vars.
- [MIGRATION] - Only fails if your using javascript and not typescript. Turn off @typescript/no-unused-vars and turn on no-unused-vars in your own config.
- [BREAKING] - Update ESLint, js-yaml, markdownlint and typescript to the latest versions.
- [MIGRATION] - See respective package changelogs for notes on changes.
8.0.0
Added
- Added support for linting less, css, sass, scss and other style files using style-lint.
- Added support for linting markdown files using markdownlint.
Changed
- [BREAKING] - ZLint is now ZLintJanitor
- [MIGRATION] - Replace all instance of ZLint, IZLintArgs, and IZLintOptions with ZLintJanitor, IZLintJanitorArgs, and IZLintJanitorOptions respectively.
- [BREAKING] - ZSilentLinter is now ZSilentLint.
- [MIGRATION] - Replace all instance of ZSilentLinter with ZSilentLint.
- [BREAKING] - Renamed package to @zthun/lint-janitor.
- [MIGRATION] - Uninstall @zthun/web-styles and install @zthun/lint-janitor instead.
- [BREAKING] - Renamed the application executable to lint-janitor.
- [MIGRATION] - Change zlint to lint-janitor and all .zlint based files to lint-janitor.
- Fixed a bug where the config.js based config was not loading.
Removed
- [BREAKING] - Ts file globs are no longer supported in the config file.
- [MIGRATION] - Use esFiles instead.
- [BREAKING] - Sass file globs are no longer supported in the config file.
- [MIGRATION] - Use style files instead.