Skip to content

Instantly share code, notes, and snippets.

@michael34435
Created October 31, 2018 07:44
Show Gist options
  • Save michael34435/fb79219a0451cbe44dd9d9fa56c53bee to your computer and use it in GitHub Desktop.
Save michael34435/fb79219a0451cbe44dd9d9fa56c53bee to your computer and use it in GitHub Desktop.
{
"extends": ["standard"],
"rules": {
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "always-multiline",
}],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-style": ["error", "last", {
"exceptions": {
"ArrayExpression": false,
"ArrayPattern": false,
"ArrowFunctionExpression": false,
"CallExpression": false,
"FunctionDeclaration": false,
"FunctionExpression": false,
"ImportDeclaration": false,
"ObjectExpression": false,
"ObjectPattern": false,
"VariableDeclaration": false,
"NewExpression": false,
}
}],
"semi": ["error", "always"],
"semi-spacing": ["error", { "before": false, "after": true }],
"semi-style": ["error", "last"],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment