@wildpastry/eslint-config 1.7.4 → 1.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +1 -1
- package/package.json +1 -1
package/.eslintrc
CHANGED
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
// Other
|
|
292
292
|
"line-comment-position": 1, // enforce position of line comments // DONE
|
|
293
293
|
"lines-between-class-members": 0, // require or disallow an empty line between class members // DONE - OFF
|
|
294
|
-
"max-len":
|
|
294
|
+
"max-len": [1, { "code": 80, "ignoreUrls": true, "ignoreComments": true, "ignorePattern": "^import .*|className={.+}" }], // enforce a maximum line length // DONE - CUSTOMISED
|
|
295
295
|
"max-statements-per-line": 1, // enforce a maximum number of statements allowed per line // DONE
|
|
296
296
|
"padding-line-between-statements": 1, // require or disallow padding lines between statements // DONE
|
|
297
297
|
"no-cond-assign": 1, // disallow assignment in conditional expressions // DONE
|