diff --git a/other-packages/eslint-config-docz-js/index.js b/other-packages/eslint-config-docz-js/index.js index 10ff8bddc..f8b3d1dd0 100644 --- a/other-packages/eslint-config-docz-js/index.js +++ b/other-packages/eslint-config-docz-js/index.js @@ -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', diff --git a/other-packages/eslint-config-docz-js/package.json b/other-packages/eslint-config-docz-js/package.json index 20e0c8be6..dee9f310d 100644 --- a/other-packages/eslint-config-docz-js/package.json +++ b/other-packages/eslint-config-docz-js/package.json @@ -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": { diff --git a/other-packages/eslint-config-docz-ts/index.js b/other-packages/eslint-config-docz-ts/index.js index 6ee93b3ae..e34152e3e 100644 --- a/other-packages/eslint-config-docz-ts/index.js +++ b/other-packages/eslint-config-docz-ts/index.js @@ -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', diff --git a/other-packages/eslint-config-docz-ts/package.json b/other-packages/eslint-config-docz-ts/package.json index 586599723..b2f11e333 100644 --- a/other-packages/eslint-config-docz-ts/package.json +++ b/other-packages/eslint-config-docz-ts/package.json @@ -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": {