Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit becd589

Browse files
authored
fix: add functions never to eslint rule (#1487)
1 parent 24bb600 commit becd589

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

other-packages/eslint-config-docz-js/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
argsIgnorePattern: '^_',
1515
},
1616
],
17-
'comma-dangle': ['error', 'always-multiline'],
17+
'comma-dangle': ['error', 'always-multiline', { 'functions': 'never' }],
1818
'no-mixed-operators': 'error',
1919
'no-console': 'off',
2020
'react/prop-types': 'off',

other-packages/eslint-config-docz-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-docz-js",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "Eslint config of Docz for Javascript",
55
"license": "MIT",
66
"author": {

other-packages/eslint-config-docz-ts/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
'prettier/@typescript-eslint',
88
],
99
rules: {
10-
'comma-dangle': ['error', 'always-multiline'],
10+
'comma-dangle': ['error', 'always-multiline', { 'functions': 'never' }],
1111
'no-mixed-operators': 'error',
1212
'no-console': 'off',
1313
'react/prop-types': 'off',

other-packages/eslint-config-docz-ts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-docz-ts",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "Eslint config of Docz for Typescript",
55
"license": "MIT",
66
"author": {

0 commit comments

Comments
 (0)