Configuring ESLint
Essential rules
{
"plugins": [
"@scandipwa/scandipwa-guidelines"
],
"rules": {
// Force @namespace comments in the code
"@scandipwa/scandipwa-guidelines/use-namespace": "error",
// Use "__construct" instead of "constructor"
"@scandipwa/scandipwa-guidelines/use-magic-construct": "error",
}
}How to disable ESLint
How to change ESlint configurations
Last updated