From 7d9713e4a2d834b275bc2995d19c5bab171377fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Beltr=C3=A1n=20Alarc=C3=B3n?= Date: Sun, 13 Feb 2022 19:03:42 +0100 Subject: [PATCH] remove endColumn from invalid test cases It seems to always throw errors in ESLint v3 --- tests/lib/rules/jsx-no-leaked-zero.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/lib/rules/jsx-no-leaked-zero.js b/tests/lib/rules/jsx-no-leaked-zero.js index d29895aff0..af869902f8 100644 --- a/tests/lib/rules/jsx-no-leaked-zero.js +++ b/tests/lib/rules/jsx-no-leaked-zero.js @@ -107,7 +107,6 @@ ruleTester.run('jsx-no-leaked-zero', rule, { message: 'Potential numeric evaluation that ends up in leaked zero to the DOM', line: 3, column: 22, - endColumn: 27, }], output: ` const Component = ({ count, title }) => { @@ -126,7 +125,6 @@ ruleTester.run('jsx-no-leaked-zero', rule, { message: 'Potential numeric evaluation that ends up in leaked zero to the DOM', line: 3, column: 22, - endColumn: 27, }], output: ` const Component = ({ count }) => { @@ -145,7 +143,6 @@ ruleTester.run('jsx-no-leaked-zero', rule, { message: 'Potential numeric evaluation that ends up in leaked zero to the DOM', line: 3, column: 22, - endColumn: 37, }], output: ` const Component = ({ elements }) => { @@ -164,7 +161,6 @@ ruleTester.run('jsx-no-leaked-zero', rule, { message: 'Potential numeric evaluation that ends up in leaked zero to the DOM', line: 3, column: 22, - endColumn: 54, }], output: ` const Component = ({ nestedCollection }) => { @@ -183,7 +179,6 @@ ruleTester.run('jsx-no-leaked-zero', rule, { message: 'Potential numeric evaluation that ends up in leaked zero to the DOM', line: 3, column: 22, - endColumn: 33, }], output: ` const Component = ({ elements }) => { @@ -202,7 +197,6 @@ ruleTester.run('jsx-no-leaked-zero', rule, { message: 'Potential numeric evaluation that ends up in leaked zero to the DOM', line: 3, column: 23, - endColumn: 41, }], output: ` const Component = ({ numberA, numberB }) => { @@ -222,7 +216,6 @@ ruleTester.run('jsx-no-leaked-zero', rule, { message: 'Potential numeric evaluation that ends up in leaked zero to the DOM', line: 3, column: 22, - endColumn: 27, }], output: ` const Component = ({ count, title }) => { @@ -240,7 +233,6 @@ ruleTester.run('jsx-no-leaked-zero', rule, { message: 'Potential numeric evaluation that ends up in leaked zero to the DOM', line: 3, column: 22, - endColumn: 27, }], output: ` const Component = ({ count }) => { @@ -258,7 +250,6 @@ ruleTester.run('jsx-no-leaked-zero', rule, { message: 'Potential numeric evaluation that ends up in leaked zero to the DOM', line: 3, column: 22, - endColumn: 37, }], output: ` const Component = ({ elements }) => { @@ -276,7 +267,6 @@ ruleTester.run('jsx-no-leaked-zero', rule, { message: 'Potential numeric evaluation that ends up in leaked zero to the DOM', line: 3, column: 22, - endColumn: 54, }], output: ` const Component = ({ nestedCollection }) => { @@ -294,7 +284,6 @@ ruleTester.run('jsx-no-leaked-zero', rule, { message: 'Potential numeric evaluation that ends up in leaked zero to the DOM', line: 3, column: 22, - endColumn: 33, }], output: ` const Component = ({ elements }) => { @@ -313,7 +302,6 @@ ruleTester.run('jsx-no-leaked-zero', rule, { message: 'Potential numeric evaluation that ends up in leaked zero to the DOM', line: 3, column: 23, - endColumn: 41, }], output: ` const Component = ({ numberA, numberB }) => {