Huáng Jùnliàng
7fd40d86a0
v7.10.4
2020-06-30 09:04:22 -04:00
Simon Kotwicz
379e1c5593
Support private properties for semi rule ( #11748 )
...
* Support private properties for semi rule
* Combine selectors
2020-06-29 17:36:03 -04:00
Kai Cataldo
75c2300c28
Add @babel/eslint-plugin-development-internal ( #11376 )
...
* Add @babel/eslint-plugin-internal
* Add dry-error-messages rule
* Address feedback
* Enable new rule
* fix author field
* Fix errors
* Add readme
* Add example configuration
* Handle directories
* run make bootstrap
* More updates!
* Fix errors
* Update tests
* Fix CI race condition
2020-06-22 19:43:29 -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
Saulo Santiago
242d9e0b20
Use repository.directory field in package.json files ( #11625 )
...
Co-authored-by: Nicolas Stepien <567105+nstepien@users.noreply.github.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-05-27 16:32:25 +02: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
9b16bf3bd2
Set correct version for @babel/eslint-plugin-development ( #11181 )
...
[skip ci]
2020-02-27 21:45:57 +01:00
Nicolò Ribaudo
0018881f9d
Add missing dependencies ( #11170 )
2020-02-25 23:40:48 +01:00
Huáng Jùnliàng
afb0f489de
Enable more eslint recommended rules ( #11168 )
...
* chore: enable no-constant-condition
* chore: enable no-empty rule
* chore: enable no-unreachable
* chore: enable no-cond-assign
* chore: enable no-inner-declarations
* chore: remove disabled rules that are not in eslint:recommended
* fix: oops
2020-02-24 19:04:25 -05: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
Huáng Jùnliàng
0b3dea8f54
Turn on no-fallthrough rule ( #11093 )
...
* chore: turn on no-fallthrough
* chore: fix no-fallthrough errors
2020-02-07 22:05:19 +01:00
Kai Cataldo
f987821099
Clean babel-eslint-*/**/lib ( #11070 )
2020-01-31 20:49:27 +01:00
Kai Cataldo
66721eaa0e
Further refactoring of @babel/eslint-parser ( #11071 )
2020-01-31 00:07:26 +01:00
Huáng Jùnliàng
facfd4d8a1
Enable no-process-exit ESLint rule ( #11025 )
2020-01-20 00:48:47 +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
Kai Cataldo
4cb2148273
@babel/eslint-plugin: remove deprecated rules ( #10975 )
2020-01-10 20:22:39 +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
7f732ad019
Clean up @babel/eslint-plugin ( #10756 )
...
* Clean up @babel/eslint-plugin
* Add directory field to package.json
* Update eslint/babel-eslint-plugin/README.md
Co-Authored-By: Huáng Jùnliàng <jlhwung@gmail.com>
* Incorporate feedback :)
2019-11-25 17:15:34 -05: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
Kai Cataldo
52f964126d
Update babel-eslint-plugin-dev engines ( #10761 ) [ci-skip]
2019-11-25 16:14:00 -05:00
Kai Cataldo
0b06b23b00
Clean up @babel/eslint-plugin-development ( #10757 )
...
* Clean up @babel/eslint-plugin-development
* Add directory field to package.json
2019-11-25 18:44:46 +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
ca88cf1060
Incorporate feedback
2019-11-22 16:05:44 -05:00
Kai Cataldo
74e2c2cd78
Update eslint/babel-eslint-config-internal/package.json
...
Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2019-11-22 16:05:43 -05:00
Kai Cataldo
25169901de
Rename babel-eslint-config-internal -> @babel/eslint-config-internal
2019-11-22 16:05:43 -05:00
Kai Cataldo
d18d0b6478
Run Prettier
2019-11-17 23:31: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
Kai Cataldo
bcd181f051
ESLint: disable max-len ( #10727 )
...
* ESLint: disable max-len
* Rename .eslintrc.json -> .eslintrc.js
* Fix up .eslintrc.js
2019-11-16 11:10:33 +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