Releases: mobify/mobify-code-style
2.8.5
2.8.4
2.8.3
- Set sass linting rules to un-ignore base styles
2.8.2
- Provided more detailed linting error message in copyright header tool
2.8.1
- Fixes whitespace / newline management in copyright tool
- Fix to additional space added when --update flag passed into copyright tool
2.8.0
- Adds new copyright-header management tool
v2.7.4 - Documentation linting bugfix, CSS Classes, CSSComb editor configuration update
- Fixes the
lint-md
command so that it works in Node.js 6 environments. - Added some new conventions for CSS class names for styling hooks in PWAs and QA selector hooks
- Added instructions for setting up CSSComb in some alternate text editors
v2.7.3 - Spaced comments disabled
Temporarily disable spaced-comment
errors, until Astro release builds comply with this rule.
v2.7.2 - Spaced comments warning level
Temporarily downgrade spaced-comment
errors to warning level, until Astro release builds comply with this rule.
v2.7.1 - Markdown linting updates, pylint
Markdown
This is a very small release that fixes a bug in the lint-md
markdown linting script. It was having trouble with finding itself when invoked via a symlink (/node_modules/.bin/lint-md --> /node_modules/mobify-code-style/docs/bin/lint-md
).
We've switched the Markdown linting to use no-duplicate-headings-in-section
(instead of no-duplicate-headings
). There are times when a document does duplicate a header in different sections (especially when outlining the same series of steps for different platforms). This rule change allows duplicate headings as long as they don't occur in the same section.
Python
This update also includes some updates to Python styling and linting.