This PR contains the following updates:
Release Notes
antfu/eslint-config (@​antfu/eslint-config)
v0.40.0
🚀 Features
- Add
defaultinexports- by @antfu <samp>(effc7)</samp> - Format for named tuple - by @xuzuodong in https://github.com/antfu/eslint-config/issues/229 <samp>(0ff5e)</samp>
- Add rule
no-import-node-modules-by-path- by @zanminkian in https://github.com/antfu/eslint-config/issues/219 <samp>(cf124)</samp>
🐞 Bug Fixes
- Put
importbeforerequirein exports - by @antfu <samp>(ea307)</samp>
View changes on GitHub
v0.39.8
🚀 Features
- basic:
- Ban self import - by @zanminkian in https://github.com/antfu/eslint-config/issues/213 <samp>(2ed85)</samp>
- Prefer non global process object - by @zanminkian in https://github.com/antfu/eslint-config/issues/214 <samp>(3ef95)</samp>
🐞 Bug Fixes
- plugin: Allow empty type import - by @sxzz in https://github.com/antfu/eslint-config/issues/218 <samp>(58219)</samp>
View changes on GitHub
v0.39.7
🚀 Features
- Ban
new Array- by @zanminkian in https://github.com/antfu/eslint-config/issues/209 <samp>(be5bc)</samp> - ts: Enable
@typescript-eslint/ban-types- by @zanminkian in https://github.com/antfu/eslint-config/issues/210 <samp>(d4a9e)</samp>
View changes on GitHub
v0.39.6
🚀 Features
- Switch to eslint-plugin-i - by @arily in https://github.com/antfu/eslint-config/issues/205 <samp>(504de)</samp>
- ts: Ban
const enum- by @zanminkian in https://github.com/antfu/eslint-config/issues/201 <samp>(2bf0c)</samp> - vue: Enforce order of define macros - by @kirklin in https://github.com/antfu/eslint-config/issues/196 <samp>(f553c)</samp>
View changes on GitHub
v0.39.5
🚀 Features
- basic: Ban deprecated syntax - by @zanminkian in https://github.com/antfu/eslint-config/issues/194 <samp>(0947d)</samp>
🐞 Bug Fixes
- Disable
@typescript-eslint/consistent-type-assertions- by @antfu <samp>(abf5c)</samp>
View changes on GitHub
v0.39.4
🚀 Features
- basic:
- Ban
globalvariable - by @zanminkian in https://github.com/antfu/eslint-config/issues/189 <samp>(e787e)</samp> - Ban some deprecated global functions - by @zanminkian in https://github.com/antfu/eslint-config/issues/190 <samp>(aefa7)</samp>
- Ban
- ts:
- Enable
@typescript-eslint/consistent-type-assertions- by @zanminkian in https://github.com/antfu/eslint-config/issues/188 <samp>(a3598)</samp>
- Enable
View changes on GitHub
v0.39.3
🐞 Bug Fixes
- vue: Disable
vue/no-dupe-keys- by @antfu <samp>(bb09e)</samp>
View changes on GitHub
v0.39.2
🚀 Features
- Update eslint-plugin-vue version - by @kaivanwong in https://github.com/antfu/eslint-config/issues/186 <samp>(ec494)</samp>
View changes on GitHub
v0.39.1
🐞 Bug Fixes
- Turn off cjs-check in markdown - by @antfu <samp>(cdb02)</samp>
View changes on GitHub
v0.39.0
🚀 Features
- Validate
jsoncfile - by @zanminkian in https://github.com/antfu/eslint-config/issues/184 <samp>(96dd9)</samp> - ts: Ban cjs exports in ts file - by @zanminkian in https://github.com/antfu/eslint-config/issues/167 <samp>(3ca0e)</samp>
View changes on GitHub
v0.38.6
🐞 Bug Fixes
- Exclude vitepress cache - by @antfu <samp>(e6cb7)</samp>
- Relax markdown lint - by @antfu <samp>(6503a)</samp>
View changes on GitHub
v0.38.5
🚀 Features
- Ban requrie imports in ts file - by @zanminkian in https://github.com/antfu/eslint-config/issues/165 <samp>(78b40)</samp>
- Enable
no-invalid-this- by @zanminkian in https://github.com/antfu/eslint-config/issues/173 <samp>(ff74d)</samp> - basic: Consider comments for
newline-after-import- by @zanminkian in https://github.com/antfu/eslint-config/issues/164 <samp>(ebb96)</samp> - plugin: Allow some one-line arrow functions - by @zanminkian in https://github.com/antfu/eslint-config/issues/172 <samp>(506d1)</samp>
- ts: Ban namespace in ts file - by @zanminkian in https://github.com/antfu/eslint-config/issues/166 <samp>(9fde0)</samp>
🐞 Bug Fixes
- basic: Allow require imports in js file - by @zanminkian in https://github.com/antfu/eslint-config/issues/169 <samp>(e2886)</samp>
View changes on GitHub
v0.38.4
No significant changes
View changes on GitHub
v0.38.3
🚀 Features
- basic:
- New line after import - by @zanminkian in https://github.com/antfu/eslint-config/issues/161 <samp>(d1cd7)</samp>
- Prefer non global object of node - by @zanminkian and @antfu in https://github.com/antfu/eslint-config/issues/159 <samp>(502f6)</samp>
🐞 Bug Fixes
- top-level-function: Narrow warning range - by @antfu <samp>(d2150)</samp>
View changes on GitHub
v0.38.2
No significant changes
View changes on GitHub
v0.38.0
🚀 Features
- Enforce to use function declaration on top-level - by @antfu <samp>(87d26)</samp>
View changes on GitHub
v0.37.0
🚀 Features
- Enable
vue/no-unused-refs- by @Demivan in https://github.com/antfu/eslint-config/issues/158 <samp>(d3c11)</samp> - Upgrade deps, support typescript 5.0 - by @antfu <samp>(76327)</samp>
View changes on GitHub
v0.36.0
🚀 Features
- Enable
prefer-node-protocol- by @antfu <samp>(447d3)</samp>
View changes on GitHub
v0.35.3
🚀 Features
- Add ignore list for lint-staged - by @antfu <samp>(4167a)</samp>
View changes on GitHub
v0.35.2
🐞 Bug Fixes
- Disable
vue/no-v-text-v-html-on-component- by @antfu <samp>(7a2d6)</samp>
View changes on GitHub
v0.35.1
🐞 Bug Fixes
- Disable
@typescript-eslint/no-unused-vars- by @antfu <samp>(4b576)</samp>
View changes on GitHub
v0.35.0
🚀 Features
- Auto fix for unused imports - by @antfu <samp>(f466a)</samp>
View changes on GitHub
v0.34.2
🚀 Features
- Allow require() in cjs - by @antfu <samp>(f45a0)</samp>
🐞 Bug Fixes
- Group
&&, - by **and?:(#152)** <samp>()</samp>
View changes on GitHub
v0.34.1
🚀 Features
- ts: Enable
jest/unbound-method- by @zanminkian in https://github.com/antfu/eslint-config/issues/141 <samp>(2ad35)</samp>
🐞 Bug Fixes
- Allow void as statement in ts file - by @zanminkian in https://github.com/antfu/eslint-config/issues/142 <samp>(5d5b3)</samp>
- Prefer const when all variables in destructuring should be const - by @sxzz in https://github.com/antfu/eslint-config/issues/149 <samp>(2a224)</samp>
View changes on GitHub
v0.34.0
🚀 Features
- basic:
- Disable
consistent-type-importsin markdown file - by @ZanMinKian in https://github.com/antfu/eslint-config/issues/138 <samp>(b5828)</samp>
- Disable
- ts:
- Add TypeScript Aware Rules from @typescript-eslint/recommen… - by @kirklin in https://github.com/antfu/eslint-config/issues/135 <samp>(b93f4)</samp>
- Can change tsconfig by env - by @ZanMinKian in https://github.com/antfu/eslint-config/issues/136 <samp>(fe73f)</samp>
🐞 Bug Fixes
- basic: Disallow multi empty lines at the end of file - by @ZanMinKian in https://github.com/antfu/eslint-config/issues/137 <samp>(4d38b)</samp>
View changes on GitHub
v0.33.1
🐞 Bug Fixes
- ts: Fix parerOptions - by @ZanMinKian in https://github.com/antfu/eslint-config/issues/134 <samp>(3486d)</samp>
View changes on GitHub
v0.33.0
🐞 Bug Fixes
- Type aware linting when trigged by
tsconfig.eslint.json- by @antfu <samp>(1c426)</samp>
View changes on GitHub
v0.32.0
🚀 Features
- ts: Add rules that required parserOptions - by @ZanMinKian in https://github.com/antfu/eslint-config/issues/131 <samp>(7c769)</samp>
View changes on GitHub
v0.31.1
🚀 Features
- Support TS 4.9 - by @lainbo in https://github.com/antfu/eslint-config/issues/133 <samp>(1c37b)</samp>
View changes on GitHub
v0.31.0
🚀 Features
- basic: Add
max-statements-per-line- by @ZanMinKian in https://github.com/antfu/eslint-config/issues/129
View changes on GitHub
v0.30.1
🐞 Bug Fixes
- Move deps - by @antfu <samp>(20c01)</samp>
View changes on GitHub
v0.30.0
🚀 Features
- Auto JS fallback - by @antfu <samp>(b820b)</samp>
View changes on GitHub
v0.29.4
🐞 Bug Fixes
- generic-spacing: Improve cases - by @antfu <samp>(95e28)</samp>
View changes on GitHub
v0.29.3
🐞 Bug Fixes
- generic-spacing: Improve cases - by @antfu <samp>(ff6a1)</samp>
View changes on GitHub
v0.29.2
🚀 Features
- generic-spacing: Remove space before generic - by @antfu <samp>(e1110)</samp>
View changes on GitHub
v0.29.1
🐞 Bug Fixes
- generic-spacing: Avoid overriding extends - by @antfu <samp>(4119f)</samp>
View changes on GitHub
v0.29.0
🚀 Features
- Format for generics spacing - by @antfu <samp>(58849)</samp>
View changes on GitHub
v0.28.0
🚀 Features
- basic: Add rules to prevent
.onlyin tests - by @KylinDC in https://github.com/antfu/eslint-config/issues/127
View changes on GitHub
v0.27.0
🚨 Breaking Changes
- Exclude react config from default package - by @antfu <samp>(61ef0)</samp>
🚀 Features
- react: Rules of hooks - by @nnmax in https://github.com/antfu/eslint-config/issues/117
🐞 Bug Fixes
- Improve indent for decorators - by @ZanMinKian in https://github.com/antfu/eslint-config/issues/114
View changes on GitHub
v0.26.3
🚀 Features
- Support TS 4.8, close #111 - by @antfu <samp>(0bf83)</samp>
View changes on GitHub
v0.26.2
No significant changes
View changes on GitHub
v0.26.1
🐞 Bug Fixes
- Rule renamed - by @KarasuShin in https://github.com/antfu/eslint-config/issues/106
View changes on GitHub
v0.26.0
No significant changes
View changes on GitHub
v0.25.2
v0.25.1
v0.25.0
v0.24.3
babel/babel (@​babel/types)
v7.22.5
🐛 Bug Fix
babel-preset-env,babel-standalone- #15675 Fix using
syntax-unicode-sets-regexin standalone (@nicolo-ribaudo)
- #15675 Fix using
:nail_care: Polish
babel-core- #15683 Suggest
-transform-when resolving missing plugins (@nicolo-ribaudo)
- #15683 Suggest
v7.22.4
🐛 Bug Fix
babel-traverse- #15649 Set
shorthand: falsewhen renaming an identifier inside an object property (@coderaiser)
- #15649 Set
:house: Internal
babel-types- #15666 Add missing
attributes/assertionstoVISITOR_KEYS(@nicolo-ribaudo)
- #15666 Add missing
babel-parser- #15667 Mark
assertattributes withextra.deprecatedAssertSyntax(@nicolo-ribaudo)
- #15667 Mark
v7.22.3
- Re-publish all the package published in 7.22.0 that hadn't been republished yet. We accidentally published them with a
package.jsonfile containing"type": "script"instead of"type": "commonjs"(#15664).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.