Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Releases: mobify/mobify-code-style

2.8.5

29 May 20:08
d2aa296
Compare
Choose a tag to compare
  • Remove linebreak-style blocks windows users from linting their code properly #169
  • Add in Responsive Best Practices section, updated references to Adaptive #165

2.8.4

31 Oct 21:52
Compare
Choose a tag to compare
  • Add support to copyright tooling for TypeScript files (.ts, .tsx) #164

2.8.3

31 May 19:02
Compare
Choose a tag to compare
  • Set sass linting rules to un-ignore base styles

2.8.2

10 May 21:45
Compare
Choose a tag to compare
  • Provided more detailed linting error message in copyright header tool

2.8.1

08 May 23:06
Compare
Choose a tag to compare
  • Fixes whitespace / newline management in copyright tool
  • Fix to additional space added when --update flag passed into copyright tool

2.8.0

05 May 21:26
Compare
Choose a tag to compare
  • Adds new copyright-header management tool

v2.7.4 - Documentation linting bugfix, CSS Classes, CSSComb editor configuration update

03 Feb 17:43
Compare
Choose a tag to compare
  • 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

10 Dec 01:20
Compare
Choose a tag to compare

Temporarily disable spaced-comment errors, until Astro release builds comply with this rule.

v2.7.2 - Spaced comments warning level

10 Dec 00:33
Compare
Choose a tag to compare

Temporarily downgrade spaced-comment errors to warning level, until Astro release builds comply with this rule.

v2.7.1 - Markdown linting updates, pylint

09 Dec 21:19
Compare
Choose a tag to compare

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.