Skip to content

Releases: quitsmx/eslint-config

v0.5.5

10 Jun 01:53
Compare
Choose a tag to compare

[0.5.5] - 2021-06-09

Changed

  • Updated dependencies to allow TS v4.3

v0.5.4

18 May 02:20
Compare
Choose a tag to compare

[0.5.4] - 2021-05-17

Changed

  • Updated dependencies

Removed

v0.5.3

01 May 20:10
Compare
Choose a tag to compare

[0.5.3] - 2021-05-01

Changed

  • In the overrides block of the .eslintrc.json generated by quits-eslint-init:
    • Add "./*.js" to include JS files in the root.
    • Add "rollup.config.js,scripts/**.**/*.ts" to enable ES6 import/export directives.
    • Separate "bin/**/*" to enable node/no-unpublished-require as error.
  • Move "confusing-browser-globals" from dependencies to devDependencies.
  • Include files in the root and "bin" folders in the test.
  • Update Readme.

Removed

v0.5.2

30 Apr 02:35
Compare
Choose a tag to compare

[0.5.2] - 2021-04-29

Fixed

  • The overrides block of the .eslintrc.json generated by quits-eslint-init was wrong.

v0.5.1

28 Apr 15:43
Compare
Choose a tag to compare

[0.5.1] - unreleased

Added

  • .editorconfig file.

Changed

  • Remove warnOnUnsupportedTypeScriptVersion to allow TypeScript version check.
  • Include "PascalCase" format for functions and methods in @typescript-eslint/naming-convention to allow Functional Components in react and preact.

Fixed

  • Move ecmaVersion and ecmaFeatures to the parserOptions block, the correct one.
  • Fix lint errors and tests.

v0.5.0

27 Apr 23:44
Compare
Choose a tag to compare

[0.5.0] - 2021-04-27

Changed

In build time, the configuration of this package are based on the eslint-config-prettier, eslint-config-standard and eslint-config-standard-jsx packages, which are not required in runtime.

Several rules have been changed to fit the new base and others have been added.

Include workaround for typescript-eslint/typescript-eslint#2540

Updated bin/quits-eslint-init

Removed

  • unicorn/no-zero-fractions - sometimes a trailing zero improves clarity
  • bin/list-eslint-config - use yarn eslint --print-config
  • eslint-plugin-jsx-a11y - It is easy to install from npm
  • eslint-plugin-react-perf - react/jsx-no-bind is enough

v0.4.2

08 Mar 20:05
Compare
Choose a tag to compare

[0.4.2] - 2021-03-08

Changed

  • Update dependencies.
  • Accept changes of minor version in peerDependencies

Removed

  • @typescript-eslint/prefer-optional-chain as optional-chain is expansive in es2018 and lower.

v0.4.1

05 Mar 18:35
Compare
Choose a tag to compare

[0.4.1] - 2021-03-05

Added

  • curly as warn, only for multi-line (PrettierX doesn't force braces).
  • react package to devDependencies to allow test the "react" config.

Changed

  • Update dependencies.

Fixed

  • @typescript-eslint/no-for-in-array must be in 'ts-runtime' only.

v0.4.0

19 Feb 14:24
Compare
Choose a tag to compare

[0.4.0] - 2021-02-19

Added

  • publishConfig.access: 'public' in package.json

Changed

  • Use @typescript-eslint/no-shadow instead no-shadow in TypeScript files.

The following @typescript-eslint runtime rules are disabled:

  • no-unnecessary-condition
  • prefer-readonly-parameter-types
  • prefer-readonly
  • prefer-string-starts-ends-with
  • strict-boolean-expressions
  • unbound-method

v0.3.1

18 Feb 23:40
Compare
Choose a tag to compare

[0.3.1] - 2021-02-18

Changed

  • Minor fixes to the Readme
  • Add missing "spaceBeforeFunctionParen": true to .prettierrc.json
  • Now quits-eslint-init creates a '.vscode/settings.json' file with basic VS Code settings to apply '@quitsmx/eslint-config' to JavaScript files, with automatic format on save.
  • Update dependencies.