@wildpastry/eslint-config 1.7.5 → 1.7.7
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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -271,7 +271,7 @@ export default [
|
|
|
271
271
|
// Other
|
|
272
272
|
"line-comment-position": 1, // enforce position of line comments // DONE
|
|
273
273
|
"lines-between-class-members": 0, // require or disallow an empty line between class members // DONE - OFF
|
|
274
|
-
"max-len": [1, { "code": 80, "ignoreUrls": true, "ignoreComments": true, "ignorePattern": "^import
|
|
274
|
+
"max-len": [1, { "code": 80, "ignoreUrls": true, "ignoreComments": true, "ignorePattern": "^import .*|className={.+}" }], // enforce a maximum line length // DONE - CUSTOMISED
|
|
275
275
|
"max-statements-per-line": 1, // enforce a maximum number of statements allowed per line // DONE
|
|
276
276
|
"padding-line-between-statements": 1, // require or disallow padding lines between statements // DONE
|
|
277
277
|
"no-cond-assign": 1, // disallow assignment in conditional expressions // DONE
|