Skip to content

Conversation

@aladdin-add
Copy link

This pull request updates documentation and configuration files to introduce and document a new all configuration that enables all rules, and to clarify usage of the mixed-esm-and-cjs config. It also updates examples to use the latest ESLint flat config format and improves the clarity and consistency of rule documentation.

The most important changes are:

Documentation updates for new configs:

  • Added documentation for the new all configuration, including its symbol 🌐 in the rules table and config list, and clarified that it enables all rules but is not recommended for production use. [1] [2] [3] [4] [5] [6] [7]
  • Updated the FAQ and usage examples in README.md to use the new mixed-esm-and-cjs configuration (now without the flat/ prefix), and updated code samples to use the modern ESLint flat config with ESM syntax. [1] [2]

Configuration file changes:

  • Updated .eslint-doc-generatorrc.js to ignore the new mixed-esm-and-cjs config and removed emoji mappings for several flat configs, reflecting the new config structure. [1] [2]

These changes make it easier for users to understand and use the new all and mixed-esm-and-cjs configurations, and ensure that documentation and configuration files are consistent with the latest ESLint best practices.

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