An ESLint Shareable Config for i40 flavored JavaScript Standard Style
npx install-peerdeps --dev @i40/eslint-config
Add to either package.json or .eslintrc:
{
// …
"eslintConfig": {
"extends": "@i40/eslint-config"
}
// …
}
{
"extends": "@i40/eslint-config"
}
- Comma dangle (comma-dangle) always-multiline: Requires trailing commas for multiline object and array literals
- Space before function parenthesis: (space-before-function-paren)
never: Disallows any space followed by the
(of arguments