Skip to content

Commit

Permalink
fix: add functions never to eslint rule (#1487)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan2k3k4 committed May 6, 2020
1 parent 24bb600 commit becd589
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion other-packages/eslint-config-docz-js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
argsIgnorePattern: '^_',
},
],
'comma-dangle': ['error', 'always-multiline'],
'comma-dangle': ['error', 'always-multiline', { 'functions': 'never' }],
'no-mixed-operators': 'error',
'no-console': 'off',
'react/prop-types': 'off',
Expand Down
2 changes: 1 addition & 1 deletion other-packages/eslint-config-docz-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-docz-js",
"version": "2.1.0",
"version": "2.1.1",
"description": "Eslint config of Docz for Javascript",
"license": "MIT",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion other-packages/eslint-config-docz-ts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
'prettier/@typescript-eslint',
],
rules: {
'comma-dangle': ['error', 'always-multiline'],
'comma-dangle': ['error', 'always-multiline', { 'functions': 'never' }],
'no-mixed-operators': 'error',
'no-console': 'off',
'react/prop-types': 'off',
Expand Down
2 changes: 1 addition & 1 deletion other-packages/eslint-config-docz-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-docz-ts",
"version": "2.1.0",
"version": "2.1.1",
"description": "Eslint config of Docz for Typescript",
"license": "MIT",
"author": {
Expand Down

0 comments on commit becd589

Please sign in to comment.