$ npm install eslint eslint-config-tui --save-dev
Note: If you have configured your project to use ESM (ECMAScript Modules) format, you can also write your ESLint configuration using the filename
eslint.config.js
.
// eslint.config.mjs
import tui from 'eslint-config-tui';
export default [
...tui,
{
rules: {
// Override rules or Add more rules
},
},
];
If you want to distinguish with tui/es6
, use a version before 5.0.0