ESLint Config
Factory functions for creating preset ESLint configurations. Primarily used in unison with the Lumos CLI.
Extending config
Update package.json:
{
"lumos": {
"eslint": {
"rules": {
"react-hooks/exhaustive-deps": "off"
}
}
}
}
Create file in configs folder:
configs/eslint.js
modules.exports = {
rules: {
'react-hooks/exhaustive-deps': 'off',
},
};
Settings
Main settings
export interface ESLintOptions {
next?: boolean;
node?: boolean;
prettier?: boolean;
typescript?: boolean;
}
Default values
{
next = false,
node = false,
prettier = false,
typescript = false,
}