Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support the new eslint config #342

Closed
aladdin-add opened this issue Mar 3, 2023 · 0 comments
Closed

feat: support the new eslint config #342

aladdin-add opened this issue Mar 3, 2023 · 0 comments

Comments

@aladdin-add
Copy link
Contributor

eslint has introduced a new format config(eslint.config.js): https://eslint.org/docs/latest/use/configure/configuration-files-new

ideally, we could support both formats: eslintrc/flat.

aladdin-add added a commit that referenced this issue Apr 7, 2023
to use it, you can do:

```js
const eslintPluginRecommended = require('eslint-plugin-eslint-plugin/configs').recommended;

module.exports = [{
  ...eslintPluginRecommended,
}];

```
aladdin-add added a commit that referenced this issue Apr 7, 2023
to use it, you can do:

```js
const eslintPluginRecommended = require('eslint-plugin-eslint-plugin/configs').recommended;

module.exports = [eslintPluginRecommended];

```
aladdin-add added a commit that referenced this issue May 4, 2023
to use it, you can do:

```js
const eslintPluginRecommended = require('eslint-plugin-eslint-plugin/configs').recommended;

module.exports = [eslintPluginRecommended];

```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants