@singlepixellab/eslint-config 1.1.0 → 1.2.1
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/package.json +1 -1
- package/rules/ignores.js +6 -0
- package/rules/styles.js +8 -2
package/package.json
CHANGED
package/rules/ignores.js
CHANGED
package/rules/styles.js
CHANGED
|
@@ -386,8 +386,14 @@ export default [
|
|
|
386
386
|
// Enforce consistent linebreak style for operators
|
|
387
387
|
"@stylistic/operator-linebreak": [
|
|
388
388
|
"warn",
|
|
389
|
-
"
|
|
390
|
-
{
|
|
389
|
+
"after",
|
|
390
|
+
{
|
|
391
|
+
overrides: {
|
|
392
|
+
"=": "ignore",
|
|
393
|
+
"?": "before",
|
|
394
|
+
":": "before",
|
|
395
|
+
},
|
|
396
|
+
},
|
|
391
397
|
],
|
|
392
398
|
|
|
393
399
|
// Require or disallow padding within blocks
|