33.3.0 (2024-12-03)
- New
@kevinoid/eslint-config/browser
configuration for modern browsers.
33.2.0 (2024-11-02)
- Configure
n/no-unsupported-features/node-builtins
to allow experimental features (aa803d8) - Configure
n/no-unsupported-features/node-builtins
to stop ignoringfetch
, which is now allowed as an experimental feature (aa803d8)
33.1.0 (2024-11-02)
- Configure
n/no-unsupported-features/node-builtins
to ignorefetch
, due to unnecessary warnings about experimental status on Node.js 18-20 (6555383)
33.0.0 (2024-10-31)
- Require Node.js
^18.18.0 || ^20.9.0 || >=21.1.0
for ESLint 9 and plugins (57c8eca) - Enable
no-object-constructor
rule (dcc73f3) - Enable
no-constant-binary-expression
rule (566df02) - Bump
eslint-plugin-unicorn
from ^48.0.0 to ^56.0.0. See Release Notes.- Enable new rule
prefer-global-this
- Enable new rule
prefer-math-min-max
- Enable new rule
consistent-existence-index-check
- Enable new rule:
no-length-as-slice-end
- Disable
better-regex
, which is no longer recommended.
- Enable new rule
- Bump
eslint-plugin-jsdoc
from ^46.0.0 to ^50.0.0. See Release Notes. - Bump
eslint-plugin-n
from ^16.0.0 to ^17.1.0. See Release Notes. - Bump
eslint-plugin-promise
from ^6.0.0 to ^7.0.0. See Release Notes.
- Bump
globals
from ^13.0.0 to ^15.0.0. See Release Notes.
32.0.0 (2023-10-20)
- Drop support for Node.js <18.
- Bump
eslint-plugin-regexp
from ^1.15.0 to ^2.0.0. See Release Notes. - Enable
prefer-object-has-own
(e743137) - Enable
unicorn/prefer-at
(294d4ea) - Re-enable
node
env forfetch
global (3779eec)
31.1.0 (2023-10-01)
- Enable
ignoreSticky
forregexp/no-super-linear-move
(99b5de6)
31.0.0 (2023-09-06)
- Group
builtin
imports separately before others in the import order (c1aaec3)
30.0.0 (2023-08-17)
- Use eslint-plugin-regexp to check
RegExp
s. (554ec3b) - Bump
eslint-plugin-jsdoc
from ^43.0.0 to ^46.0.0. See Release Notes. - Bump
eslint-plugin-n
from ^15.0.0 to ^16.0.0. See Release Notes. - Bump
eslint-plugin-unicorn
from ^47.0.0 to ^48.0.0. See Release Notes. - Enforce import ordering and newlines (9e9cd45)
- Extend
plugin:jsdoc/recommended-error
rather than convertingwarn
toerror
(6a316b9)
29.0.0 (2023-05-07)
- Drop support for Node.js <16.
- Enable
logical-assignment-operators
. - Require eslint@^8.27.0 and enable new rules
- Enable new
no-empty-static-block
. - Enable new
no-new-native-nonconstructor
.
- Enable new
- Bump
eslint-plugin-unicorn
from ^44.0.0 to ^47.0.0. See Release Notes- Enable new
unicorn/no-typeof-undefined
. - Enable new
unicorn/prefer-set-size
. - Enable new
unicorn/prefer-blob-reading-methods
. - Enable
unicorn/prefer-event-target
. - Enable
unicorn/prefer-string-replace-all
.
- Enable new
- Bump
eslint-plugin-jsdoc
from ^39.9.1 to ^43.0.0. See Release Notesjsdoc/newline-after-description
was replaced byjsdoc/tag-lines
.
- Rename
node.js
tonodejs.js
to avoid inadvertent invocation on Windows. Continue to export/node
and/node.js
from this package for compatibility. (f313889)
28.1.0 (2022-10-23)
- Disable
n/no-process-exit
(5bd1dc8) which is already checked by the built-inno-process-exit
rule.
28.0.0 (2022-10-23)
- Bump
eslint-plugin-unicorn
from ^43.0.0 to ^44.0.0. See Release Notes- Enable new
no-unnecessary-await
rule - Enable new
switch-case-braces
rule to avoid unnecessary braces.
- Enable new
- Support Node.js >16 (9fe3e66)
- Disable
unicorn/prefer-module
for webextensions (831eabb) - Enable
unicorn/prefer-array-flat-map
in webextensions (bcb9dce) - Ignore
import/no-unresolved
false-positives (c10642a)
27.1.1 (2022-08-24)
- Support Node.js >16 (353e13a)
27.1.0 (2022-07-03)
- Bump
parserOptions.ecmaVersion
to 2022 (7e1978d)
27.0.0 (2022-07-03)
- Drop support for Node.js less than 14.18.
- Switch from eslint-plugin-node, to eslint-plugin-n (as done by xo).
- Bump
eslint-plugin-unicorn
from ^42.0.0 to ^43.0.0. See Release Notes- Enable new
prefer-logical-operator-over-ternary
rule - Enable new
prefer-event-target
rule. - Enable
prefer-top-level-await
rule.
- Enable new
- Update to
eslint-plugin-unicorn@^43.0.0
- Enable
unicorn/prefer-node-protocol
26.0.0 (2022-05-05)
- Drop support for Node.js 12. Require Node.js 14.14 or later.
- use parserOptions.ecmaVersion 2021 (14611b2)
25.0.0 (2022-04-01)
- Bump
eslint-plugin-unicorn
from ^40.1.0 to ^42.0.0. See Release Notes:- Enable new rule
text-encoding-identifier-case
. - Enable
es2020
env (but notes2022
as eslint-plugin-unicorn does). - Enable new rule
no-useless-switch-case
- Enable new rule
prefer-modern-math-apis
(except ie11 and wsh envs, which lack these APIs) - Enable new rule
no-unreadable-iife
- Enable new rule
prefer-native-coercion-functions
- Enable new rule
- Bump
eslint-plugin-jsdoc
from ^37.9.7 to ^38.0.3. See Release Notesjsdoc/match-description
regular expressions now need to take account for trailing whitespace.
- disable
capIsNew
new-cap
option for WSH (2e40bf5) - disable
jsdoc/no-undefined-types
for WSH (3d9c51d)
24.0.0 (2022-01-03)
- Require ESLint 8.
- Enable
array-bracket-newline
andarray-element-newline
for consistent newlines in arrays. (To matchfunction-paren-newline
andfunction-call-argument-newline
for functions). - Enable
no-unused-private-class-members
. - Include
typeof
expressions inno-undef
.
23.0.0 (2021-09-15)
- Bump
eslint-plugin-unicorn
from ^35.0.0 to ^36.0.0. See Release Notes:- Enable new rule
no-useless-fallback-in-spread
. - Enable new rule
no-invalid-remove-event-listener
.
- Enable new rule
22.0.0 (2021-08-04)
- Bump
eslint-plugin-unicorn
from ^34.0.0 to ^35.0.0. See Release Notes:- Enable new rule
prefer-object-from-entries
. - Enable new rule
no-useless-length-check
. - Enable new rule
no-useless-spread
.
- Enable new rule
- Bump
eslint-plugin-jsdoc
from ^35.0.0 to ^36.0.2. See Release Notes. - Require Node.js ^12.20 || ^14.14 || ^16, for eslint-plugin-jsdoc@^36.
21.0.0 (2021-06-29)
- Bump
eslint-plugin-unicorn
from 33.0.1 to 34.0.0. See Release Notes:- Enable new rule
no-array-method-this-argument
. - Enable new rule
require-post-message-target-origin
.
- Enable new rule
- Disallow
process.nextTick
inno-restricted-properties
in favor ofqueueMicrotask
as recommended by the Node.js API docs (a01b279)
- Allow
LabeledStatement
inno-restricted-syntax
rule, since it is already disallowed byno-labels
(9cfe4ff)
- Disable
no-continue
rule (280ab85)
20.0.0 (2021-06-07)
- Enable additional
eslint-plugin-unicorn
rules:
- Update to
eslint-plugin-unicorn@^33.0.0
- Match trailing comma in
max-len
ignorePattern
(aeb7825)
19.0.1 (2021-05-29)
- Improve code for importing peer dependencies to fix issues when
require.main
is noteslint
. (d898698)
19.0.0 (2021-05-29)
- Update to
eslint-plugin-jsdoc@^35.0.0
18.0.1 (2021-05-16)
- Configure
definedTypes
for thejsdoc/no-undefined-types
rule for ECMAScript/TypeScript types which do not have a matching name in the global scope (e.g.Generator
,Iterator
, etc.).
18.0.0 (2021-05-14)
- Drop support for Node.js 10. Require Node.js 12 or later.
- Enable additional
eslint-plugin-unicorn
rules:
- Update to
eslint-plugin-unicorn@^32.0.0
- Update to
eslint-plugin-jsdoc@^34.0.0
17.1.0 (2021-05-06)
- Disable
unicorn/prefer-node-protocol
untilnode:
is supported byeslint-plugin-node
. - Configure
parserOptions.ecmaVersion: 2020
, sinceecmaVersion: 2019
set byplugin:node/recommended
lacks support forimport()
andimport.meta.url
, whileecmaVersion: 2021
would not warn about?.
and??
on Node.js versions which don't support them.
17.0.0 (2021-04-30)
- Enable
unicorn/prefer-module
andunicorn/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 byplugin:node/recommended
based onpackage.json#type
.- Enable
import/extensions
rule.
- Allow
eslint-plugin-node
to setparserOptions
based onpackage.json#type
.
16.0.0 (2021-03-29)
- 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.
- Don't
prefer-destructuring
for Array assignment (488c10a) - Use
env
andparserOptions
fromeslint-plugin-unicorn
, unless overridden. - Use
parserOptions
ecmaVersion: 2020
andsourceType: script
fornode
.
15.0.0 (2021-02-10)
- Bump
eslint-plugin-unicorn
from 27.0.0 to 28.0.0. See Release Notes. - Enable several rules marked for next major version of
airbnb-base
(since this package already depends on the requisite version of ESLint):- Enable
default-case-last
. - Enable
grouped-accessor-pairs
. - Enable
no-constructor-return
. - Enable
no-dupe-else-if
. - Enable
no-import-assign
. - Enable
no-loss-of-precision
. - Enable
no-nonoctal-decimal-escape
. - Enable
no-promise-executor-return
. - Enable
no-setter-return
. - Enable
no-unreachable-loop
. - Enable
no-unsafe-optional-chaining
. - Enable
no-useless-backreference
. - Enable
prefer-regex-literals
.
- Enable
- 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)
14.1.0 (2021-02-01)
- Export
package.json
for depcheck.
14.0.0 (2021-01-26)
- Bump
eslint-plugin-unicorn
from 26.0.0 to 27.0.0. See Release Notes.
- Disable
jsdoc/require-yields-check
which conflicts with a common parameter checking idiom.
- Handle
object
inno-restricted-globals
config to fix IE-specific overrides of Airbnb configuration. (04d9ef9) - Disable
unicorn/no-array-for-each
for IE, which lacks support forfor-of
.
13.0.0 (2021-01-18)
- 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.
12.0.0 (2020-12-31)
- 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.
- 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)
11.0.0 (2020-08-02)
- Lint JSDoc in closure mode to support
@template
(and other) tags along withmodule:
type syntax. (3a14edd)
10.0.0 (2020-07-31)
- Bump
eslint-plugin-jsdoc
from 28.7.0 to 29.2.0 (2f2f8e5)
eslint-plugin-jsdoc
now adds spaces between union items and removes JSDuck support (unions with "/" instead of "|").
9.2.0 (2020-06-14)
- Disable
promise/no-return-in-finally
(07efe5c)
9.1.0 (2020-06-14)
- Use jsdoc typescript mode (e46a389)
9.0.0 (2020-06-12)
- 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)
8.0.0 (2020-05-23)
- Add
eslint-plugin-jsdoc
(9aba777)
7.1.1 (2020-04-26)
- Fix
unicorn/catch-error-name
configuration to useignore
instead ofcaughtErrorsIgnorePattern
for 19.0.0 (as a result of sindresorhus/eslint-plugin-unicorn#661) (06bf7f6)
7.1.0 (2020-04-26)
- Disable
unicorn/no-fn-reference-in-iterator
(898069d)
7.0.0 (2020-04-26)
- Enable new
unicorn/no-null
rule. - Remove
XDomainRequest
global forwsh
environment.
- Update to
eslint-plugin-unicorn@^19.0.0
(5b3c8bf) - Update to
globals@^13.0.0
, which includes WScript non-writable globals. (353f9dc) (ddcebcf)
6.0.1 (2020-04-09)
- Remove
arguments.callee
fromno-restricted-properties
since it is already covered byno-caller
(8460214)
6.0.0 (2020-03-26)
- Set
capIsNew: true
fornew-cap
rule (15740f2), see airbnb/javascript#2200
- Update to
eslint-plugin-unicorn@^18.0.0
(745b8ed):- Not currently enabling new
prefer-number-properties
andprefer-set-has
rules.
- Not currently enabling new
5.0.0 (2020-03-10)
- Update
eslint-plugin-unicorn
to^17.0.0
(ded9395):- Rename
unicorn/regex-shorthand
tounicorn/better-regex
.
- Rename
4.0.0 (2020-02-14)
- Drop support for Node.js 8, require 10 or later (due to
sindresorhus/eslint-plugin-unicorn@d2ffe2c in
[email protected]
). - Require lower-case
e
in number literals (due to sindresorhus/eslint-plugin-unicorn#490 in[email protected]
). - Enable
unicorn/prefer-trim-start-end
fornode
env. (b9b90c4)
- Use
prefer-exponentiation-operator
instead ofunicorn/prefer-exponentiation-operator
(8b471c9)
- Disable
unicorn/no-for-loop
due to conflicts withrestricted-syntax
fromeslint-config-airbnb-base
which prevents iterators/generators due to regenerator polyfill overhead (fe93887)
3.0.0 (2020-01-26)
operator-linebreak
after
for all assignment operators (7bae3ec)- Update
eslint-plugin-unicorn
to
^15.0.0
, enabling newprefer-modern-dom-apis
rule. - Update
eslint-plugin-node
to^11.0.0
.
- Enable
ignoreRestSiblings
forno-unused-vars
rule (a979bf6)
2.0.0 (2019-11-29)
- Enables new prefer-negative-index rule.
- WSH: pre-defined globals are now non-writable.
- WSH: add
RuntimeObject
tono-restricted-globals
, since unboundthis
is always preferable (see link in error message for details).
- Add messages to
no-restricted-globals
. - Update
globals
to^12.3.0
for additional WSH globals (CollectGarbage
,Debug
,RuntimeObject
). - Update
eslint-plugin-unicorn
to^14.0.0
.
1.0.1 (2019-11-17)
- Update
eslint-plugin-unicorn
to^13.0.0
.
1.0.0 (2019-11-11)
- Add
wsh.js
for Windows Script Host. - Declare this as the first stable release (by semver conventions).
0.5.0 (2019-11-03)
- Update
eslint-plugin-unicorn
to ^12.0.2.- Enable new
prefer-string-slice
rule.
- Enable new
0.4.1 (2019-09-17)
- Disable
unicorn/no-nested-ternary
rule.
0.4.0 (2019-09-16)
- Update
eslint-plugin-unicorn
to ^11.0.0.
0.3.0 (2019-09-15)
- Update
eslint-plugin-node
dependency to 10.
0.2.0 (2019-09-02)
- Disable
promise/always-return
allowReject
forpromise/no-return-wrap
- Enable
prefer-promise-reject-errors
incl. empty - Disable
node/exports-style
v0.1.0 (2019-09-01)
* This Change Log was automatically generated by github_changelog_generator