changelogs.md


hugsmidjan/hxmstyle

Repository  -  API  -  Source

4.1.0

2021-02-11

  • feat: Reduce CSS indenting to 2 spaces, by popular demand
  • feat: Allow console.group* methods, but warn on .trace()
  • feat: Update all dependencies to latest versions
  • fix: Bug in pkg.hxmstyle.options checking

4.0.1

2021-01-28

  • fix: Clean up pkg.hxmstyle.options and args parsing

4.0.0

2021-01-27

  • BREAKING feat: Reenable consistent-type-definitions to prefer type notation – because interfaces have so many gotchas that requiring eslint-disable-line markers is justifiable
  • feat: Add rule dot-notation

3.3.0

2020-12-30

  • feat: Relax rule no-await-in-loop to "warning"
  • fix: Allow "irregular whitespace" in comments

3.2.0

2020-10-15

  • feat: Relax react/no-unescaped-entities to allow quotes in text

3.1.0

2020-10-11

  • feat: Move the global env setting to allow overwriting by .eslintrc

3.0.2

2020-10-02

  • fix: Make Prettier follow .editorconfig
  • fix: Set max_line_length in .editorconfig

3.0.0

2020-10-01

  • BREAKING feat: Update pkg.engines.node version to ^10.12
  • feat: Update all dependencies to latest versions
  • feat: Relax @typescript-eslint/explicit-module-boundary-typesto off
  • feat: Relax @typescript-eslint/ban-ts-comment to a "warning", require longer comment
  • fix: Invalid no-use-before-define behaviour

2.6.0

2020-06-11

  • feat: Add eslint-plugin-deprecation and warn on @deprecated types

2.5.1

2020-04-22

  • feat: Allow "irregular whitespace" inside template strings

2.5.0

2020-03-15

  • feat: Drop @typescript-eslint/consistent-type-definitions – because type and interface aren't really interchangable

2.4.0

2020-02-21

  • feat: Add more things to default tsconfig.json
  • feat: Update optional/peer dependencies to latest versions
  • fix: Add missing braces to "format" script example

2.3.1

2019-11-05

  • feat: Update optional/peer dependencies to latest versions
  • fix: Pretter option useTabs was never set

2.3.0

2019-10-07

  • feat: Add react/jsx-no-useless-fragment rule
  • feat: Add @typescript-eslint/consistent-type-definitions – Was prefer-interface and part of recommended in v1
  • feat: Tighten quotes rule and add template-tag-spacing rule
  • feat: Update optional/peer dependencies to latest versions

2.2.0

2019-09-14

  • feat: Use @typescript-eslint/consistent-type-assertions defaults
  • fix: Upgrade eslint to 6.4 for overrides path bugfix – (Affecting our TypeScript setup.)

2.1.0

2019-09-09

  • feat: Scope all TypeScript linting to just *.{ts,tsx} files
  • fix: Update comma-dangle rule syntax

2.0.0

2019-09-05

  • BREAKING feat: Update eslint to version 6 – which does not work in Node@6
  • feat: Update optional/peer dependencies to latest versions
  • feat: Prefer tabs over spaces for indentation
  • feat: Add 'no-var': 'warn' and no-throw-literal

1.2.0

2019-08-07

  • feat: Relax no-use-before-define to warn for all instances
  • feat: Relax @typescript-eslint/no-explicit-any to warn and ignoreRestArgs
  • feat: Relax @typescript-eslint/no-object-literal-type-assertion to allowAsParameter
  • fix: Make @typescript-eslint/indent the same as core's indent value

1.1.1

2019-07-09

  • fix: Make installer check for and install npmjs version of hxmstyle

1.1.0

2019-07-08

  • feat: Tweak rules for async, destructuring and TypeScript

1.0.0

2019-05-31

  • BREAKING feat: Change package name to @hugsmidjan/hxmstyle – publish on npmjs.com
  • BREAKING feat: Drop support for the --fantasy flag – Use parserOptions.ecmaVersion instead. Added example in the .esintrc.js starter.
  • feat: Add root: true as a default core setting
  • feat: Add optional TypeScript support (BYOTS) – (Bring Your Own TypeScript)
  • feat: Add some async/await rules
  • feat: Use the React plugin's native version: "detect" feature
  • fix: Only use yarn for installing if a yarn.lock file is found

0.2.7

2019-05-29

  • feat: Add eslint-plugin-react-hooks as --react dependency
  • feat: Update optional/peer dependencies to latest versions
  • feat: Remove no-confusing-arrow and no-mixed-operators rules – as these run counter to the opinions of Prettier
  • fix: Stop trimming trailing whitespace in markdown files.
  • fix: Installer shouldn't error on pkg.scripts being undefined.

0.2.6

2019-03-08

  • feat: Allow passing custom project package.json path to the eslint configger.
  • feat: Add option to pass _guiltily_disable_prettier:false – to disable Prettier's auto-fixing.
  • fix: Change ESLint's indent level to match Prettier's default.

0.2.5

2019-01-25

  • feat: Auto-set react.version setting value from project's package.json.
  • feat: Improve example "format" script: Prettify .json and .md.

0.2.4

2018-12-13

  • feat: Change default tabWidth to 2 spaces.

0.2.3

2018-11-30

  • fix: Improve Stylus auto-detection.
  • fix: Append newline when writing JSON to .stylintrc and package.json.

0.2.2

2018-11-30

  • feat: Add basic .editorconfig with support for __project_specific_rules__.

0.2.1

2018-11-19

  • feat: Bring back semi-colons (fewer cases of weird).
  • feat: Update example "format" script.
  • feat: Add prettier config for *.md files – for prettier --write *.md.

0.2.0

2018-11-18

  • feat: Add prettier with basic experimental config.
  • feat: Tweak core rules - partially to match prettier.
  • docs: Write short chapter about "format" npm scripts and git hooks.

0.1.0

2018-11-14

  • Initial release, with an install script and basic ESLint and Stylint rules.