@wildpastry/eslint-config 1.7.5 → 1.7.6

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.
Files changed (3) hide show
  1. package/.eslintrc +1 -1
  2. package/index.js +1 -1
  3. 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": [1, { "code": 80, "ignoreUrls": true, "ignoreComments": true, "ignorePattern": "^import .*|className={.+}" }], // enforce a maximum line length // DONE - CUSTOMISED
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
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 .*" }], // enforce a maximum line length // DONE - CUSTOMISED
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildpastry/eslint-config",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "ESLint configuration file",
5
5
  "main": "index.js",
6
6
  "scripts": {