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

Releases: mobify/mobify-code-style

2.8.5

Choose a tag to compare

@johnboxall johnboxall released this 29 May 20:08
d2aa296
  • 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

Choose a tag to compare

@johnboxall johnboxall released this 31 Oct 21:52
  • Add support to copyright tooling for TypeScript files (.ts, .tsx) #164

2.8.3

Choose a tag to compare

@johnboxall johnboxall released this 31 May 19:02
  • Set sass linting rules to un-ignore base styles

2.8.2

Choose a tag to compare

@johnboxall johnboxall released this 10 May 21:45
  • Provided more detailed linting error message in copyright header tool

2.8.1

Choose a tag to compare

@johnboxall johnboxall released this 08 May 23:06
  • Fixes whitespace / newline management in copyright tool
  • Fix to additional space added when --update flag passed into copyright tool

2.8.0

Choose a tag to compare

@johnboxall johnboxall released this 05 May 21:26
  • Adds new copyright-header management tool

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

Choose a tag to compare

@jeremywiebe jeremywiebe released this 03 Feb 17:43
  • 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

Choose a tag to compare

@Bielousov Bielousov released this 10 Dec 01:20

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

v2.7.2 - Spaced comments warning level

Choose a tag to compare

@Bielousov Bielousov released this 10 Dec 00:33

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

v2.7.1 - Markdown linting updates, pylint

Choose a tag to compare

@jeremywiebe jeremywiebe released this 09 Dec 21:19

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.