Huáng Jùnliàng
4c9929ca28
Prepare to publish @babel/eslint-* packages ( #11894 )
...
* remove private flag, bump node and babel versions
* disallow submodule imports
* Revert "Do not automatically publish eslint packages (#10722 )"
This reverts commit 5ca8acdb38bc7a9a4669ad3249c219531f8f6579.
# Conflicts:
# Makefile
# eslint/babel-eslint-parser/package.json
# eslint/babel-eslint-plugin-development/package.json
# lerna.json
# scripts/integration-tests/publish-local.sh
* disable submodule imports for babel-eslint-config-internal
* chore: push back a bit to make tests happy
2020-07-30 13:32:38 -04:00
Kai Cataldo
4ac9c7afe2
Upgrade to ESLint v7 ( #11857 )
...
* Upgrade to ESLint v7
* Upgrade eslint-plugin-import
* Update peer deps
* Remove max-len from ESLint config
* Update tests
* Only test babel-eslint-* packages in Node >=10
* Remove babel-eslint
* Fix linking in dev
* Add comment to Makefile
* Fix e2e tests
* Add --ignore-engines flag when installing in ESLint packages
* fix: convert tt.questionDot to Punctuator
* chore: update lockfile
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-07-29 19:11:48 -04:00
Huáng Jùnliàng
d7347fb8bd
eslint-parser: ES2020 features ( #11815 )
...
* chore: update espree test on nullish coalescing
* feat: add optional chaining support
* fix: adapt to estree AST shape
* chore: update lockfile
* add estree optional-chaining test fixtures
* address review comments
* chore: simplify smoke test
* export * support
Co-authored-by: Brian Ng <bng412@gmail.com>
2020-07-29 16:46:29 -04:00
Huáng Jùnliàng
7fd40d86a0
v7.10.4
2020-06-30 09:04:22 -04:00
Nicolò Ribaudo
eea156b2cb
Migrate from "master" branch to "main" ( #11715 )
...
* Remove dead link
* Use consistent "homepage" url in package.json
* Update md links
* Update comment link in parser d.ts
* Add comment in gitpod config
* Update circleci config
* Update PULL_REQUEST_TEMPLATE
* Update badges
* Trigger CI
* Update 404 link
2020-06-18 21:52:29 -04:00
Bogdan Savluk
4108524856
Update prettier to v2 ( #11579 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-06-07 22:21:33 +02:00
Kai Cataldo
30d7236397
chore: check version lazily in babel-eslint-parser ( #11647 )
2020-05-31 00:50:46 -04:00
Kai Cataldo
69198beee6
feature: babel-eslint-parser passes through config options ( #11639 )
...
* Refactor
* feature: babel-eslint-plugin passes through config options
* Address feedback
* Remove unnecessary temporary variable
2020-05-29 15:00:12 -04:00
Nicolò Ribaudo
aeb51f463c
Do not remove "estree": null in ESLint tests
2020-05-09 22:12:28 +02:00
Kai Cataldo
2d8edf7c6f
Add note about experimental nature of @babel/eslint-* packages ( #11493 )
...
[skip ci]
2020-04-28 07:28:04 +02:00
Brian Ng
20d9a10186
Add estree parsing support for export * as A ( #11254 )
2020-03-16 22:52:33 +01:00
Nicolò Ribaudo
114f6726a7
Pass URLs to import() rather than paths ( #11193 )
...
* Pass URLs to import() rather than paths
* Make tests pass
* (╯°□°)╯︵ ┻━┻
* (╯°□°)╯︵ ┻━┻ (╯°□°)╯︵ ┻━┻ (╯°□°)╯︵ ┻━┻
2020-03-03 19:54:01 +01:00
Nicolò Ribaudo
0018881f9d
Add missing dependencies ( #11170 )
2020-02-25 23:40:48 +01:00
Kai Cataldo
3960f4de64
Breaking: align babel-eslint-parser & espree ( #11137 )
...
* Chore: align babel-eslint-parser & espree
* Start program at beginning of comment when no tokens exist
* Import correct version of Espree for tests
* Remove hasOwnProperty guard
2020-02-20 17:31:57 +01:00
Huáng Jùnliàng
865d5155c2
Add eslint-plugin-jest ( #11119 )
...
* chore: add eslint-plugin-jest
* chore: update test sources
* chore: suppress preset-env debug log when linting
2020-02-11 00:11:32 +09:00
Kai Cataldo
5aa368cec1
Centralize @babel/eslint-* tests ( #11106 )
...
* Centralize @babel/eslint-* tests
* Enable linting of @babel/eslint-* test files
* Add missing sourceType
2020-02-08 10:04:49 -05:00
Kai Cataldo
66721eaa0e
Further refactoring of @babel/eslint-parser ( #11071 )
2020-01-31 00:07:26 +01:00
Nicolò Ribaudo
8fce431d88
Revert "chore: specify package type ( #10849 )" ( #11003 )
...
This reverts commit e8dac621de9dba27b47646169562c0a0c2e02c96.
Fixes installs when using npm <= 3.9.5 (Node.js <= 6.2.2)
2020-01-13 21:18:42 +01:00
Kai Cataldo
d8e6219ad9
@babel/eslint-plugin: Update rules/tests to use @babel/eslint-parser ( #10977 )
...
* Use @babel/eslint-parser for tests
* Update rules/tests
* Update docs
* add @babel/eslint-shared-fixtures to package.json
* remove bug fix
* convert RuleTester to ESM
* Update devDep versions
2020-01-11 20:42:21 +01:00
Huáng Jùnliàng
e8dac621de
chore: specify package type ( #10849 )
2020-01-09 21:40:15 -05:00
Kai Cataldo
9f832c2716
@babel/eslint-parser: Fix ClassPrivateMethods ( #10913 )
2020-01-02 18:36:58 -05:00
Kai Cataldo
c09664f35d
@babel/eslint-parser: Refactor ( #10916 )
2019-12-23 23:12:07 +01:00
Kai Cataldo
25f7e6808e
@babel/eslint-parser: refactor configuration logic ( #10860 )
2019-12-11 18:06:37 -05:00
Kai Cataldo
7b54a94389
@babel/eslint-parser: fix ImportExpression node to match ESTree spec ( #10828 )
...
* @babel/eslint-parser: fix ImportExpression node to match ESTree spec
* Update caller name for @babel/core.parseSync
* Move logic into estree plugin
* Add estree plugin tests
* Fix Flow error
* Fix flow
* Remove extra properties on ImportExpression node
* Incorporate review feedback
2019-12-11 11:13:57 +01:00
Huáng Jùnliàng
de1fa902f0
Tune eslint packages test configuration ( #10848 )
...
* Do not load root babel.config.js in esilnt tests
* add testcase: sourceType: script + globalReturn: true
* chore: remove globalReturn on default test config
2019-12-10 01:14:29 +01:00
Kai Cataldo
fb100eee41
@babel/eslint-parser: fix BigIntLiteral node to match ESTree spec ( #10827 )
...
* @babel/eslint-parser: fix BigIntLiteral node to match ESTree spec
* Move token conversion to @babel/eslint-parser
* Add estree plugin tests
* Update test helpers to handle BigInt serializing
* Update Literal union type to include BigIntLiteral
* Add FlowIgnore comment for BigInt
2019-12-08 02:59:18 +01:00
Kai Cataldo
e81bbd69b3
Clean up @babel/eslint-parser ( #10753 )
...
* Ensure compilation works for @babel/eslint-parser
* Update with review suggestions
* Incorporate feedback :)
2019-11-25 22:17:45 +01:00
Nicolò Ribaudo
d38c4dd57b
babel-eslint-v11.0.0-beta.1
2019-11-23 12:17:11 +01:00
Kai Cataldo
2c40b8c706
Fix failing tests
2019-11-22 16:25:38 -05:00
Kai Cataldo
53a3dac011
Clean up eslint/* directories ( #10729 )
2019-11-17 11:01:10 +01:00
Kai Cataldo
401c9bbe83
Update ESLint/Prettier config for eslint/* packages ( #10724 )
2019-11-16 23:28:02 +01:00
Raja Sekar
f087cf842f
Mocha to jest migration for eslint packages ( #10716 )
...
* migrated mocha to jest
* migrated mocha to jest - 2
* migrated mocha to jest - removed preversion hook from script
* migrated mocha to jest - 3
* migrated mocha to jest - 4
* cleanup
* review
* review
2019-11-16 12:32:19 +01:00
Nicolò Ribaudo
5ca8acdb38
Do not automatically publish eslint packages ( #10722 )
...
* Do not automatically publish eslint packages
* Fix
* Fix
* Fix
* Fix
* Fix
2019-11-16 11:09:18 +01:00
Kai Cataldo
a6d134804a
Unify build step for ESLint packages ( #10723 )
2019-11-16 10:15:15 +01:00
Nicolò Ribaudo
d56911b88d
Reorganize meta files for ESLint packages ( #10714 )
...
* Move COC and CONTRIBUTING
* Add changelog links
* Reorganize gitignore and licenses
2019-11-16 01:10:26 +01:00
Nicolò Ribaudo
b4c42601d1
Fix linting in ESLint packages ( #10712 )
...
* Lint eslint/*
* Run "make fix-js"
* Fix remaining problems
* Remove linting from subpackages
* Remove husky
* Add back eslint dep
2019-11-14 22:05:26 +01:00
Raja Sekar
927b89bec8
removed yarn lock from eslint packages ( #10711 )
2019-11-14 21:46:40 +01:00
Brian Ng
5b35722d63
Bump semver@6 ( babel/babel-eslint#802 )
2019-11-01 18:08:47 -05:00
Chiawen Chen
3396fdd7f7
Breaking: make AST match Espree 6 ( babel/babel-eslint#785 )
2019-11-02 07:08:32 +08:00
dependabot[bot]
6b3e9e3f1e
Bump eslint-utils from 1.4.0 to 1.4.2 ( babel/babel-eslint#796 )
...
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils ) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases )
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-08-26 21:16:13 -05:00
Daniel Tschinder
030fddb0b8
chore: Update deps and fix tests for new mocha and eslint ( babel/babel-eslint#781 )
2019-07-15 18:49:52 +02:00
dependabot[bot]
8635063118
Bump js-yaml from 3.12.0 to 3.13.1 ( babel/babel-eslint#780 )
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases )
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-07-15 18:27:39 +02:00
dependabot[bot]
6748797681
Bump lodash from 4.17.5 to 4.17.14 ( babel/babel-eslint#779 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.5 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.5...4.17.14 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-07-15 18:25:29 +02:00
Param Aggarwal
f9836caee5
fix typo in README.md ( babel/babel-eslint#762 )
2019-04-04 19:51:25 +05:30
Yosuke Ota
3fcfc90a12
Fix to convert hash token. ( babel/babel-eslint#753 )
2019-02-15 07:56:30 +09:00
Kai Cataldo
025fff7871
Docs: Add glob-based configuration example ( babel/babel-eslint#748 )
...
* Docs: Add glob-based configuration example
* Fix quotes style for consistency
2019-01-29 10:56:54 -05:00
Henry Zhu
2d64900b46
11.0.0-beta.0
2019-01-21 16:29:18 -05:00
Kai Cataldo
37cf65c6f8
Add requireConfigFile option ( babel/babel-eslint#743 )
...
* Add requireConfigFile option
* Update README.md
2019-01-21 11:06:29 -05:00
Kai Cataldo
0581ce1559
Add code of conduct (same as Babel) ( babel/babel-eslint#740 ) [skip ci]
2019-01-11 15:27:36 -05:00
Kai Cataldo
bbce2b3807
Remove comment attachment ( babel/babel-eslint#736 )
...
* Remove comment attachment
* Simplify error messaging in tests
2019-01-11 12:23:34 -05:00