Releases: EvgenyOrekhov/eslint-config-hardcore
Releases · EvgenyOrekhov/eslint-config-hardcore
v19.0.0 - Good Bye, CommonJS
Prefer ESM over CommonJS
See:
If you need to import *.json
files in Node.js, you can use either:
- load-json-file
--experimental-json-modules
flagimport.meta.url
withfs
import { readFile } from 'fs/promises';
const json = JSON.parse(await readFile(new URL('./dat.json', import.meta.url)));
v18.1.0
v18.0.1
Fix conflict between regexp/order-in-character-class
and unicorn/better-regex
by disabling regexp/order-in-character-class
.
v18.0.0
Major changes
- Quite a few
regexp/*
rules were added, see https://github.com/ota-meshi/eslint-plugin-regexp/releases/tag/v0.9.0 - Some options were renamed for
unicorn/*
rules, see https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v30.0.0 - Add
unicorn/prefer-switch
v17.4.0
v17.3.0
Ignore built-in globals that produce no-shadow
false positives: defaultStatus
, event
, find
, length
, name
, status
v17.2.0
v17.1.0
- Enable
disallowTemplateShorthand
option forno-implicit-coercion
- Included
catch()
andfinally()
inpromise/prefer-await-to-then
v17.0.0
Major changes
- Change
import/extensions
to"ignorePackages"
Minor changes
- Add
@putout/plugin-remove-useless-array-constructor
- Enable
disallowNeverMatch
option forregexp/no-dupe-disjunctions
v16.8.0
- Add
@putout/plugin-convert-assignment-to-comparison
- Add
@putout/plugin-remove-useless-condition
- Change
no-sequences
- setallowInParentheses
tofalse