Skip to content

Conversation

@ghost
Copy link

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

@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
Copy link
Collaborator

ljharb commented Jan 25, 2025

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
Copy link
Author

ghost commented Jan 25, 2025

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://npmjs.com/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