Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit b6e5dd5

Browse files
author
fractaltheory
committed
Further updates to ruleset
1 parent dcb7dc0 commit b6e5dd5

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

javascript/.eslintrc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@
7474
// Disallow spacing around non-word unary operators: -, +, --, ++, !, !!
7575
"space-unary-ops": [2, { "words": true, "nonwords": false }],
7676

77-
// Disallow declaration of variables that are not used
78-
"no-unused-vars": 2,
79-
8077
// Disallow undeclared variables (unless mentioned in /*global ...*/ comment)
8178
"no-undef": 2,
8279

@@ -106,12 +103,12 @@
106103

107104
// Enforces a maximum of 100 characters in a single line; adjusts tabs
108105
// to equal 4 characters
109-
"max-len": [2, "100", "4"],
106+
"max-len": [2, "300", "4"],
110107

111108
// Enforces semicolons at the end of statements
112109
"semi": 2,
113110

114-
// Disallow function definitions of the form 'var f = function() {'
115-
"func-style": [2, "declaration"]
111+
// Disallow function definitions of the form 'function myFunc() {'
112+
"func-style": [2, "expression"]
116113
}
117114
}

0 commit comments

Comments
 (0)