Skip to content

Commit

Permalink
chore: release 44.3.0
Browse files Browse the repository at this point in the history
feat: extend @stylistic/type-annotation-spacing with arrow spacing
  • Loading branch information
Cherry committed Dec 1, 2024
1 parent 01024b6 commit eedba41
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
13 changes: 8 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nodecraft/eslint-config",
"version": "44.2.2",
"version": "44.3.0",
"description": "Nodecraft base JS ESLint config",
"keywords": [
"eslint",
Expand Down
6 changes: 6 additions & 0 deletions rules/plugin-stylistic.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,12 @@ module.exports = {
'@stylistic/type-annotation-spacing': ['error', {
before: false,
after: true,
overrides: {
arrow: {
before: true,
after: true,
},
},
}],

// enforces consistent spacing inside TypeScript type generics.
Expand Down

0 comments on commit eedba41

Please sign in to comment.