Package Exports
- @oriflame/config-eslint
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@oriflame/config-eslint) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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,
}