ESLint shareable config for NHN Cloud TUI components. Current stable version is 6.39.3, released regularly with updates aligned to ESLint releases. It provides a flat config for ESLint v9+, replacing the legacy eslintrc format. Differentiator: maintained by NHN Cloud and follows the NHN JavaScript Style Guide. Release cadence is irregular but frequent, with major version bumps for breaking changes like ESLint v9 flat config support.
npm install eslint-config-tuiVerified import paths — ran on the pinned version, not inferred.
Create an ESLint flat config using eslint-config-tui with custom rule overrides.
Upgrade to eslint v9 and use the flat config format as shown in the quickstart. If you must use eslintrc, stay on v5.x.
Upgrade to v6.0.1 or later.
Use a formatter like Prettier instead. See https://eslint.org/docs/latest/use/formatting
Use import/export syntax in eslint.config.js if your package.json has type: module, else use module.exports in .cjs.
Add to your config: rules: { 'no-console': ['warn', { allow: ['warn', 'error'] }] }Remove the rule from your config; ESLint will warn if you use it.
Use `export default [...tui, { ... }]` instead of `export default tui`.Upgrade to eslint-config-tui@6.0.1 or later.
Use ['warn', { allow: ['warn'] }] as the rule value.Create an eslint.config.js (or .mjs) file and use the flat config format.
Set type: module in package.json or rename file to .mjs.