NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #4667 most downloaded on npm
Custom parser for ESLint
Latest stable
10.1.0
Last release 7 years ago
no release in 18 months
Ships fairly regularly
a new release about every 2 months
Some releases are documented
notes for 20 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
135 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Major version bump! Mostly #711 which requires that you have a Babel config file and babel-eslint will read from that to enable the correct syntax.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Added ability to parse Flow enums #812 ( @gkz )
Fixes #791 , also eslint/eslint#12117
Fixes #791, also eslint/eslint#12117
Some context: #793 (comment)
We ended up going with @JLHwung's PR #794 which uses ESLint's deps instead of going with peerDeps since it really depends on the version being used and we don't want users to have to install it directly on their own.
babel-eslint is patching patches of the dependencies of ESLint itself so these kinds of issues have happened in the past. We'll need to look into figuring out how to have a more solid way of modifying behavior instead of this monkeypatching type of thing for future releases.
Fixes #772
Fixes #772
The TypeAlias "conversion" to a function has issues. Sounds like we need to rethink the change, most likely we can just actually change the scoping ra
The TypeAlias "conversion" to a function has issues. Sounds like we need to rethink the change, most likely we can just actually change the scoping rather than hardcode an AST change.
Small breaking change: add a peerDependency starting from the ESLint version that added a parser feature that we were monkeypatching before (and drop…
Small breaking change: add a peerDependency starting from the ESLint version that added a parser feature that we were monkeypatching before (and drop that code). If already using ESLint 5 shouldn't be any different.
TypeAlias: #584/* @flow */
type Node<T> = { head: T; tail: Node<T> }
// or
type File = {chunks: Array<Chunk>}
type Chunk = {file: File}Babel now supports the new decorators proposal by default, so we need to switch between the new and the old proposal. This is a breaking change.
We've released v7: https://twitter.com/left_pad/status/1034204330352500736, so this just updates babel-eslint to use those versions internally. That in itself doesn't break anything but:
To enable the legacy decorators proposal users should add a specific parser option:
{
parserOptions: {
ecmaFeatures: {
legacyDecorators: true
}
}
}Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Use ESLint's API to customize scope analysis and avoid monkeypatching: https://github.com/babel/babel-eslint/pull/542
Use ESLint's API to customize scope analysis and avoid monkeypatching: https://github.com/babel/babel-eslint/pull/542
Nothing published for this version
Nothing published for this version
Handle optionalCatchBinding: https://github.com/babel/babel-eslint/pull/521
Handle optionalCatchBinding: https://github.com/babel/babel-eslint/pull/521
No major changes, just updating babel deps to v7
No major changes, just updating babel deps to v7
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
https://github.com/babel/babel-eslint/pull/465
@vitorbal added support for ESLint 4 alpha.
Nothing published for this version
remove deprecated rule examples [skip ci] (Henry Zhu)
Main change is just an option to disable the codeframe (added in v7.1.1) for html output and more (thanks to @Couto).
{
"parser": "babel-eslint",
"parserOptions": {
"codeFrame": false
},
"extends": "eslint:recommended"
}
lodash instead of lodash.pickby. (#435) (wtgtybhertgeghgtwtg)*" (#426) (Henry Zhu)* (#421) (Henry Zhu)Append the code frame on parse error (#418) @hzoo
Before
<img width="861" alt="screen shot 2016-10-28 at 5 33 11 pm" src="https://cloud.githubusercontent.com/assets/588473/19823087/d7bb535a-9d34-11e6-8b39-3634b95ab155.png">
After
<img width="863" alt="screen shot 2016-10-28 at 5 32 58 pm" src="https://cloud.githubusercontent.com/assets/588473/19823090/daa5d9fa-9d34-11e6-9707-554355e5cc92.png">
Adding support to lint dynamicImport (#413) @kesne
dynamicImport (#413) @kesneBabylon support was added in https://github.com/babel/babylon/releases/tag/v6.12.0
import(`./section-modules/${link.dataset.entryModule}.js`)
.then(module => {
module.loadPageInto(main);
})
We're looking for more contributors maintainers, I don't have as much time to work on babel-eslint since babel needs a lot of help as well).
We're looking for more contributors maintainers, I don't have as much time to work on babel-eslint since babel needs a lot of help as well).
ESLint v3.6.0 supports async/await (you don't need always need babel-eslint)
http://eslint.org/blog/2016/09/eslint-v3.6.0-released#support-for-es2017
{
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
}
}
Nothing published for this version
Nothing published for this version
Add allowImportExportEverywhere parserOption (#327) (#329) @rhettlivingston
Fix compatibility with babylon 6.8.1 (#325) (Daniel Tschinder)
Fix parent not being set for decorator nodes. (#296) (Rafał Ruciński)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Remove estraverse-fb error since ESLint 2.4.0 is out now
Remove estraverse-fb error since ESLint 2.4.0 is out now
"babel-eslint isn't currently compatible with ESLint 2.3.x. The recommendation is to pin to ESLint 2.2.x right now."
Temporarily error with:
"babel-eslint isn't currently compatible with ESLint 2.3.x. The recommendation is to pin to ESLint 2.2.x right now."
instead of just the "estraverse-fb" not found error
Nothing published for this version
Nothing published for this version
https://github.com/babel/babel-eslint/pull/269 - try catch estraverse-fb
exports.VisitorKeys = t.VISITOR_KEYS;Initial release (all current tests are passing).
Initial release (all current tests are passing).
npm install babel-eslint@6.0.0-beta.1 --save-dev
or
$ npm install eslint@1.x babel-eslint --save-dev
$ npm install eslint@2.x babel-eslint@next --save-dev
// package.json
{
"babel-eslint": "^6.0.0-beta.1", // ^ update if there's fixes
"babel-eslint": "6.0.0-beta.1",
"babel-eslint": "next",
}
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add a warning that babel-eslint v5 is for ESLint 1.x
Add a warning that babel-eslint v5 is for ESLint 1.x
v5.0.0 is just v5.0.0-beta10 with less files in node_modules
v5.0.0 is just v5.0.0-beta10 with less files in node_modules
https://github.com/babel/babel-eslint/pull/244 - account for escope 3.4.0 babel 6 update.
I'm moving the 5.x beta to the next tag so users that use npm install babel-eslint will get the 4.x version. If you want the 5.x version use npm install babel-eslint@next or the specific version.
Nothing published for this version
Fixes https://github.com/babel/babel-eslint/issues/228
Fixes https://github.com/babel/babel-eslint/issues/228
use strictOne column per quarter.