Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Unexpected trailing comma rule #5660

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"rules": {
curly: 0,
eqeqeq: 0,
comma-dangle: 2,
//comma-dangle: 2,
no-dupe-args: 2,
no-dupe-keys: 2,
no-duplicate-case: 2,
Expand All @@ -56,7 +56,7 @@
no-unexpected-multiline: 2,
use-isnan: 2,
valid-typeof: 2,

accessor-pairs: 2,
complexity: 0,
dot-location: [2, "property"],
Expand All @@ -80,11 +80,11 @@
no-sequences: 2,
no-useless-call: 2,
yoda: 2,

no-undef: 2,
no-redeclare: 0,
no-unused-vars: [1, {"args": "none", "vars": "all"}],

no-debugger: 2,

//////////////////////////////////////////////////////////////////
Expand All @@ -108,17 +108,17 @@
// no-else-return: 2,
// no-unused-expressions: 2,
// no-use-before-define: [2, { "functions": false, "classes": false, "variables": false }],

// array-bracket-spacing: 2, // enforce spacing inside array brackets (fixable)
// block-spacing: 2, // disallow or enforce spaces inside of single line blocks (fixable)
// brace-style: 2, // enforce one true brace style
// brace-style: 2, // enforce one true brace style
// camelcase: 2, // require camel case names
// comma-spacing: 2, // enforce spacing before and after comma (fixable)
// comma-style: 2, // enforce one true comma style
computed-property-spacing: 2, // require or disallow padding inside computed properties (fixable)
// consistent-this: 2, // enforce consistent naming when capturing the current execution context
// consistent-this: 2, // enforce consistent naming when capturing the current execution context
linebreak-style: 2, // disallow mixed 'LF' and 'CRLF' as linebreaks
// indent: ["error", 4, { "outerIIFEBody": 0 }], // specify tab or space width for your code (fixable)
// indent: ["error", 4, { "outerIIFEBody": 0 }], // specify tab or space width for your code (fixable)
// key-spacing: 2, // enforce spacing between keys and values in object literal properties
// new-cap: 2, // require a capital letter for constructors
// new-parens: 2, // disallow the omission of parentheses when invoking a constructor with no arguments
Expand Down Expand Up @@ -151,6 +151,6 @@
// space-infix-ops: 2, // require spaces around operators (fixable)
// space-unary-ops: 2, // require or disallow spaces before/after unary operators (fixable)
// spaced-comment: [2, "always", { markers: ["-", "*", "/", "{", "}", "#"], exceptions: ["}"] }]

}
}
Loading