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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy