Bot releases are hidden (Show)
Published by belgattitude 10 months ago
7b1b87d
Thanks @belgattitude! - Add jest prefer-to-be and jest prefer-to-containPublished by belgattitude 11 months ago
5ce0b1c
Thanks @belgattitude! - All plugins to latestPublished by belgattitude 11 months ago
13b44e4
Thanks @belgattitude! - All plugins to latestPublished by belgattitude 11 months ago
#465 4f26b88
Thanks @belgattitude! - Disable eslint-plugin-import sort
In preparation for dprint support, you must now opt-in for import/export sort.
module.exports = {
// for brevity
extends: [
// Group 1: recommended always
'@belgattitude/eslint-config-bases/typescript',
'@belgattitude/eslint-config-bases/simple-import-sort',
// ...rest
],
};
Note that the eslint-plugin-import has been changed to simple-import-sort
internally. Expect to relint your codebase.
This change bring some speedups. In a next release those rules can be opt-out
easily in favour of dprint, biome... which does as faster job (stylistic)
Published by belgattitude 11 months ago
3af1812
Thanks @belgattitude! - Disable import/no-unresolved by defaultPublished by belgattitude 11 months ago
2c5dee3
- Latest typescript 6.13.1 to fix jsdocPublished by belgattitude 11 months ago
5f17ce5
Thanks @belgattitude! - Relax unicorn rules to avoid potential errorsPublished by belgattitude 11 months ago
9eb00c1
Thanks @belgattitude! - Disable @typescript-eslint/require-await by default7c4ae6c
Thanks @belgattitude! - Use ecma latest in sonarjsPublished by belgattitude 11 months ago
7cab07f
Thanks @belgattitude! - Ensure @typescript-eslint/typescript-estree is at latestPublished by belgattitude 11 months ago
5fe7bf6
Thanks @belgattitude! - Support typescript 5.3 (plugins updates)Published by belgattitude 11 months ago
59b1f15
Thanks @belgattitude! - Relax unicorn/error-message for test filesPublished by belgattitude 11 months ago
#427 309e441
Thanks @belgattitude! - Enable unicorn linter (add a bunch of stricter rules)
#427 309e441
Thanks @belgattitude! - Export a dedicated performance group
// Group 4: Performance related (ie: set vs includes...)
"@belgattitude/eslint-config-bases/performance",
Published by belgattitude 11 months ago
b6e31db
Thanks @belgattitude! - Perfectionist plugin updated to latestPublished by belgattitude 11 months ago
ff19cf3
Thanks @belgattitude! - Typescript eslint parser to latest (6.11)Published by belgattitude 11 months ago
#407 fe9a01d
Thanks @belgattitude! - Enable no-constant-binary-expression by default
See https://eslint.org/blog/2022/07/interesting-bugs-caught-by-no-constant-binary-expression/ and
https://news.ycombinator.com/item?id=38196644
Published by belgattitude 12 months ago
#404 8e6175e
Thanks @belgattitude! - Adapt perfectionist rules and add jsx as optional
module.exports = {
overrides: [
{
extends: ['plugin:perfectionist/recommended-natural'],
files: ['*.js', '*.cjs', '*.mjs', '*.ts'],
rules: {
// import/order is used
'perfectionist/sort-named-imports': 'off',
'perfectionist/sort-imports': 'off',
// Keep at false as it can create issue when code relies on keys order
'perfectionist/sort-maps': 'off',
// Keep at false as cause it does not work with class properties
'perfectionist/sort-classes': 'off',
// Keep at false as it can create issue when code relies on keys order
'perfectionist/sort-objects': 'off',
// Keep at false as it can create issue when code relies on keys order
'perfectionist/sort-union-types': 'off',
// May introduce performance degradation
'perfectionist/sort-array-includes': 'off',
'perfectionist/sort-jsx-props': 'off',
},
},
],
};
Published by belgattitude 12 months ago
42952ba
Thanks @belgattitude! - All plugins to latestPublished by belgattitude 12 months ago
4e09338
Thanks @belgattitude! - Add plugin perfectionistPublished by belgattitude 12 months ago
2ad81c0
Thanks @belgattitude! - Drop support for prettier 2 (only prettier 3 is supported)
2ad81c0
Thanks @belgattitude! - Drop support for typescript < 5.0.2
aff1796
Thanks @belgattitude! - Allow @tanstack/eslint-plugin-query dep to be "^4.36.1 || ^5.0.5".
If you experience issue with your package manager (ie: yarn will automatically install
the highest version rather than the stable one), you can always force the resolution:
{
"resolutions": {
"eslint-plugin-react-hooks": "^4.36.1"
}
}
This is a temporary solution to not have to declare the plugin as a peerDependency for now.
(eslint flat config will help in the future)
2ad81c0
Thanks @belgattitude! - Allow eslint-plugin-react-hooks dep to be "^4.6.0 || 5.0.0-canary-7118f5dd7-20230705".
If you experience issue with your package manager (ie: yarn will automatically install
the canary version rather than the stable one), you can always force the resolution:
{
"resolutions?": {
"eslint-plugin-react-hooks": "https://github.com/vercel/next.js/issues/52365"
},
"resolutions": {
"eslint-plugin-react-hooks": "^4.6.0"
}
}
This change was made to accommodate usage with nextjs latest versions (based on react canaries)
See also https://github.com/vercel/next.js/issues/52365
This is a temporary solution to not have to declare the plugin as a peerDependency for now.
(eslint flat config will help in the future)
2ad81c0
Thanks @belgattitude! - Minimum version to node 18.17.0 (was 18.12.0)Published by belgattitude 12 months ago
#388 f91355c
Thanks @belgattitude! - Ban node.js buffer by default, prefer UInt8Array
See reasoning in https://sindresorhus.com/blog/goodbye-nodejs-buffer
There's a transitional package that helps to fill current gaps in UInt8Array
till limitations lands into ecmascript.
#387 33069c5
Thanks @belgattitude! - All plugins to latest