linted 21.2.1-rc.0 → 21.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/rules/index.d.ts +4 -4
- package/dist/rules/js/enable.d.ts +1 -1
- package/dist/rules/js/enable.js +1 -1
- package/dist/rules/js/enable.js.map +1 -1
- package/dist/rules/js/index.d.ts +1 -1
- package/dist/rules/mocha/index.d.ts +1 -1
- package/dist/rules/svelte/index.d.ts +1 -1
- package/dist/rules/ts/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/rules/js/enable.ts +1 -1
package/dist/rules/index.d.ts
CHANGED
@@ -659,7 +659,7 @@ declare const _default: {
|
|
659
659
|
readonly "no-restricted-imports": "off";
|
660
660
|
readonly "no-restricted-properties": "off";
|
661
661
|
readonly "no-restricted-syntax": "off";
|
662
|
-
readonly "no-return-assign": readonly ["error", "
|
662
|
+
readonly "no-return-assign": readonly ["error", "except-parens"];
|
663
663
|
readonly "no-script-url": "error";
|
664
664
|
readonly "no-sequences": readonly ["error", {
|
665
665
|
readonly allowInParentheses: true;
|
@@ -1423,7 +1423,7 @@ declare const _default: {
|
|
1423
1423
|
readonly "no-restricted-imports": "off";
|
1424
1424
|
readonly "no-restricted-properties": "off";
|
1425
1425
|
readonly "no-restricted-syntax": "off";
|
1426
|
-
readonly "no-return-assign": readonly ["error", "
|
1426
|
+
readonly "no-return-assign": readonly ["error", "except-parens"];
|
1427
1427
|
readonly "no-script-url": "error";
|
1428
1428
|
readonly "no-sequences": readonly ["error", {
|
1429
1429
|
readonly allowInParentheses: true;
|
@@ -2557,7 +2557,7 @@ declare const _default: {
|
|
2557
2557
|
readonly "no-restricted-imports": "off";
|
2558
2558
|
readonly "no-restricted-properties": "off";
|
2559
2559
|
readonly "no-restricted-syntax": "off";
|
2560
|
-
readonly "no-return-assign": readonly ["error", "
|
2560
|
+
readonly "no-return-assign": readonly ["error", "except-parens"];
|
2561
2561
|
readonly "no-script-url": "error";
|
2562
2562
|
readonly "no-sequences": readonly ["error", {
|
2563
2563
|
readonly allowInParentheses: true;
|
@@ -3828,7 +3828,7 @@ declare const _default: {
|
|
3828
3828
|
readonly "no-restricted-imports": "off";
|
3829
3829
|
readonly "no-restricted-properties": "off";
|
3830
3830
|
readonly "no-restricted-syntax": "off";
|
3831
|
-
readonly "no-return-assign": readonly ["error", "
|
3831
|
+
readonly "no-return-assign": readonly ["error", "except-parens"];
|
3832
3832
|
readonly "no-script-url": "error";
|
3833
3833
|
readonly "no-sequences": readonly ["error", {
|
3834
3834
|
readonly allowInParentheses: true;
|
@@ -240,7 +240,7 @@ declare const _default: readonly ["enable", {
|
|
240
240
|
readonly "no-restricted-imports": "off";
|
241
241
|
readonly "no-restricted-properties": "off";
|
242
242
|
readonly "no-restricted-syntax": "off";
|
243
|
-
readonly "no-return-assign": readonly ["error", "
|
243
|
+
readonly "no-return-assign": readonly ["error", "except-parens"];
|
244
244
|
readonly "no-script-url": "error";
|
245
245
|
readonly "no-sequences": readonly ["error", {
|
246
246
|
readonly allowInParentheses: true;
|
package/dist/rules/js/enable.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/js/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,KAAK,EACL,MAAM,EACN,QAAQ,EACR,WAAW,EACX,KAAK,EACL,GAAG,EACH,KAAK,EACL,IAAI,GACL,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAGE,uBAAuB,EAAE;YACvB,KAAK;YACL;gBACE,aAAa,EAAE,KAAK;gBACpB,YAAY,EAAE,IAAI;gBAClB,SAAS,EAAE,IAAI;aAChB;SACF;QACD,mBAAmB,EAAE,KAAK;QAC1B,eAAe,EAAE,KAAK;QACtB,eAAe,EAAE;YACf,KAAK;YACL;gBACE,aAAa,EAAE,KAAK;aACrB;SACF;QACD,2BAA2B,EAAE,KAAK;QAClC,kBAAkB,EAAE,KAAK;QACzB,iBAAiB,EAAE,KAAK;QACx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AAK;QACrB,gBAAgB,EAAE,KAAK;QACvB,cAAc,EAAE,GAAG;QACnB,cAAc,EAAE,KAAK;QACrB,kBAAkB,EAAE,GAAG;QACvB,iBAAiB,EAAE;YACjB,KAAK;YACL;gBACE,oBAAoB,EAAE,KAAK;aAC5B;SACF;QACD,cAAc,EAAE,KAAK;QACrB,sBAAsB,EAAE,GAAG;QAC3B,mBAAmB,EAAE,GAAG;QACxB,QAAQ,EAAE,KAAK;QACf,aAAa,EAAE,KAAK;QACpB,iBAAiB,EAAE,KAAK;QACxB,4BAA4B,EAAE,KAAK;QACnC,uBAAuB,EAAE,KAAK;QAC9B,UAAU,EAAE,KAAK;QACjB,iBAAiB,EAAE,KAAK;QACxB,mBAAmB,EAAE;YACnB,KAAK;YACL;gBACE,KAAK,EAAE,IAAI;gBACX,8BAA8B,EAAE,EAAE;gBAClC,mCAAmC,EAAE,EAAE;aACxC;SACF;QACD,aAAa,EAAE;YACb,KAAK;YACL;gBACE,yBAAyB,EAAE,IAAI;aAChC;SACF;QACD,UAAU,EAAE,KAAK;QACjB,cAAc,EAAE;YACd,KAAK;YACL,EAAE,cAAc,EAAE,IAAI,EAAE;SACzB;QACD,iBAAiB,EAAE,GAAG;QACtB,uBAAuB,EAAE,GAAG;QAC5B,uBAAuB,EAAE,GAAG;QAC5B,uBAAuB,EAAE,GAAG;QAC5B,0BAA0B,EAAE,GAAG;QAC/B,sBAAsB,EAAE,GAAG;QAC3B,kBAAkB,EAAE;YAClB,KAAK;YACL,
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/js/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,KAAK,EACL,MAAM,EACN,QAAQ,EACR,WAAW,EACX,KAAK,EACL,GAAG,EACH,KAAK,EACL,IAAI,GACL,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAGE,uBAAuB,EAAE;YACvB,KAAK;YACL;gBAC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E,WAAW,EAAE,KAAK;gBAClB,YAAY,EAAE,KAAK;aACpB;SACF;QAMD,aAAa,EAAE,GAAG;KAGnB;CACO,CAAC"}
|
package/dist/rules/js/index.d.ts
CHANGED
@@ -658,7 +658,7 @@ declare const _default: (readonly ["stylistic", {
|
|
658
658
|
readonly "no-restricted-imports": "off";
|
659
659
|
readonly "no-restricted-properties": "off";
|
660
660
|
readonly "no-restricted-syntax": "off";
|
661
|
-
readonly "no-return-assign": readonly ["error", "
|
661
|
+
readonly "no-return-assign": readonly ["error", "except-parens"];
|
662
662
|
readonly "no-script-url": "error";
|
663
663
|
readonly "no-sequences": readonly ["error", {
|
664
664
|
readonly allowInParentheses: true;
|
@@ -658,7 +658,7 @@ declare const _default: (readonly ["stylistic", {
|
|
658
658
|
readonly "no-restricted-imports": "off";
|
659
659
|
readonly "no-restricted-properties": "off";
|
660
660
|
readonly "no-restricted-syntax": "off";
|
661
|
-
readonly "no-return-assign": readonly ["error", "
|
661
|
+
readonly "no-return-assign": readonly ["error", "except-parens"];
|
662
662
|
readonly "no-script-url": "error";
|
663
663
|
readonly "no-sequences": readonly ["error", {
|
664
664
|
readonly allowInParentheses: true;
|
@@ -658,7 +658,7 @@ declare const _default: (readonly ["stylistic", {
|
|
658
658
|
readonly "no-restricted-imports": "off";
|
659
659
|
readonly "no-restricted-properties": "off";
|
660
660
|
readonly "no-restricted-syntax": "off";
|
661
|
-
readonly "no-return-assign": readonly ["error", "
|
661
|
+
readonly "no-return-assign": readonly ["error", "except-parens"];
|
662
662
|
readonly "no-script-url": "error";
|
663
663
|
readonly "no-sequences": readonly ["error", {
|
664
664
|
readonly allowInParentheses: true;
|
package/dist/rules/ts/index.d.ts
CHANGED
@@ -658,7 +658,7 @@ declare const _default: (readonly ["stylistic", {
|
|
658
658
|
readonly "no-restricted-imports": "off";
|
659
659
|
readonly "no-restricted-properties": "off";
|
660
660
|
readonly "no-restricted-syntax": "off";
|
661
|
-
readonly "no-return-assign": readonly ["error", "
|
661
|
+
readonly "no-return-assign": readonly ["error", "except-parens"];
|
662
662
|
readonly "no-script-url": "error";
|
663
663
|
readonly "no-sequences": readonly ["error", {
|
664
664
|
readonly allowInParentheses: true;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_schemaVersion": "22.11.0",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "21.2.
|
4
|
+
"version": "21.2.2",
|
5
5
|
"description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
|
6
6
|
"keywords": [
|
7
7
|
"eslint",
|
package/src/rules/js/enable.ts
CHANGED
@@ -385,7 +385,7 @@ export default [
|
|
385
385
|
"no-restricted-syntax": OFF /* preference */,
|
386
386
|
"no-return-assign": [
|
387
387
|
ERROR,
|
388
|
-
|
388
|
+
"except-parens",
|
389
389
|
] /* ALWAYS | "except-parens" (disallow assignments unless enclosed in parens) */,
|
390
390
|
"no-script-url": ERROR,
|
391
391
|
"no-sequences": [
|