Skip to content

Commit

Permalink
Merge pull request #3 from sutoiku/chore/space-before-function-paren
Browse files Browse the repository at this point in the history
Update `space-before-function-paren`to `always`
  • Loading branch information
Francois Beaufils authored Apr 2, 2020
2 parents 1941ca0 + 19819a1 commit 9d3de8e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions lib/configs/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,21 @@ module.exports = {
'no-whitespace-before-property' : 2,
'space-before-blocks' : 2,
'space-before-function-paren' : ["error", {
"anonymous" : "never",
"anonymous" : "always",
"named" : "never",
"asyncArrow" : "always"
}],
'space-infix-ops' : 2,
'space-unary-ops' : 2,
'func-call-spacing' : 2,
'keyword-spacing' : 2,
'comma-dangle' : 1,
'comma-dangle' : ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
'linebreak-style' : [2, 'unix'],
'semi' : [2, 'always'],
'no-restricted-syntax' : [2, 'ForInStatement'],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-stoic",
"version": "4.3.0",
"version": "4.4.0",
"description": "ESLint plugin to rule them all",
"keywords": [
"eslint",
Expand Down

0 comments on commit 9d3de8e

Please sign in to comment.