eslint-config-kevinoid

ESLint shareable config for @kevinoid's style (based on Airbnb).

MIT License

Downloads
3K
Stars
0
Committers
4

Bot releases are visible (Hide)

eslint-config-kevinoid -

Published by kevinoid over 3 years ago

BREAKING CHANGES

Dependency Updates

eslint-config-kevinoid -

Published by kevinoid over 3 years ago

Features

  • Disable unicorn/prefer-node-protocol until node: is supported by eslint-plugin-node.
  • Configure parserOptions.ecmaVersion: 2020, since ecmaVersion: 2019 set by plugin:node/recommended lacks support for import() and import.meta.url, while ecmaVersion: 2021 would not warn about ?. and ?? on Node.js versions which don't support them.
eslint-config-kevinoid -

Published by kevinoid over 3 years ago

BREAKING CHANGES

  • Enable unicorn/prefer-module and unicorn/prefer-node-protocol rules.
  • Enable import/no-unused-modules rule for ESM packages.
  • Disable node env for node to avoid defining globals which are only available in CommonJS modules.
  • parserOptions for node are now set by plugin:node/recommended based on package.json#type.
  • Enable import/extensions rule.

Features

  • Allow eslint-plugin-node to set parserOptions based on package.json#type.
eslint-config-kevinoid -

Published by kevinoid over 3 years ago

BREAKING CHANGES

  • Bump eslint-plugin-unicorn from 28.0.0 to 29.0.0. See Release Notes.
  • Bump eslint-plugin-jsdoc from 31.6.1 to 32.0.0. See Release Notes.

Features

  • Don't prefer-destructuring for Array assignment (488c10a)
  • Use env and parserOptions from eslint-plugin-unicorn, unless overridden.
  • Use parserOptions ecmaVersion: 2020 and sourceType: script for node.
eslint-config-kevinoid -

Published by kevinoid over 3 years ago

BREAKING CHANGES

Features

  • No prefer-exponentiation-operator for WSH (9fb35a3)
  • Disable no-inner-declarations rule (08493af)
  • Disable no-loop-func for all but WSH (2cb6e6a)
  • Disable vars-on-top everywhere (da5cd4c)
eslint-config-kevinoid -

Published by kevinoid over 3 years ago

Features

eslint-config-kevinoid -

Published by kevinoid over 3 years ago

BREAKING CHANGES

  • Bump eslint-plugin-unicorn from 26.0.0 to 27.0.0. See Release Notes.

Features

Bug Fixes

  • Handle object in no-restricted-globals config to fix IE-specific overrides of Airbnb configuration. (04d9ef9)
  • Disable unicorn/no-array-for-each for IE, which lacks support for for-of.
eslint-config-kevinoid -

Published by kevinoid almost 4 years ago

BREAKING CHANGES

  • Bump eslint-plugin-unicorn from 25.0.1 to 26.0.0. See Release Notes.
  • Bump eslint-plugin-jsdoc from 30.7.13 to 31.0.7. See Release Notes.
eslint-config-kevinoid -

Published by kevinoid almost 4 years ago

BREAKING CHANGES

  • Package exports are now defined to prevent importing files other than the env-specific exported files. Other files are not part of the package API and may be changed at any time.

Features

  • Bump eslint-plugin-unicorn from 21.0.0 to 25.0.1. See Release Notes.
  • Allow generators for node and webextensions env (6290fee)
  • Allow/Prefer for...of loops (a6de803)
  • Disable unicorn/custom-error-definition (bcbb98e)
  • Disable unicorn/prefer-ternary (e6d6432)
  • Enable unicorn/prefer-string-trim-start-end (cc70995)
eslint-config-kevinoid -

Published by kevinoid almost 4 years ago

BREAKING CHANGES

  • Lint JSDoc in closure mode to support @template (and other) tags along with module: type syntax. (3a14edd)
eslint-config-kevinoid -

Published by kevinoid about 4 years ago

Features

  • Bump eslint-plugin-jsdoc from 28.7.0 to 29.2.0 (2f2f8e5)

BREAKING CHANGES

  • eslint-plugin-jsdoc now adds spaces between union items and removes JSDuck support (unions with "/" instead of "|").
eslint-config-kevinoid -

Published by kevinoid over 4 years ago

  • Disable promise/no-return-in-finally (07efe5c)
eslint-config-kevinoid -

Published by kevinoid over 4 years ago

  • Use jsdoc typescript mode (e46a389)
eslint-config-kevinoid -

Published by kevinoid over 4 years ago

BREAKING CHANGES

Features

  • Don't require @param/@returns with @private (99bcfe8)
  • Enable jsdoc rules at error level (9709f93)
  • Enable no-constant-condition as error (5e2f997)
  • Enable require-hyphen-before-param-description to forbid hyphen (89a358c)
eslint-config-kevinoid -

Published by kevinoid over 4 years ago

8.0.0 (2020-05-23)

Features

eslint-config-kevinoid -

Published by kevinoid over 4 years ago

Bug Fixes

eslint-config-kevinoid -

Published by kevinoid over 4 years ago

eslint-config-kevinoid -

Published by kevinoid over 4 years ago

BREAKING CHANGES

  • Enable new no-null rule.
  • Remove XDomainRequest global for wsh environment.

Dependency Updates

  • Update to eslint-plugin-unicorn@^19.0.0 (5b3c8bf)
  • Update to globals@^13.0.0, which includes WScript non-writable globals. (353f9dc) (ddcebcf)
eslint-config-kevinoid -

Published by kevinoid over 4 years ago

Bug Fixes

eslint-config-kevinoid -

Published by kevinoid over 4 years ago

BREAKING CHANGES

Features