Huáng Jùnliàng
7bc72bb451
fix: do not filter report from functions within class elements ( #13106 )
2021-04-05 16:02:02 -04:00
Nicolò Ribaudo
d04842a700
Avoid using CJS globals in internal source files ( #12963 )
...
* Lint against CJS globals in modules
* Use `import.meta.url` instead of `__filename` in `src` files
* Prepare fixtures runner for `import.meta.url`
* Use `import.meta.url` instead of `__filename` in `test/index` files
* Remove `__dirname` from remaining test files
dirname
* Avoid using `module` in `src` files
* Avoid using `require` in `src` files
* Avoid using `require` in `test` files
* Update `@types/node`
* Compile dynamic import in `@babel/node`
* Fix windows
* Use `@babel/plugin-proposal-dynamic-import` from npm
2021-03-05 19:55:36 +01:00
Huáng Jùnliàng
03d7911be6
Implement class features in estree ( #12370 )
...
Co-authored-by: Kai Cataldo <kai@kaicataldo.com>
2021-02-21 20:12:12 +01:00
Giovanni Calò
304eea4133
Added linting support for private class methods ( #11993 )
...
* Added linting support for private class methods
* Renamed variable
* Renamed variable
2020-08-24 14:57:17 -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
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
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
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
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
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