Skip to content

Support flat config #3081

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

9takoyakii
Copy link

@9takoyakii 9takoyakii commented Jan 25, 2025

Pull request for support flat config.

Example:

// eslint.config.cjs
const airbnb = require('eslint-config-airbnb/flat');

module.exports = [
  ...airbnb,
  // ......
];
// eslint.config.mjs
import airbnb from 'eslint-config-airbnb/flat';

export default [
  ...airbnb,
  // ......
];

@9takoyakii 9takoyakii changed the title Support flat config and remove duplicate code Support flat config Jan 25, 2025
@ljharb ljharb mentioned this pull request Jan 25, 2025
@ljharb
Copy link
Collaborator

ljharb commented Jan 25, 2025

Please do not file duplicate pull requests; if you want to change one, reuse it.

@9takoyakii 9takoyakii marked this pull request as draft January 25, 2025 22:03
@9takoyakii
Copy link
Author

Ok, sorry I made a duplicate pull request

@9takoyakii 9takoyakii marked this pull request as ready for review January 26, 2025 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants