- Update to pug-lexer@4 & co.
- Fix problem with scoped config packages
- Support Node.js versions 4 to 12
- Add disallowTrailingSpaces rule
- docs: version 2 is already out
- docs: link keywords to npmjs.com
- Add maximumLineLength rule
- Merge pull request #121 from cspotcode/feature/json-schema
- Merge pull request #117 from pandora2000/bug/my-fix-branch
- Merge pull request #122 from cspotcode/patch-1
- Merge pull request #113 from jackbrewer/patch-1
- Fixes documentation
- Adds build script to regenerate full schema from rule schemas and docs
- Adds options schema to each rule
- Adds JSON schema for .pug-lintrc configuration
- Escape asterisk and other regexp reserved characters for attribute match pattern for validate-attribute-separator
- Corrects message for requireLowerCaseAttributes
- Update outdated dependencies (#109)
- Optimize ignoring directories
- Add validateTemplateString rule
- Add disallow template string rules
- Add disallowLegacyMixinCall rule
- CLI hot-fix
- disallowAttributeInterpolation: More accurate handling
- disallowAttributeContatentation: More accurate concatenation detection
- Adds requireStrictExtensions rule
- Added support to extend configuration files from external resources such as files and modules
- Deprecated
preset
configuration option in favour ofextends
- Updated to pug-lexer@2
- Changes priority order, and fixes naming inconsistency, of supported config files
- Adds support to disallow/require space after individual code operator types
- Validating multi-line separator now handles outdents correctly
- All rules now report column numbers for errors where appropriate
- Adds missing portion of rule documentation for validateIndentation
- Add information about plugin for VS Code
- Remove duplicate rule requireSpecificAttributes from documentation
- Minor bug fixes
- Improves disallowAttributeConcatenation and disallowStringConcatenation to remove false positives
- Improves disallowAttributeConcatenation and disallowStringConcatenation to remove false positives
- Allows commenting in config files
- disallowMultipleLineBreaks now uses lines in source rather than tokens to allow for multi-line attribute and mixin blocks
- disallowAttributeConcatenation now handles
+
characters in quotes
- Remove shrinkwrap
- Update dependencies
- Removes unnecessary console.log
- Renamed to pug-lint
- Removed unused JSON.minify dependency
- Now requires newline characters in validateAttributeSeparator.multiLineSeparator
- validateAttributeSeparator now handles multi-line attribute blocks
- New rules:
- disallowClassAttributeWithStaticValue
- disallowIdAttributeWithStaticValue
- Now accounts for block expansion when using the following rules:
- disallowDuplicateAttributes
- validateDivTags
- Now accounts for block expansion when validating order of literals and attributes
- validateAttributeSeparator now handles unescaped attributes
- Disallow contradictory rules from being used
- Rename disallowImplicitDiv to validateDivTags
- Refactored to use the latest version of
pug-lint
for improved error reporting
- Add rules to disallow attribute interpolation and concatenation
- Fix shrinkwrap
- Add rule to require strict equality operators
- Improvement to requireSpaceAfterCodeOperator
- disallowStringConcatenation now ignores unbuffered code
- Updates to Clock preset
- Resolve paths to additional rules correctly
- requireSpaceAfterCodeOperator now handles more valid cases
- Files can now be excluded via
excludeFiles
option in config - Users can now define their own rules via
additionalRules
option in config - disallow/requireSpaceAfterCodeOperators how handles lines containing variable declarations
- disallow/requireSpacesInsideAttributeBrackets now handles nested/multiple brackets
- Major bug fixing drive on existing rules
- Further fix to validateAttributeSeparators
- Further fix to validateAttributeSeparators
- New rule to disallow spaces inside attribute brackets
- Fixed bug with validateAttributeSeparator parsing the whole line rather than just the attribute values
- Fixed bug with validateAttributeSeparator handling of Array and object values
- Simplified inline reporter
- Support for built-in and custom reporters
- Support for presets
- New rules: requireSpecificAttributes
- FIX: Attribute quote validation can now handle boolean attributes correctly
- New rules:
- disallowSpecificAttributes
- disallowSpecificTags
- CLI support
- Config file support
- Initial batch of rules