diff --git a/package.json b/package.json index 2c4670347..43387bf67 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,8 @@ "svelte-adapter-ghpages": "0.0.2", "typescript": "^4.5.2", "vite": "^3.0.0-0", - "vite-plugin-svelte-md": "^0.1.5" + "vite-plugin-svelte-md": "^0.1.5", + "yaml": "^2.1.1" }, "publishConfig": { "access": "public" diff --git a/tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-errors.json b/tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-errors.json deleted file mode 100644 index 06e017f3e..000000000 --- a/tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "button is a forbidden value for button type attribute.", - "line": 1, - "column": 9 - } -] diff --git a/tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-errors.yaml b/tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-errors.yaml new file mode 100644 index 000000000..e285818b7 --- /dev/null +++ b/tests/fixtures/rules/button-has-type/invalid/button-false/invalid-button-errors.yaml @@ -0,0 +1,4 @@ +- message: button is a forbidden value for button type attribute. + line: 1 + column: 9 + suggestions: null diff --git a/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-errors.json b/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-errors.json deleted file mode 100644 index 7871e42a9..000000000 --- a/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "reset is a forbidden value for button type attribute.", - "line": 1, - "column": 9 - } -] diff --git a/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-errors.yaml b/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-errors.yaml new file mode 100644 index 000000000..c8405a769 --- /dev/null +++ b/tests/fixtures/rules/button-has-type/invalid/reset-false/invalid-reset-errors.yaml @@ -0,0 +1,4 @@ +- message: reset is a forbidden value for button type attribute. + line: 1 + column: 9 + suggestions: null diff --git a/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-errors.json b/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-errors.json deleted file mode 100644 index fb2e39ba7..000000000 --- a/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "submit is a forbidden value for button type attribute.", - "line": 1, - "column": 9 - } -] diff --git a/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-errors.yaml b/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-errors.yaml new file mode 100644 index 000000000..e1ef18645 --- /dev/null +++ b/tests/fixtures/rules/button-has-type/invalid/submit-false/invalid-submit-errors.yaml @@ -0,0 +1,4 @@ +- message: submit is a forbidden value for button type attribute. + line: 1 + column: 9 + suggestions: null diff --git a/tests/fixtures/rules/button-has-type/invalid/test01-errors.json b/tests/fixtures/rules/button-has-type/invalid/test01-errors.json deleted file mode 100644 index bfe8b0fbd..000000000 --- a/tests/fixtures/rules/button-has-type/invalid/test01-errors.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "message": "Missing an explicit type attribute for button.", - "line": 1, - "column": 1 - }, - { - "message": "A value must be set for button type attribute.", - "line": 2, - "column": 9 - }, - { - "message": "A value must be set for button type attribute.", - "line": 3, - "column": 9 - }, - { - "message": "foo is an invalid value for button type attribute.", - "line": 4, - "column": 9 - } -] diff --git a/tests/fixtures/rules/button-has-type/invalid/test01-errors.yaml b/tests/fixtures/rules/button-has-type/invalid/test01-errors.yaml new file mode 100644 index 000000000..59d68f805 --- /dev/null +++ b/tests/fixtures/rules/button-has-type/invalid/test01-errors.yaml @@ -0,0 +1,16 @@ +- message: Missing an explicit type attribute for button. + line: 1 + column: 1 + suggestions: null +- message: A value must be set for button type attribute. + line: 2 + column: 9 + suggestions: null +- message: A value must be set for button type attribute. + line: 3 + column: 9 + suggestions: null +- message: foo is an invalid value for button type attribute. + line: 4 + column: 9 + suggestions: null diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-errors.json b/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-errors.json deleted file mode 100644 index a5687643b..000000000 --- a/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Expected a linebreak before this attribute.", - "line": 9, - "column": 9 - }, - { - "message": "Expected a linebreak before this attribute.", - "line": 13, - "column": 8 - } -] diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-errors.yaml b/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-errors.yaml new file mode 100644 index 000000000..00d76fde3 --- /dev/null +++ b/tests/fixtures/rules/first-attribute-linebreak/invalid/below/test01-errors.yaml @@ -0,0 +1,8 @@ +- message: Expected a linebreak before this attribute. + line: 9 + column: 9 + suggestions: null +- message: Expected a linebreak before this attribute. + line: 13 + column: 8 + suggestions: null diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-errors.json b/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-errors.json deleted file mode 100644 index 6baa1b4ad..000000000 --- a/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Expected no linebreak before this attribute.", - "line": 7, - "column": 3 - }, - { - "message": "Expected no linebreak before this attribute.", - "line": 16, - "column": 3 - } -] diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-errors.yaml b/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-errors.yaml new file mode 100644 index 000000000..003b1b79c --- /dev/null +++ b/tests/fixtures/rules/first-attribute-linebreak/invalid/beside/test01-errors.yaml @@ -0,0 +1,8 @@ +- message: Expected no linebreak before this attribute. + line: 7 + column: 3 + suggestions: null +- message: Expected no linebreak before this attribute. + line: 16 + column: 3 + suggestions: null diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-errors.json b/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-errors.json deleted file mode 100644 index e096db2d9..000000000 --- a/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Expected no linebreak before this attribute.", - "line": 7, - "column": 3 - }, - { - "message": "Expected a linebreak before this attribute.", - "line": 9, - "column": 9 - } -] diff --git a/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-errors.yaml b/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-errors.yaml new file mode 100644 index 000000000..4936f565a --- /dev/null +++ b/tests/fixtures/rules/first-attribute-linebreak/invalid/test01-errors.yaml @@ -0,0 +1,8 @@ +- message: Expected no linebreak before this attribute. + line: 7 + column: 3 + suggestions: null +- message: Expected a linebreak before this attribute. + line: 9 + column: 9 + suggestions: null diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-errors.json b/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-errors.json deleted file mode 100644 index 8e0d94be0..000000000 --- a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Expected no space before '>', but found.", - "line": 2, - "column": 3 - }, - { - "message": "Expected no space before '>', but found.", - "line": 2, - "column": 14 - } -] diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-errors.yaml b/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-errors.yaml new file mode 100644 index 000000000..d9383ed08 --- /dev/null +++ b/tests/fixtures/rules/html-closing-bracket-spacing/invalid/closing-ignore/closing-ignore-errors.yaml @@ -0,0 +1,8 @@ +- message: Expected no space before '>', but found. + line: 2 + column: 3 + suggestions: null +- message: Expected no space before '>', but found. + line: 2 + column: 14 + suggestions: null diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-errors.json b/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-errors.json deleted file mode 100644 index 130ab5d28..000000000 --- a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Expected no space before '>', but found.", - "line": 2, - "column": 3 - }, - { - "message": "Expected space before '>', but not found.", - "line": 5, - "column": 5 - } -] diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-errors.yaml b/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-errors.yaml new file mode 100644 index 000000000..2d1198269 --- /dev/null +++ b/tests/fixtures/rules/html-closing-bracket-spacing/invalid/end-ignore/end-ignore-errors.yaml @@ -0,0 +1,8 @@ +- message: Expected no space before '>', but found. + line: 2 + column: 3 + suggestions: null +- message: Expected space before '>', but not found. + line: 5 + column: 5 + suggestions: null diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-errors.json b/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-errors.json deleted file mode 100644 index bb1c24ac3..000000000 --- a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Expected no space before '>', but found.", - "line": 2, - "column": 14 - }, - { - "message": "Expected space before '>', but not found.", - "line": 5, - "column": 5 - } -] diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-errors.yaml b/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-errors.yaml new file mode 100644 index 000000000..89c55be00 --- /dev/null +++ b/tests/fixtures/rules/html-closing-bracket-spacing/invalid/start-ignore/start-ignore-errors.yaml @@ -0,0 +1,8 @@ +- message: Expected no space before '>', but found. + line: 2 + column: 14 + suggestions: null +- message: Expected space before '>', but not found. + line: 5 + column: 5 + suggestions: null diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-errors.json b/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-errors.json deleted file mode 100644 index bababc39e..000000000 --- a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Expected no space before '>', but found.", - "line": 2, - "column": 3 - }, - { - "message": "Expected no space before '>', but found.", - "line": 2, - "column": 14 - }, - { - "message": "Expected space before '>', but not found.", - "line": 4, - "column": 5 - } -] diff --git a/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-errors.yaml b/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-errors.yaml new file mode 100644 index 000000000..98a90e04d --- /dev/null +++ b/tests/fixtures/rules/html-closing-bracket-spacing/invalid/test-01-errors.yaml @@ -0,0 +1,12 @@ +- message: Expected no space before '>', but found. + line: 2 + column: 3 + suggestions: null +- message: Expected no space before '>', but found. + line: 2 + column: 14 + suggestions: null +- message: Expected space before '>', but not found. + line: 4 + column: 5 + suggestions: null diff --git a/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-errors.json b/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-errors.json deleted file mode 100644 index b320a3460..000000000 --- a/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-errors.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "message": "Expected to be enclosed by double quotes.", - "line": 9, - "column": 13 - }, - { - "message": "Expected to be enclosed by double quotes.", - "line": 12, - "column": 13 - }, - { - "message": "Expected to be enclosed by double quotes.", - "line": 18, - "column": 10 - }, - { - "message": "Expected to be enclosed by quotes.", - "line": 20, - "column": 10 - } -] diff --git a/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-errors.yaml b/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-errors.yaml new file mode 100644 index 000000000..6d0625530 --- /dev/null +++ b/tests/fixtures/rules/html-quotes/invalid/all-quotes/test01-errors.yaml @@ -0,0 +1,16 @@ +- message: Expected to be enclosed by double quotes. + line: 9 + column: 13 + suggestions: null +- message: Expected to be enclosed by double quotes. + line: 12 + column: 13 + suggestions: null +- message: Expected to be enclosed by double quotes. + line: 18 + column: 10 + suggestions: null +- message: Expected to be enclosed by quotes. + line: 20 + column: 10 + suggestions: null diff --git a/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-errors.json b/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-errors.json deleted file mode 100644 index 9f444efbd..000000000 --- a/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Expected to be enclosed by double quotes.", - "line": 6, - "column": 13 - }, - { - "message": "Expected to be enclosed by double quotes.", - "line": 6, - "column": 29 - } -] diff --git a/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-errors.yaml b/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-errors.yaml new file mode 100644 index 000000000..3487b2e69 --- /dev/null +++ b/tests/fixtures/rules/html-quotes/invalid/all-quotes/test02-errors.yaml @@ -0,0 +1,8 @@ +- message: Expected to be enclosed by double quotes. + line: 6 + column: 13 + suggestions: null +- message: Expected to be enclosed by double quotes. + line: 6 + column: 29 + suggestions: null diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-errors.json b/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-errors.json deleted file mode 100644 index 55ad71759..000000000 --- a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Expected to be enclosed by double quotes.", - "line": 5, - "column": 19 - } -] diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-errors.yaml b/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-errors.yaml new file mode 100644 index 000000000..ac3326a44 --- /dev/null +++ b/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/inline-handlers-errors.yaml @@ -0,0 +1,4 @@ +- message: Expected to be enclosed by double quotes. + line: 5 + column: 19 + suggestions: null diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-errors.json b/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-errors.json deleted file mode 100644 index 63bc811aa..000000000 --- a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-errors.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "message": "Expected to be enclosed by double quotes.", - "line": 9, - "column": 13 - }, - { - "message": "Unexpected to be enclosed by any quotes.", - "line": 9, - "column": 29 - }, - { - "message": "Expected to be enclosed by double quotes.", - "line": 12, - "column": 13 - }, - { - "message": "Unexpected to be enclosed by any quotes.", - "line": 12, - "column": 31 - }, - { - "message": "Unexpected to be enclosed by any quotes.", - "line": 16, - "column": 10 - }, - { - "message": "Expected to be enclosed by quotes.", - "line": 20, - "column": 10 - } -] diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-errors.yaml b/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-errors.yaml new file mode 100644 index 000000000..7e6a8c660 --- /dev/null +++ b/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test01-errors.yaml @@ -0,0 +1,24 @@ +- message: Expected to be enclosed by double quotes. + line: 9 + column: 13 + suggestions: null +- message: Unexpected to be enclosed by any quotes. + line: 9 + column: 29 + suggestions: null +- message: Expected to be enclosed by double quotes. + line: 12 + column: 13 + suggestions: null +- message: Unexpected to be enclosed by any quotes. + line: 12 + column: 31 + suggestions: null +- message: Unexpected to be enclosed by any quotes. + line: 16 + column: 10 + suggestions: null +- message: Expected to be enclosed by quotes. + line: 20 + column: 10 + suggestions: null diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-errors.json b/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-errors.json deleted file mode 100644 index a2fc6f499..000000000 --- a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Expected to be enclosed by double quotes.", - "line": 7, - "column": 42 - } -] diff --git a/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-errors.yaml b/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-errors.yaml new file mode 100644 index 000000000..979a679be --- /dev/null +++ b/tests/fixtures/rules/html-quotes/invalid/avoid-invalid-unquoted-in-html/test02-errors.yaml @@ -0,0 +1,4 @@ +- message: Expected to be enclosed by double quotes. + line: 7 + column: 42 + suggestions: null diff --git a/tests/fixtures/rules/html-quotes/invalid/single/test01-errors.json b/tests/fixtures/rules/html-quotes/invalid/single/test01-errors.json deleted file mode 100644 index 0f9c3d43e..000000000 --- a/tests/fixtures/rules/html-quotes/invalid/single/test01-errors.json +++ /dev/null @@ -1,47 +0,0 @@ -[ - { - "message": "Expected to be enclosed by single quotes.", - "line": 9, - "column": 13 - }, - { - "message": "Unexpected to be enclosed by any quotes.", - "line": 9, - "column": 29 - }, - { - "message": "Expected to be enclosed by single quotes.", - "line": 10, - "column": 13 - }, - { - "message": "Unexpected to be enclosed by any quotes.", - "line": 12, - "column": 31 - }, - { - "message": "Expected to be enclosed by single quotes.", - "line": 14, - "column": 16 - }, - { - "message": "Unexpected to be enclosed by any quotes.", - "line": 16, - "column": 10 - }, - { - "message": "Expected to be enclosed by single quotes.", - "line": 16, - "column": 22 - }, - { - "message": "Expected to be enclosed by single quotes.", - "line": 18, - "column": 20 - }, - { - "message": "Expected to be enclosed by single quotes.", - "line": 20, - "column": 42 - } -] diff --git a/tests/fixtures/rules/html-quotes/invalid/single/test01-errors.yaml b/tests/fixtures/rules/html-quotes/invalid/single/test01-errors.yaml new file mode 100644 index 000000000..ebd981fff --- /dev/null +++ b/tests/fixtures/rules/html-quotes/invalid/single/test01-errors.yaml @@ -0,0 +1,36 @@ +- message: Expected to be enclosed by single quotes. + line: 9 + column: 13 + suggestions: null +- message: Unexpected to be enclosed by any quotes. + line: 9 + column: 29 + suggestions: null +- message: Expected to be enclosed by single quotes. + line: 10 + column: 13 + suggestions: null +- message: Unexpected to be enclosed by any quotes. + line: 12 + column: 31 + suggestions: null +- message: Expected to be enclosed by single quotes. + line: 14 + column: 16 + suggestions: null +- message: Unexpected to be enclosed by any quotes. + line: 16 + column: 10 + suggestions: null +- message: Expected to be enclosed by single quotes. + line: 16 + column: 22 + suggestions: null +- message: Expected to be enclosed by single quotes. + line: 18 + column: 20 + suggestions: null +- message: Expected to be enclosed by single quotes. + line: 20 + column: 42 + suggestions: null diff --git a/tests/fixtures/rules/html-quotes/invalid/test01-errors.json b/tests/fixtures/rules/html-quotes/invalid/test01-errors.json deleted file mode 100644 index 503e27eaa..000000000 --- a/tests/fixtures/rules/html-quotes/invalid/test01-errors.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "message": "Expected to be enclosed by double quotes.", - "line": 9, - "column": 13 - }, - { - "message": "Unexpected to be enclosed by any quotes.", - "line": 9, - "column": 29 - }, - { - "message": "Expected to be enclosed by double quotes.", - "line": 12, - "column": 13 - }, - { - "message": "Unexpected to be enclosed by any quotes.", - "line": 12, - "column": 31 - }, - { - "message": "Unexpected to be enclosed by any quotes.", - "line": 14, - "column": 20 - }, - { - "message": "Unexpected to be enclosed by any quotes.", - "line": 18, - "column": 10 - } -] diff --git a/tests/fixtures/rules/html-quotes/invalid/test01-errors.yaml b/tests/fixtures/rules/html-quotes/invalid/test01-errors.yaml new file mode 100644 index 000000000..3339aea67 --- /dev/null +++ b/tests/fixtures/rules/html-quotes/invalid/test01-errors.yaml @@ -0,0 +1,24 @@ +- message: Expected to be enclosed by double quotes. + line: 9 + column: 13 + suggestions: null +- message: Unexpected to be enclosed by any quotes. + line: 9 + column: 29 + suggestions: null +- message: Expected to be enclosed by double quotes. + line: 12 + column: 13 + suggestions: null +- message: Unexpected to be enclosed by any quotes. + line: 12 + column: 31 + suggestions: null +- message: Unexpected to be enclosed by any quotes. + line: 14 + column: 20 + suggestions: null +- message: Unexpected to be enclosed by any quotes. + line: 18 + column: 10 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/4-indent/test01-errors.json b/tests/fixtures/rules/indent/invalid/4-indent/test01-errors.json deleted file mode 100644 index 115087cba..000000000 --- a/tests/fixtures/rules/indent/invalid/4-indent/test01-errors.json +++ /dev/null @@ -1,367 +0,0 @@ -[ - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 20 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 20 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 20 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 24 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 24 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 20 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 20 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 20 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 24 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 20 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 20 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 20 spaces but found 0 spaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 58, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 59, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 60, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 61, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 62, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 63, - "column": 1 - }, - { - "message": "Expected indentation of 20 spaces but found 0 spaces.", - "line": 64, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 65, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 66, - "column": 1 - }, - { - "message": "Expected indentation of 20 spaces but found 0 spaces.", - "line": 67, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 68, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 69, - "column": 1 - }, - { - "message": "Expected indentation of 20 spaces but found 0 spaces.", - "line": 70, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 71, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 72, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 73, - "column": 1 - }, - { - "message": "Expected indentation of 16 spaces but found 0 spaces.", - "line": 74, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 75, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 76, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 77, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 78, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 79, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 80, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 81, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 82, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 83, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 84, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 85, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/4-indent/test01-errors.yaml b/tests/fixtures/rules/indent/invalid/4-indent/test01-errors.yaml new file mode 100644 index 000000000..ea2cfb05d --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/4-indent/test01-errors.yaml @@ -0,0 +1,292 @@ +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 20 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 20 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 20 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 24 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 24 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 20 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 20 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 20 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 24 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 20 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 20 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 20 spaces but found 0 spaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 58 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 59 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 60 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 61 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 62 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 63 + column: 1 + suggestions: null +- message: Expected indentation of 20 spaces but found 0 spaces. + line: 64 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 65 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 66 + column: 1 + suggestions: null +- message: Expected indentation of 20 spaces but found 0 spaces. + line: 67 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 68 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 69 + column: 1 + suggestions: null +- message: Expected indentation of 20 spaces but found 0 spaces. + line: 70 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 71 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 72 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 73 + column: 1 + suggestions: null +- message: Expected indentation of 16 spaces but found 0 spaces. + line: 74 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 75 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 76 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 77 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 78 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 79 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 80 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 81 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 82 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 83 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 84 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 85 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-errors.json b/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-errors.json deleted file mode 100644 index e36405e25..000000000 --- a/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-errors.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "message": "Expected indentation of 5 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 5 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 5 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 5 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 7 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 5 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 5 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 7 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 7 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 7 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 7 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 7 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 9 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 7 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 7 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 9 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 7 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 22, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-errors.yaml b/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-errors.yaml new file mode 100644 index 000000000..8e2ea2561 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/align-attributes-vertically/attrs01-errors.yaml @@ -0,0 +1,80 @@ +- message: Expected indentation of 5 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 5 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 5 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 5 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 7 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 5 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 5 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 7 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 7 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 7 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 7 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 7 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 9 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 7 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 7 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 9 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 7 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/await01-errors.json b/tests/fixtures/rules/indent/invalid/await01-errors.json deleted file mode 100644 index 1dd049c5c..000000000 --- a/tests/fixtures/rules/indent/invalid/await01-errors.json +++ /dev/null @@ -1,352 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 58, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 59, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 60, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 61, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 62, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 64, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 65, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 66, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 67, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 68, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 69, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 70, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 71, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 72, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 73, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 75, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 76, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 77, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 78, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 79, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 80, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 81, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 82, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 83, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 84, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/await01-errors.yaml b/tests/fixtures/rules/indent/invalid/await01-errors.yaml new file mode 100644 index 000000000..60cad2517 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/await01-errors.yaml @@ -0,0 +1,280 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 58 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 59 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 60 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 61 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 62 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 64 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 65 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 66 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 67 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 68 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 69 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 70 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 71 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 72 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 73 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 75 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 76 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 77 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 78 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 79 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 80 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 81 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 82 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 83 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 84 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/const-tag01-errors.json b/tests/fixtures/rules/indent/invalid/const-tag01-errors.json deleted file mode 100644 index 9e82da825..000000000 --- a/tests/fixtures/rules/indent/invalid/const-tag01-errors.json +++ /dev/null @@ -1,47 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 16, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/const-tag01-errors.yaml b/tests/fixtures/rules/indent/invalid/const-tag01-errors.yaml new file mode 100644 index 000000000..8733a9069 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/const-tag01-errors.yaml @@ -0,0 +1,36 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/deubg-tag01-errors.json b/tests/fixtures/rules/indent/invalid/deubg-tag01-errors.json deleted file mode 100644 index 7687cd41b..000000000 --- a/tests/fixtures/rules/indent/invalid/deubg-tag01-errors.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/deubg-tag01-errors.yaml b/tests/fixtures/rules/indent/invalid/deubg-tag01-errors.yaml new file mode 100644 index 000000000..d1ce3cc22 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/deubg-tag01-errors.yaml @@ -0,0 +1,16 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/each01-errors.json b/tests/fixtures/rules/indent/invalid/each01-errors.json deleted file mode 100644 index e0fec9ae7..000000000 --- a/tests/fixtures/rules/indent/invalid/each01-errors.json +++ /dev/null @@ -1,292 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 58, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 59, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 60, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 61, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 62, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 63, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 64, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 65, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 66, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 67, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 68, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 69, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 70, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 71, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 72, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 73, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 74, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/each01-errors.yaml b/tests/fixtures/rules/indent/invalid/each01-errors.yaml new file mode 100644 index 000000000..34ef19164 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/each01-errors.yaml @@ -0,0 +1,232 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 58 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 59 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 60 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 61 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 62 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 63 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 64 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 65 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 66 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 67 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 68 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 69 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 70 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 71 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 72 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 73 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 74 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/html-text01-errors.json b/tests/fixtures/rules/indent/invalid/html-text01-errors.json deleted file mode 100644 index 4ee14d84b..000000000 --- a/tests/fixtures/rules/indent/invalid/html-text01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/html-text01-errors.yaml b/tests/fixtures/rules/indent/invalid/html-text01-errors.yaml new file mode 100644 index 000000000..e0bb2e2c5 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/html-text01-errors.yaml @@ -0,0 +1,8 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/html-text02-errors.json b/tests/fixtures/rules/indent/invalid/html-text02-errors.json deleted file mode 100644 index b0aeb1467..000000000 --- a/tests/fixtures/rules/indent/invalid/html-text02-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 5, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/html-text02-errors.yaml b/tests/fixtures/rules/indent/invalid/html-text02-errors.yaml new file mode 100644 index 000000000..46249a126 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/html-text02-errors.yaml @@ -0,0 +1,12 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/if01-errors.json b/tests/fixtures/rules/indent/invalid/if01-errors.json deleted file mode 100644 index cf29edf2a..000000000 --- a/tests/fixtures/rules/indent/invalid/if01-errors.json +++ /dev/null @@ -1,157 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 37, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/if01-errors.yaml b/tests/fixtures/rules/indent/invalid/if01-errors.yaml new file mode 100644 index 000000000..06d650b31 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/if01-errors.yaml @@ -0,0 +1,124 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/import-declaration01-errors.json b/tests/fixtures/rules/indent/invalid/import-declaration01-errors.json deleted file mode 100644 index 90e62c6de..000000000 --- a/tests/fixtures/rules/indent/invalid/import-declaration01-errors.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/import-declaration01-errors.yaml b/tests/fixtures/rules/indent/invalid/import-declaration01-errors.yaml new file mode 100644 index 000000000..8bb871f92 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/import-declaration01-errors.yaml @@ -0,0 +1,28 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/indent-script/indent-script-errors.json b/tests/fixtures/rules/indent/invalid/indent-script/indent-script-errors.json deleted file mode 100644 index 72988f411..000000000 --- a/tests/fixtures/rules/indent/invalid/indent-script/indent-script-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Expected indentation of 0 spaces but found 2 spaces.", - "line": 3, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/indent-script/indent-script-errors.yaml b/tests/fixtures/rules/indent/invalid/indent-script/indent-script-errors.yaml new file mode 100644 index 000000000..7ff62ef72 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/indent-script/indent-script-errors.yaml @@ -0,0 +1,4 @@ +- message: Expected indentation of 0 spaces but found 2 spaces. + line: 3 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/key01-errors.json b/tests/fixtures/rules/indent/invalid/key01-errors.json deleted file mode 100644 index 1a2fb0c58..000000000 --- a/tests/fixtures/rules/indent/invalid/key01-errors.json +++ /dev/null @@ -1,57 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 20, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/key01-errors.yaml b/tests/fixtures/rules/indent/invalid/key01-errors.yaml new file mode 100644 index 000000000..36ad6bf11 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/key01-errors.yaml @@ -0,0 +1,44 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-array01-errors.json b/tests/fixtures/rules/indent/invalid/script-array01-errors.json deleted file mode 100644 index 262722d45..000000000 --- a/tests/fixtures/rules/indent/invalid/script-array01-errors.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-array01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-array01-errors.yaml new file mode 100644 index 000000000..43d686a16 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-array01-errors.yaml @@ -0,0 +1,80 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-binary01-errors.json b/tests/fixtures/rules/indent/invalid/script-binary01-errors.json deleted file mode 100644 index fbcd79c56..000000000 --- a/tests/fixtures/rules/indent/invalid/script-binary01-errors.json +++ /dev/null @@ -1,212 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 45, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-binary01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-binary01-errors.yaml new file mode 100644 index 000000000..bd6347f2b --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-binary01-errors.yaml @@ -0,0 +1,168 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-block01-errors.json b/tests/fixtures/rules/indent/invalid/script-block01-errors.json deleted file mode 100644 index e22f405d1..000000000 --- a/tests/fixtures/rules/indent/invalid/script-block01-errors.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-block01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-block01-errors.yaml new file mode 100644 index 000000000..0fdf48b9f --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-block01-errors.yaml @@ -0,0 +1,20 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-break01-errors.json b/tests/fixtures/rules/indent/invalid/script-break01-errors.json deleted file mode 100644 index 24213363c..000000000 --- a/tests/fixtures/rules/indent/invalid/script-break01-errors.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 25, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-break01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-break01-errors.yaml new file mode 100644 index 000000000..d7ea3fa6f --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-break01-errors.yaml @@ -0,0 +1,92 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-call01-errors.json b/tests/fixtures/rules/indent/invalid/script-call01-errors.json deleted file mode 100644 index b1c8afd0b..000000000 --- a/tests/fixtures/rules/indent/invalid/script-call01-errors.json +++ /dev/null @@ -1,182 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 40, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-call01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-call01-errors.yaml new file mode 100644 index 000000000..23e0c77de --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-call01-errors.yaml @@ -0,0 +1,144 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-class01-errors.json b/tests/fixtures/rules/indent/invalid/script-class01-errors.json deleted file mode 100644 index 09b619051..000000000 --- a/tests/fixtures/rules/indent/invalid/script-class01-errors.json +++ /dev/null @@ -1,247 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 54, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-class01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-class01-errors.yaml new file mode 100644 index 000000000..4d6fb1c93 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-class01-errors.yaml @@ -0,0 +1,196 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-conditional01-errors.json b/tests/fixtures/rules/indent/invalid/script-conditional01-errors.json deleted file mode 100644 index 491ac8e8f..000000000 --- a/tests/fixtures/rules/indent/invalid/script-conditional01-errors.json +++ /dev/null @@ -1,242 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 52, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-conditional01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-conditional01-errors.yaml new file mode 100644 index 000000000..fd8c0a0b1 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-conditional01-errors.yaml @@ -0,0 +1,192 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-do-while01-errors.json b/tests/fixtures/rules/indent/invalid/script-do-while01-errors.json deleted file mode 100644 index 242c33bd3..000000000 --- a/tests/fixtures/rules/indent/invalid/script-do-while01-errors.json +++ /dev/null @@ -1,42 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-do-while01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-do-while01-errors.yaml new file mode 100644 index 000000000..470da8f6a --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-do-while01-errors.yaml @@ -0,0 +1,32 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-export01-errors.json b/tests/fixtures/rules/indent/invalid/script-export01-errors.json deleted file mode 100644 index 1874139c7..000000000 --- a/tests/fixtures/rules/indent/invalid/script-export01-errors.json +++ /dev/null @@ -1,232 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 48, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-export01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-export01-errors.yaml new file mode 100644 index 000000000..5e0f2146f --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-export01-errors.yaml @@ -0,0 +1,184 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-export02-errors.json b/tests/fixtures/rules/indent/invalid/script-export02-errors.json deleted file mode 100644 index 0f3b22238..000000000 --- a/tests/fixtures/rules/indent/invalid/script-export02-errors.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-export02-errors.yaml b/tests/fixtures/rules/indent/invalid/script-export02-errors.yaml new file mode 100644 index 000000000..9f10290bc --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-export02-errors.yaml @@ -0,0 +1,28 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-expr01-errors.json b/tests/fixtures/rules/indent/invalid/script-expr01-errors.json deleted file mode 100644 index 201466bcf..000000000 --- a/tests/fixtures/rules/indent/invalid/script-expr01-errors.json +++ /dev/null @@ -1,142 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 30, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-expr01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-expr01-errors.yaml new file mode 100644 index 000000000..021ea29a6 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-expr01-errors.yaml @@ -0,0 +1,112 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-for01-errors.json b/tests/fixtures/rules/indent/invalid/script-for01-errors.json deleted file mode 100644 index 25de9be98..000000000 --- a/tests/fixtures/rules/indent/invalid/script-for01-errors.json +++ /dev/null @@ -1,292 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 4 spaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 58, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 59, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 60, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-for01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-for01-errors.yaml new file mode 100644 index 000000000..d7712f425 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-for01-errors.yaml @@ -0,0 +1,232 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 4 spaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 58 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 59 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 60 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-function01-errors.json b/tests/fixtures/rules/indent/invalid/script-function01-errors.json deleted file mode 100644 index b75d3b06b..000000000 --- a/tests/fixtures/rules/indent/invalid/script-function01-errors.json +++ /dev/null @@ -1,232 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 51, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-function01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-function01-errors.yaml new file mode 100644 index 000000000..97d6028b6 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-function01-errors.yaml @@ -0,0 +1,184 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-if01-errors.json b/tests/fixtures/rules/indent/invalid/script-if01-errors.json deleted file mode 100644 index 1bdc9a417..000000000 --- a/tests/fixtures/rules/indent/invalid/script-if01-errors.json +++ /dev/null @@ -1,297 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 58, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 59, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 60, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 61, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 62, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 63, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 64, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 65, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-if01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-if01-errors.yaml new file mode 100644 index 000000000..cf1832d96 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-if01-errors.yaml @@ -0,0 +1,236 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 58 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 59 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 60 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 61 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 62 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 63 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 64 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 65 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-import01-errors.json b/tests/fixtures/rules/indent/invalid/script-import01-errors.json deleted file mode 100644 index ffa7635ed..000000000 --- a/tests/fixtures/rules/indent/invalid/script-import01-errors.json +++ /dev/null @@ -1,232 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 55, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-import01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-import01-errors.yaml new file mode 100644 index 000000000..38067efd9 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-import01-errors.yaml @@ -0,0 +1,184 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 55 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-import02-errors.json b/tests/fixtures/rules/indent/invalid/script-import02-errors.json deleted file mode 100644 index 4993a4ce2..000000000 --- a/tests/fixtures/rules/indent/invalid/script-import02-errors.json +++ /dev/null @@ -1,72 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-import02-errors.yaml b/tests/fixtures/rules/indent/invalid/script-import02-errors.yaml new file mode 100644 index 000000000..b73aad5e0 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-import02-errors.yaml @@ -0,0 +1,56 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-member01-errors.json b/tests/fixtures/rules/indent/invalid/script-member01-errors.json deleted file mode 100644 index cfb67563e..000000000 --- a/tests/fixtures/rules/indent/invalid/script-member01-errors.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 35, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-member01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-member01-errors.yaml new file mode 100644 index 000000000..e0295dbcf --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-member01-errors.yaml @@ -0,0 +1,120 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-methods01-errors.json b/tests/fixtures/rules/indent/invalid/script-methods01-errors.json deleted file mode 100644 index a659945f7..000000000 --- a/tests/fixtures/rules/indent/invalid/script-methods01-errors.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 24, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-methods01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-methods01-errors.yaml new file mode 100644 index 000000000..70d0a3a62 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-methods01-errors.yaml @@ -0,0 +1,80 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-prop01-errors.json b/tests/fixtures/rules/indent/invalid/script-prop01-errors.json deleted file mode 100644 index c9ba029be..000000000 --- a/tests/fixtures/rules/indent/invalid/script-prop01-errors.json +++ /dev/null @@ -1,142 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-prop01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-prop01-errors.yaml new file mode 100644 index 000000000..5ba734b9f --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-prop01-errors.yaml @@ -0,0 +1,112 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-switch01-errors.json b/tests/fixtures/rules/indent/invalid/script-switch01-errors.json deleted file mode 100644 index 07830f382..000000000 --- a/tests/fixtures/rules/indent/invalid/script-switch01-errors.json +++ /dev/null @@ -1,107 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 23, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-switch01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-switch01-errors.yaml new file mode 100644 index 000000000..6a067fd3f --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-switch01-errors.yaml @@ -0,0 +1,84 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-try01-errors.json b/tests/fixtures/rules/indent/invalid/script-try01-errors.json deleted file mode 100644 index a824a409e..000000000 --- a/tests/fixtures/rules/indent/invalid/script-try01-errors.json +++ /dev/null @@ -1,197 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 42, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-try01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-try01-errors.yaml new file mode 100644 index 000000000..68f825a65 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-try01-errors.yaml @@ -0,0 +1,156 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-unary01-errors.json b/tests/fixtures/rules/indent/invalid/script-unary01-errors.json deleted file mode 100644 index 2b9548b33..000000000 --- a/tests/fixtures/rules/indent/invalid/script-unary01-errors.json +++ /dev/null @@ -1,132 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 28, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-unary01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-unary01-errors.yaml new file mode 100644 index 000000000..017d14f0d --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-unary01-errors.yaml @@ -0,0 +1,104 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/script-yield-expression01-errors.json b/tests/fixtures/rules/indent/invalid/script-yield-expression01-errors.json deleted file mode 100644 index f0097feda..000000000 --- a/tests/fixtures/rules/indent/invalid/script-yield-expression01-errors.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/script-yield-expression01-errors.yaml b/tests/fixtures/rules/indent/invalid/script-yield-expression01-errors.yaml new file mode 100644 index 000000000..5e04fb266 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/script-yield-expression01-errors.yaml @@ -0,0 +1,16 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/style-directive01-errors.json b/tests/fixtures/rules/indent/invalid/style-directive01-errors.json deleted file mode 100644 index 54003dbfd..000000000 --- a/tests/fixtures/rules/indent/invalid/style-directive01-errors.json +++ /dev/null @@ -1,107 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 44, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/style-directive01-errors.yaml b/tests/fixtures/rules/indent/invalid/style-directive01-errors.yaml new file mode 100644 index 000000000..30852e3aa --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/style-directive01-errors.yaml @@ -0,0 +1,84 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-errors.json b/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-errors.json deleted file mode 100644 index 67dbd46ee..000000000 --- a/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-errors.json +++ /dev/null @@ -1,107 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 23, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-errors.yaml b/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-errors.yaml new file mode 100644 index 000000000..cbd60a7c6 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/switch-case/script-switch01-errors.yaml @@ -0,0 +1,84 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/tab-indent/test01-errors.json b/tests/fixtures/rules/indent/invalid/tab-indent/test01-errors.json deleted file mode 100644 index 83361130d..000000000 --- a/tests/fixtures/rules/indent/invalid/tab-indent/test01-errors.json +++ /dev/null @@ -1,367 +0,0 @@ -[ - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 0 tabs.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 0 tabs.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 0 tabs.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 0 tabs.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 0 tabs.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 0 tabs.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 0 tabs.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 0 tabs.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 0 tabs.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 0 tabs.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 6 tabs but found 0 tabs.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 6 tabs but found 0 tabs.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 0 tabs.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 0 tabs.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 0 tabs.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 6 tabs but found 0 tabs.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 0 tabs.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 0 tabs.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 0 tabs.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 58, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 0 tabs.", - "line": 59, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 0 tabs.", - "line": 60, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 0 tabs.", - "line": 61, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 62, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 63, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 0 tabs.", - "line": 64, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 65, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 66, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 0 tabs.", - "line": 67, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 68, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 69, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 0 tabs.", - "line": 70, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 71, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 0 tabs.", - "line": 72, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 73, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 0 tabs.", - "line": 74, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 0 tabs.", - "line": 75, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 0 tabs.", - "line": 76, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 0 tabs.", - "line": 77, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 0 tabs.", - "line": 78, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 79, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 80, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 81, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 0 tabs.", - "line": 82, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 83, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 84, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 0 tabs.", - "line": 85, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/tab-indent/test01-errors.yaml b/tests/fixtures/rules/indent/invalid/tab-indent/test01-errors.yaml new file mode 100644 index 000000000..201e7a22a --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/tab-indent/test01-errors.yaml @@ -0,0 +1,292 @@ +- message: Expected indentation of 1 tab but found 0 tabs. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 0 tabs. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 0 tabs. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 0 tabs. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 0 tabs. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 0 tabs. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 0 tabs. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 0 tabs. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 0 tabs. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 0 tabs. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 0 tabs. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 6 tabs but found 0 tabs. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 6 tabs but found 0 tabs. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 0 tabs. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 0 tabs. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 0 tabs. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 6 tabs but found 0 tabs. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 0 tabs. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 0 tabs. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 0 tabs. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 58 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 0 tabs. + line: 59 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 0 tabs. + line: 60 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 0 tabs. + line: 61 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 62 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 63 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 0 tabs. + line: 64 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 65 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 66 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 0 tabs. + line: 67 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 68 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 69 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 0 tabs. + line: 70 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 71 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 0 tabs. + line: 72 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 73 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 0 tabs. + line: 74 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 0 tabs. + line: 75 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 0 tabs. + line: 76 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 0 tabs. + line: 77 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 0 tabs. + line: 78 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 79 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 80 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 81 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 0 tabs. + line: 82 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 83 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 84 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 0 tabs. + line: 85 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/tab-indent/test02-errors.json b/tests/fixtures/rules/indent/invalid/tab-indent/test02-errors.json deleted file mode 100644 index 7853b26e0..000000000 --- a/tests/fixtures/rules/indent/invalid/tab-indent/test02-errors.json +++ /dev/null @@ -1,367 +0,0 @@ -[ - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 8 whitespaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 8 whitespaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 8 whitespaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 8 whitespaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 12 whitespaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 8 whitespaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 12 whitespaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 20 whitespaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 20 whitespaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 20 whitespaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 6 tabs but found 24 whitespaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 6 tabs but found 24 whitespaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 20 whitespaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 20 whitespaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 20 whitespaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 6 tabs but found 24 whitespaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 20 whitespaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 20 whitespaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 20 whitespaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 58, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 12 whitespaces.", - "line": 59, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 12 whitespaces.", - "line": 60, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 12 whitespaces.", - "line": 61, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 62, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 63, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 20 whitespaces.", - "line": 64, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 65, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 66, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 20 whitespaces.", - "line": 67, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 68, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 69, - "column": 1 - }, - { - "message": "Expected indentation of 5 tabs but found 20 whitespaces.", - "line": 70, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 71, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 12 whitespaces.", - "line": 72, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 73, - "column": 1 - }, - { - "message": "Expected indentation of 4 tabs but found 16 whitespaces.", - "line": 74, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 12 whitespaces.", - "line": 75, - "column": 1 - }, - { - "message": "Expected indentation of 3 tabs but found 12 whitespaces.", - "line": 76, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 8 whitespaces.", - "line": 77, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 8 whitespaces.", - "line": 78, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 79, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 80, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 81, - "column": 1 - }, - { - "message": "Expected indentation of 2 tabs but found 8 whitespaces.", - "line": 82, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 83, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 84, - "column": 1 - }, - { - "message": "Expected indentation of 1 tab but found 4 whitespaces.", - "line": 85, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/tab-indent/test02-errors.yaml b/tests/fixtures/rules/indent/invalid/tab-indent/test02-errors.yaml new file mode 100644 index 000000000..4a0b950b0 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/tab-indent/test02-errors.yaml @@ -0,0 +1,292 @@ +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 8 whitespaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 8 whitespaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 8 whitespaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 8 whitespaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 12 whitespaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 8 whitespaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 12 whitespaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 20 whitespaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 20 whitespaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 20 whitespaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 6 tabs but found 24 whitespaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 6 tabs but found 24 whitespaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 20 whitespaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 20 whitespaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 20 whitespaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 6 tabs but found 24 whitespaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 20 whitespaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 20 whitespaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 20 whitespaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 58 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 12 whitespaces. + line: 59 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 12 whitespaces. + line: 60 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 12 whitespaces. + line: 61 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 62 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 63 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 20 whitespaces. + line: 64 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 65 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 66 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 20 whitespaces. + line: 67 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 68 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 69 + column: 1 + suggestions: null +- message: Expected indentation of 5 tabs but found 20 whitespaces. + line: 70 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 71 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 12 whitespaces. + line: 72 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 73 + column: 1 + suggestions: null +- message: Expected indentation of 4 tabs but found 16 whitespaces. + line: 74 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 12 whitespaces. + line: 75 + column: 1 + suggestions: null +- message: Expected indentation of 3 tabs but found 12 whitespaces. + line: 76 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 8 whitespaces. + line: 77 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 8 whitespaces. + line: 78 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 79 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 80 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 81 + column: 1 + suggestions: null +- message: Expected indentation of 2 tabs but found 8 whitespaces. + line: 82 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 83 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 84 + column: 1 + suggestions: null +- message: Expected indentation of 1 tab but found 4 whitespaces. + line: 85 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/test01-errors.json b/tests/fixtures/rules/indent/invalid/test01-errors.json deleted file mode 100644 index fb7176c7e..000000000 --- a/tests/fixtures/rules/indent/invalid/test01-errors.json +++ /dev/null @@ -1,367 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 58, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 59, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 60, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 61, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 62, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 63, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 64, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 65, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 66, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 67, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 68, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 69, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 70, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 71, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 72, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 73, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 74, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 75, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 76, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 77, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 78, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 79, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 80, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 81, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 82, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 83, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 84, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 85, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/test01-errors.yaml b/tests/fixtures/rules/indent/invalid/test01-errors.yaml new file mode 100644 index 000000000..c3703b29d --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/test01-errors.yaml @@ -0,0 +1,292 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 58 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 59 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 60 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 61 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 62 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 63 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 64 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 65 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 66 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 67 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 68 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 69 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 70 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 71 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 72 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 73 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 74 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 75 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 76 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 77 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 78 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 79 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 80 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 81 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 82 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 83 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 84 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 85 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-errors.json b/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-errors.json deleted file mode 100644 index 3e2788d86..000000000 --- a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-errors.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-errors.yaml new file mode 100644 index 000000000..363399d7c --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion01-errors.yaml @@ -0,0 +1,24 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-errors.json b/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-errors.json deleted file mode 100644 index 29b7b15b3..000000000 --- a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-errors.json +++ /dev/null @@ -1,62 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 14, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-errors.yaml b/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-errors.yaml new file mode 100644 index 000000000..063322b9e --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion02-errors.yaml @@ -0,0 +1,48 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-errors.json b/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-errors.json deleted file mode 100644 index 8d72423f4..000000000 --- a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-errors.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-errors.yaml b/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-errors.yaml new file mode 100644 index 000000000..f6af5dd96 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion03-errors.yaml @@ -0,0 +1,28 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-errors.json b/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-errors.json deleted file mode 100644 index 8d72423f4..000000000 --- a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-errors.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-errors.yaml b/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-errors.yaml new file mode 100644 index 000000000..f6af5dd96 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts-v5/ts-import-assertion04-errors.yaml @@ -0,0 +1,28 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-class01-errors.json deleted file mode 100644 index 05e3df5d5..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-class01-errors.json +++ /dev/null @@ -1,277 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 58, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 59, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-class01-errors.yaml new file mode 100644 index 000000000..4de1dbd5f --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-class01-errors.yaml @@ -0,0 +1,220 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 58 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 59 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class02-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-class02-errors.json deleted file mode 100644 index e40f468b6..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-class02-errors.json +++ /dev/null @@ -1,167 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 35, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class02-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-class02-errors.yaml new file mode 100644 index 000000000..d7fbfa232 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-class02-errors.yaml @@ -0,0 +1,132 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class03-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-class03-errors.json deleted file mode 100644 index 97a18ec4b..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-class03-errors.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-class03-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-class03-errors.yaml new file mode 100644 index 000000000..a074f5ff5 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-class03-errors.yaml @@ -0,0 +1,20 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-errors.json deleted file mode 100644 index 06f396c38..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-errors.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 9, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-errors.yaml new file mode 100644 index 000000000..d801c3614 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-conditional-type01-errors.yaml @@ -0,0 +1,28 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-errors.json deleted file mode 100644 index 10f6a94dd..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-errors.json +++ /dev/null @@ -1,3072 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 59, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 61, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 65, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 66, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 67, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 68, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 69, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 70, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 71, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 72, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 73, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 74, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 75, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 76, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 77, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 78, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 79, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 80, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 81, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 82, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 83, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 84, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 85, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 86, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 90, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 91, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 92, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 93, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 97, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 98, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 99, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 100, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 101, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 103, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 105, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 107, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 109, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 111, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 115, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 116, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 117, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 118, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 119, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 14 spaces.", - "line": 120, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 14 spaces.", - "line": 121, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 14 spaces.", - "line": 122, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 10 spaces.", - "line": 123, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 124, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 14 spaces.", - "line": 125, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 14 spaces.", - "line": 126, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 14 spaces.", - "line": 127, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 10 spaces.", - "line": 128, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 129, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 130, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 133, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 135, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 137, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 202, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 205, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 206, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 214, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 216, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 218, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 219, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 220, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 221, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 222, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 228, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 232, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 233, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 234, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 235, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 236, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 237, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 238, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 239, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 240, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 241, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 242, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 243, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 244, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 245, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 246, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 247, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 248, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 249, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 250, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 251, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 252, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 253, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 254, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 255, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 256, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 257, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 258, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 259, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 260, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 264, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 265, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 266, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 267, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 268, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 269, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 270, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 271, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 272, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 273, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 274, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 275, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 276, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 277, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 278, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 279, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 280, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 281, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 282, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 283, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 284, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 285, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 286, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 287, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 288, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 289, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 290, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 291, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 292, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 296, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 297, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 298, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 299, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 300, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 301, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 302, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 303, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 304, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 305, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 306, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 307, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 308, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 309, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 310, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 311, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 312, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 313, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 314, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 315, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 316, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 317, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 318, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 319, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 320, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 321, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 322, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 323, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 324, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 328, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 329, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 330, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 331, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 332, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 333, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 334, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 335, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 336, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 337, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 338, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 339, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 340, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 341, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 342, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 343, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 344, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 345, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 346, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 347, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 348, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 349, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 350, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 351, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 352, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 353, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 354, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 355, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 356, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 360, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 361, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 362, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 363, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 364, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 365, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 366, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 367, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 368, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 369, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 370, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 371, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 372, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 373, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 374, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 375, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 376, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 377, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 378, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 379, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 380, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 381, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 382, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 383, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 384, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 385, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 386, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 387, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 388, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 389, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 390, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 391, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 392, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 396, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 397, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 398, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 399, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 400, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 401, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 402, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 403, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 404, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 405, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 406, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 407, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 408, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 409, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 410, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 411, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 412, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 413, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 414, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 415, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 416, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 417, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 418, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 419, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 420, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 421, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 422, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 423, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 424, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 425, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 16 spaces.", - "line": 426, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 427, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 428, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 430, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 432, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 434, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 436, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 437, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 442, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 443, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 444, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 445, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 446, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 447, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 448, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 449, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 450, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 451, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 452, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 453, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 454, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 455, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 456, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 457, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 458, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 459, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 460, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 461, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 462, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 463, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 464, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 465, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 466, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 467, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 468, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 469, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 470, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 471, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 472, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 473, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 474, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 475, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 476, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 477, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 478, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 479, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 480, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 481, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 482, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 483, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 484, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 485, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 486, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 487, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 488, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 489, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 490, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 491, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 492, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 493, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 494, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 495, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 496, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 497, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 498, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 499, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 500, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 501, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 502, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 503, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 504, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 505, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 506, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 507, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 508, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 509, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 513, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 518, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 520, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 522, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 524, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 526, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 528, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 529, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 530, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 531, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 532, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 533, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 534, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 538, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 539, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 540, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 541, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 542, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 543, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 544, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 545, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 549, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 550, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 551, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 552, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 556, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 557, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 558, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 559, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 560, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 561, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 562, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 563, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 564, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 565, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 566, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 567, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 568, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 569, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 570, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 571, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 572, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 576, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 577, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 578, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 579, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 580, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 581, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 583, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 585, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 587, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 589, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 591, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 593, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 595, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 597, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 601, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 603, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 610, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 616, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 617, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 620, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 622, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 624, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 626, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 628, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 630, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 632, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 634, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 638, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 639, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 641, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 643, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 645, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 667, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 669, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 678, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 682, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 686, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 687, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 688, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 689, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 690, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 691, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 692, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 693, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 694, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 695, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 696, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 697, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 701, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 702, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 707, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 708, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 712, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 713, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 714, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 715, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 716, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 717, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 718, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 719, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 720, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 721, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 725, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 726, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 727, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 728, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 729, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 730, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 731, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 735, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 736, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 737, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 741, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 742, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 743, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 744, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 745, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 746, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 747, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 748, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 749, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 750, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 751, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 752, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 753, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 754, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 758, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 762, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 763, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 764, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 768, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 14 spaces.", - "line": 769, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 10 spaces.", - "line": 770, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 771, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 14 spaces.", - "line": 772, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 10 spaces.", - "line": 773, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 776, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 777, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 778, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 779, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 783, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 784, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 789, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 790, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 791, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 793, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 795, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 799, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 817, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 819, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 821, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 822, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 823, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 824, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 825, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 826, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 827, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 829, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 830, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 831, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 832, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 833, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 834, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 835, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 836, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 837, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 838, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 840, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 841, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 842, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 844, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 845, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 846, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 847, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 851, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 852, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 853, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 854, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 855, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 856, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 857, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 858, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 859, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 863, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 864, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 865, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 869, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 870, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 874, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 879, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 881, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 886, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 912, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 914, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 915, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 917, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 918, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 919, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 920, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 921, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 922, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 923, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 924, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 925, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 926, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 927, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 928, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 929, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 930, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 931, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 932, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 933, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 934, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 935, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 936, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 937, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 938, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 939, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 940, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 941, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 942, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 950, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 951, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 952, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 953, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 954, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 955, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 961, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 963, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 967, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 971, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 972, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 973, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 974, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 12 spaces.", - "line": 975, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 976, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 978, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 980, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 982, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 983, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 984, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 985, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 986, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 987, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 988, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 992, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 993, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 994, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 995, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 999, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 1000, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 1004, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 1005, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 1006, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 1007, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 1008, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 1009, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 1010, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 1011, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 8 spaces.", - "line": 1012, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 1014, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-errors.yaml new file mode 100644 index 000000000..ad1110106 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-d-ts-eslint-errors.yaml @@ -0,0 +1,2456 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 59 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 61 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 65 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 66 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 67 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 68 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 69 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 70 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 71 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 72 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 73 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 74 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 75 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 76 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 77 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 78 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 79 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 80 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 81 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 82 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 83 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 84 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 85 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 86 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 90 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 91 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 92 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 93 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 97 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 98 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 99 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 100 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 101 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 103 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 105 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 107 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 109 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 111 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 115 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 116 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 117 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 118 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 119 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 14 spaces. + line: 120 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 14 spaces. + line: 121 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 14 spaces. + line: 122 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 10 spaces. + line: 123 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 124 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 14 spaces. + line: 125 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 14 spaces. + line: 126 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 14 spaces. + line: 127 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 10 spaces. + line: 128 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 129 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 130 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 133 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 135 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 137 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 202 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 205 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 206 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 214 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 216 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 218 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 219 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 220 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 221 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 222 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 228 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 232 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 233 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 234 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 235 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 236 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 237 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 238 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 239 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 240 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 241 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 242 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 243 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 244 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 245 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 246 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 247 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 248 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 249 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 250 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 251 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 252 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 253 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 254 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 255 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 256 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 257 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 258 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 259 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 260 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 264 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 265 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 266 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 267 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 268 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 269 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 270 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 271 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 272 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 273 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 274 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 275 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 276 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 277 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 278 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 279 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 280 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 281 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 282 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 283 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 284 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 285 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 286 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 287 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 288 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 289 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 290 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 291 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 292 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 296 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 297 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 298 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 299 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 300 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 301 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 302 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 303 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 304 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 305 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 306 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 307 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 308 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 309 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 310 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 311 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 312 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 313 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 314 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 315 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 316 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 317 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 318 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 319 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 320 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 321 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 322 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 323 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 324 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 328 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 329 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 330 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 331 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 332 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 333 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 334 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 335 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 336 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 337 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 338 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 339 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 340 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 341 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 342 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 343 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 344 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 345 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 346 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 347 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 348 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 349 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 350 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 351 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 352 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 353 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 354 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 355 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 356 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 360 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 361 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 362 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 363 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 364 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 365 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 366 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 367 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 368 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 369 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 370 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 371 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 372 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 373 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 374 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 375 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 376 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 377 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 378 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 379 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 380 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 381 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 382 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 383 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 384 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 385 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 386 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 387 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 388 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 389 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 390 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 391 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 392 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 396 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 397 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 398 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 399 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 400 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 401 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 402 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 403 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 404 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 405 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 406 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 407 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 408 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 409 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 410 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 411 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 412 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 413 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 414 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 415 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 416 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 417 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 418 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 419 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 420 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 421 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 422 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 423 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 424 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 425 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 16 spaces. + line: 426 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 427 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 428 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 430 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 432 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 434 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 436 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 437 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 442 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 443 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 444 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 445 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 446 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 447 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 448 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 449 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 450 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 451 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 452 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 453 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 454 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 455 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 456 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 457 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 458 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 459 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 460 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 461 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 462 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 463 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 464 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 465 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 466 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 467 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 468 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 469 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 470 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 471 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 472 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 473 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 474 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 475 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 476 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 477 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 478 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 479 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 480 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 481 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 482 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 483 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 484 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 485 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 486 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 487 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 488 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 489 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 490 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 491 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 492 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 493 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 494 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 495 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 496 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 497 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 498 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 499 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 500 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 501 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 502 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 503 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 504 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 505 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 506 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 507 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 508 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 509 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 513 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 518 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 520 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 522 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 524 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 526 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 528 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 529 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 530 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 531 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 532 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 533 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 534 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 538 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 539 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 540 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 541 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 542 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 543 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 544 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 545 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 549 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 550 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 551 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 552 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 556 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 557 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 558 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 559 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 560 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 561 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 562 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 563 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 564 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 565 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 566 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 567 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 568 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 569 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 570 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 571 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 572 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 576 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 577 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 578 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 579 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 580 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 581 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 583 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 585 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 587 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 589 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 591 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 593 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 595 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 597 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 601 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 603 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 610 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 616 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 617 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 620 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 622 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 624 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 626 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 628 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 630 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 632 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 634 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 638 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 639 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 641 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 643 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 645 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 667 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 669 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 678 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 682 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 686 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 687 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 688 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 689 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 690 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 691 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 692 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 693 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 694 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 695 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 696 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 697 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 701 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 702 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 707 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 708 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 712 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 713 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 714 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 715 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 716 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 717 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 718 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 719 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 720 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 721 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 725 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 726 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 727 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 728 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 729 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 730 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 731 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 735 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 736 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 737 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 741 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 742 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 743 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 744 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 745 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 746 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 747 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 748 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 749 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 750 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 751 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 752 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 753 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 754 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 758 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 762 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 763 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 764 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 768 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 14 spaces. + line: 769 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 10 spaces. + line: 770 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 771 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 14 spaces. + line: 772 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 10 spaces. + line: 773 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 776 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 777 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 778 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 779 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 783 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 784 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 789 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 790 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 791 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 793 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 795 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 799 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 817 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 819 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 821 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 822 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 823 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 824 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 825 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 826 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 827 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 829 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 830 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 831 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 832 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 833 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 834 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 835 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 836 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 837 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 838 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 840 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 841 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 842 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 844 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 845 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 846 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 847 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 851 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 852 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 853 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 854 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 855 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 856 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 857 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 858 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 859 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 863 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 864 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 865 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 869 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 870 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 874 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 879 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 881 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 886 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 912 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 914 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 915 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 917 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 918 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 919 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 920 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 921 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 922 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 923 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 924 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 925 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 926 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 927 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 928 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 929 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 930 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 931 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 932 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 933 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 934 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 935 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 936 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 937 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 938 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 939 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 940 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 941 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 942 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 950 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 951 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 952 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 953 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 954 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 955 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 961 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 963 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 967 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 971 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 972 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 973 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 974 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 12 spaces. + line: 975 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 976 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 978 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 980 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 982 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 983 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 984 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 985 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 986 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 987 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 988 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 992 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 993 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 994 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 995 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 999 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 1000 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 1004 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 1005 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 1006 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 1007 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 1008 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 1009 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 1010 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 1011 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 8 spaces. + line: 1012 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 1014 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-errors.json deleted file mode 100644 index 28a3e1047..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-errors.json +++ /dev/null @@ -1,952 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 58, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 59, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 60, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 61, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 62, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 63, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 64, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 65, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 66, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 67, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 68, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 70, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 71, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 72, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 73, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 74, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 75, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 76, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 77, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 78, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 79, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 80, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 81, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 82, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 83, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 84, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 85, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 86, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 88, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 89, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 90, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 91, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 92, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 93, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 94, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 96, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 97, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 98, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 99, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 100, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 101, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 102, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 103, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 104, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 105, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 106, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 107, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 109, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 110, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 111, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 112, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 113, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 114, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 115, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 116, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 117, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 118, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 119, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 120, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 121, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 123, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 124, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 125, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 126, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 127, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 128, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 129, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 130, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 131, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 132, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 133, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 134, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 135, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 136, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 137, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 138, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 139, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 140, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 142, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 143, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 144, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 146, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 147, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 148, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 150, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 151, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 152, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 153, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 154, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 155, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 156, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 157, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 158, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 159, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 160, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 161, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 162, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 163, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 164, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 165, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 166, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 168, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 169, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 170, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 171, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 172, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 173, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 174, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 175, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 176, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 177, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 178, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 179, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 180, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 181, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 182, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 183, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 184, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 185, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 186, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 187, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 188, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 189, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 190, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 191, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 192, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 193, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 194, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 195, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 196, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 197, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 198, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 199, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 200, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 201, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 202, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 203, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 204, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-errors.yaml new file mode 100644 index 000000000..11ebadf4a --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-decorator01-errors.yaml @@ -0,0 +1,760 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 58 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 59 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 60 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 61 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 62 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 63 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 64 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 65 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 66 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 67 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 68 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 70 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 71 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 72 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 73 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 74 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 75 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 76 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 77 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 78 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 79 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 80 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 81 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 82 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 83 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 84 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 85 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 86 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 88 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 89 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 90 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 91 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 92 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 93 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 94 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 96 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 97 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 98 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 99 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 100 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 101 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 102 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 103 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 104 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 105 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 106 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 107 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 109 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 110 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 111 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 112 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 113 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 114 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 115 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 116 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 117 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 118 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 119 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 120 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 121 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 123 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 124 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 125 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 126 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 127 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 128 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 129 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 130 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 131 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 132 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 133 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 134 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 135 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 136 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 137 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 138 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 139 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 140 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 142 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 143 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 144 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 146 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 147 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 148 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 150 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 151 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 152 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 153 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 154 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 155 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 156 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 157 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 158 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 159 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 160 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 161 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 162 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 163 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 164 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 165 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 166 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 168 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 169 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 170 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 171 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 172 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 173 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 174 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 175 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 176 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 177 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 178 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 179 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 180 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 181 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 182 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 183 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 184 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 185 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 186 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 187 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 188 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 189 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 190 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 191 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 192 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 193 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 194 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 195 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 196 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 197 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 198 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 199 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 200 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 201 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 202 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 203 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 204 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-errors.json deleted file mode 100644 index fcf82eb90..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-errors.json +++ /dev/null @@ -1,57 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-errors.yaml new file mode 100644 index 000000000..d2eb7bbd7 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-decorator02-errors.yaml @@ -0,0 +1,44 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-enum01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-enum01-errors.json deleted file mode 100644 index 46d84daab..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-enum01-errors.json +++ /dev/null @@ -1,107 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 24, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-enum01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-enum01-errors.yaml new file mode 100644 index 000000000..195769f13 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-enum01-errors.yaml @@ -0,0 +1,84 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-function01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-function01-errors.json deleted file mode 100644 index a6aa81117..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-function01-errors.json +++ /dev/null @@ -1,182 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 40, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-function01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-function01-errors.yaml new file mode 100644 index 000000000..bbfe1720d --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-function01-errors.yaml @@ -0,0 +1,144 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.json deleted file mode 100644 index 5ccb31a61..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.json +++ /dev/null @@ -1,67 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.yaml new file mode 100644 index 000000000..165c7e4b3 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-function02-errors.yaml @@ -0,0 +1,52 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-import-export01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-import-export01-errors.json deleted file mode 100644 index 9492154af..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-import-export01-errors.json +++ /dev/null @@ -1,82 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 20, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-import-export01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-import-export01-errors.yaml new file mode 100644 index 000000000..c254589f2 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-import-export01-errors.yaml @@ -0,0 +1,64 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-interface01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-interface01-errors.json deleted file mode 100644 index e285112fc..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-interface01-errors.json +++ /dev/null @@ -1,277 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 58, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-interface01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-interface01-errors.yaml new file mode 100644 index 000000000..a1068f8e6 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-interface01-errors.yaml @@ -0,0 +1,220 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 58 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-interface02-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-interface02-errors.json deleted file mode 100644 index 69f14e820..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-interface02-errors.json +++ /dev/null @@ -1,247 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 54, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-interface02-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-interface02-errors.yaml new file mode 100644 index 000000000..1e7bc66b1 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-interface02-errors.yaml @@ -0,0 +1,196 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-interface03-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-interface03-errors.json deleted file mode 100644 index 92fb4cdeb..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-interface03-errors.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-interface03-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-interface03-errors.yaml new file mode 100644 index 000000000..dff1fef67 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-interface03-errors.yaml @@ -0,0 +1,20 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-static-block01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-static-block01-errors.json deleted file mode 100644 index 0a32eea60..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-static-block01-errors.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-static-block01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-static-block01-errors.yaml new file mode 100644 index 000000000..87ce3c63b --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-static-block01-errors.yaml @@ -0,0 +1,28 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-template-literal-type01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-template-literal-type01-errors.json deleted file mode 100644 index e703a0601..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-template-literal-type01-errors.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 39, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-template-literal-type01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-template-literal-type01-errors.yaml new file mode 100644 index 000000000..7c5f9adb7 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-template-literal-type01-errors.yaml @@ -0,0 +1,148 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation01-errors.json deleted file mode 100644 index d30558277..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation01-errors.json +++ /dev/null @@ -1,132 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation01-errors.yaml new file mode 100644 index 000000000..3c2c5f568 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation01-errors.yaml @@ -0,0 +1,104 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation02-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation02-errors.json deleted file mode 100644 index 48b8adc85..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation02-errors.json +++ /dev/null @@ -1,177 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 40, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation02-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation02-errors.yaml new file mode 100644 index 000000000..d1f3be513 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation02-errors.yaml @@ -0,0 +1,140 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation03-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation03-errors.json deleted file mode 100644 index b4fdf24b6..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation03-errors.json +++ /dev/null @@ -1,207 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 47, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation03-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation03-errors.yaml new file mode 100644 index 000000000..3b1959df5 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-type-annotation03-errors.yaml @@ -0,0 +1,164 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export01-errors.json deleted file mode 100644 index 1a862833b..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export01-errors.json +++ /dev/null @@ -1,72 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export01-errors.yaml new file mode 100644 index 000000000..02c301eb0 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export01-errors.yaml @@ -0,0 +1,56 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export02-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export02-errors.json deleted file mode 100644 index 560dd8871..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export02-errors.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 22, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export02-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export02-errors.yaml new file mode 100644 index 000000000..2acdcedc4 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export02-errors.yaml @@ -0,0 +1,80 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export03-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export03-errors.json deleted file mode 100644 index 87e801efe..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export03-errors.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 25, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export03-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export03-errors.yaml new file mode 100644 index 000000000..c6506d8b4 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-type-only-import-export03-errors.yaml @@ -0,0 +1,92 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-types01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-types01-errors.json deleted file mode 100644 index 5a5edffea..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-types01-errors.json +++ /dev/null @@ -1,357 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 14 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 58, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 59, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 60, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 61, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 62, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 63, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 64, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 65, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 66, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 67, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 68, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 69, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 70, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 71, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 72, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 73, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 74, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-types01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-types01-errors.yaml new file mode 100644 index 000000000..aa94ba840 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-types01-errors.yaml @@ -0,0 +1,284 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 14 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 58 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 59 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 60 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 61 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 62 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 63 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 64 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 65 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 66 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 67 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 68 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 69 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 70 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 71 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 72 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 73 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 74 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-types02-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-types02-errors.json deleted file mode 100644 index 9b3111be0..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-types02-errors.json +++ /dev/null @@ -1,337 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 8, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 53, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 54, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 55, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 56, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 57, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 58, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 59, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 60, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 61, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 62, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 63, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 64, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 65, - "column": 1 - }, - { - "message": "Expected indentation of 12 spaces but found 0 spaces.", - "line": 66, - "column": 1 - }, - { - "message": "Expected indentation of 14 spaces but found 0 spaces.", - "line": 67, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 68, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 69, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 70, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 71, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 72, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 73, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-types02-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-types02-errors.yaml new file mode 100644 index 000000000..6cb5859c0 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-types02-errors.yaml @@ -0,0 +1,268 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 8 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 54 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 55 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 56 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 57 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 58 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 59 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 60 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 61 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 62 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 63 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 64 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 65 + column: 1 + suggestions: null +- message: Expected indentation of 12 spaces but found 0 spaces. + line: 66 + column: 1 + suggestions: null +- message: Expected indentation of 14 spaces but found 0 spaces. + line: 67 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 68 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 69 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 70 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 71 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 72 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 73 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-types03-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-types03-errors.json deleted file mode 100644 index 58c1e1f15..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-types03-errors.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 8 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 35, - "column": 1 - }, - { - "message": "Expected indentation of 10 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-types03-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-types03-errors.yaml new file mode 100644 index 000000000..e68882ecf --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-types03-errors.yaml @@ -0,0 +1,128 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 8 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 35 + column: 1 + suggestions: null +- message: Expected indentation of 10 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-union01-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-union01-errors.json deleted file mode 100644 index 6009da092..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-union01-errors.json +++ /dev/null @@ -1,242 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 7, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 53, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-union01-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-union01-errors.yaml new file mode 100644 index 000000000..81502b5c8 --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-union01-errors.yaml @@ -0,0 +1,192 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 7 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-union02-errors.json b/tests/fixtures/rules/indent/invalid/ts/ts-union02-errors.json deleted file mode 100644 index 1607e6ba6..000000000 --- a/tests/fixtures/rules/indent/invalid/ts/ts-union02-errors.json +++ /dev/null @@ -1,242 +0,0 @@ -[ - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 3, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 4, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 5, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 6, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 9, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 10, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 11, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 12, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 13, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 14, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 15, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 16, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 17, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 18, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 19, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 20, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 21, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 22, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 23, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 24, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 25, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 26, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 27, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 28, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 29, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 30, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 31, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 32, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 33, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 34, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 36, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 37, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 38, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 39, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 40, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 41, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 42, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 43, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 44, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 45, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 46, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 47, - "column": 1 - }, - { - "message": "Expected indentation of 2 spaces but found 0 spaces.", - "line": 48, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 49, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 50, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 51, - "column": 1 - }, - { - "message": "Expected indentation of 6 spaces but found 0 spaces.", - "line": 52, - "column": 1 - }, - { - "message": "Expected indentation of 4 spaces but found 0 spaces.", - "line": 53, - "column": 1 - } -] diff --git a/tests/fixtures/rules/indent/invalid/ts/ts-union02-errors.yaml b/tests/fixtures/rules/indent/invalid/ts/ts-union02-errors.yaml new file mode 100644 index 000000000..24617c30c --- /dev/null +++ b/tests/fixtures/rules/indent/invalid/ts/ts-union02-errors.yaml @@ -0,0 +1,192 @@ +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 3 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 4 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 5 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 6 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 9 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 10 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 11 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 12 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 13 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 14 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 15 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 16 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 17 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 18 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 19 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 20 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 21 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 22 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 23 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 24 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 25 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 26 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 27 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 28 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 29 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 30 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 31 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 32 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 33 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 34 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 36 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 37 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 38 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 39 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 40 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 41 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 42 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 43 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 44 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 45 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 46 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 47 + column: 1 + suggestions: null +- message: Expected indentation of 2 spaces but found 0 spaces. + line: 48 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 49 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 50 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 51 + column: 1 + suggestions: null +- message: Expected indentation of 6 spaces but found 0 spaces. + line: 52 + column: 1 + suggestions: null +- message: Expected indentation of 4 spaces but found 0 spaces. + line: 53 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-errors.json b/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-errors.json deleted file mode 100644 index 5cc953666..000000000 --- a/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "'{...attrs}' should be on a new line.", - "line": 8, - "column": 50 - } -] diff --git a/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-errors.yaml b/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-errors.yaml new file mode 100644 index 000000000..93eff3095 --- /dev/null +++ b/tests/fixtures/rules/max-attributes-per-line/invalid/max3/test01-errors.yaml @@ -0,0 +1,4 @@ +- message: "'{...attrs}' should be on a new line." + line: 8 + column: 50 + suggestions: null diff --git a/tests/fixtures/rules/max-attributes-per-line/invalid/test01-errors.json b/tests/fixtures/rules/max-attributes-per-line/invalid/test01-errors.json deleted file mode 100644 index 9d9cda0fe..000000000 --- a/tests/fixtures/rules/max-attributes-per-line/invalid/test01-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "'bind:value' should be on a new line.", - "line": 8, - "column": 20 - }, - { - "message": "'on:click' should be on a new line.", - "line": 10, - "column": 23 - }, - { - "message": "'{...attrs}' should be on a new line.", - "line": 11, - "column": 15 - } -] diff --git a/tests/fixtures/rules/max-attributes-per-line/invalid/test01-errors.yaml b/tests/fixtures/rules/max-attributes-per-line/invalid/test01-errors.yaml new file mode 100644 index 000000000..c9067e7a9 --- /dev/null +++ b/tests/fixtures/rules/max-attributes-per-line/invalid/test01-errors.yaml @@ -0,0 +1,12 @@ +- message: "'bind:value' should be on a new line." + line: 8 + column: 20 + suggestions: null +- message: "'on:click' should be on a new line." + line: 10 + column: 23 + suggestions: null +- message: "'{...attrs}' should be on a new line." + line: 11 + column: 15 + suggestions: null diff --git a/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-errors.json b/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-errors.json deleted file mode 100644 index 323264954..000000000 --- a/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-errors.json +++ /dev/null @@ -1,172 +0,0 @@ -[ - { - "message": "Expected 1 space after '{', but not found.", - "line": 18, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 18, - "column": 5 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 19, - "column": 19 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 19, - "column": 24 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 19, - "column": 31 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 19, - "column": 37 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 19, - "column": 50 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 19, - "column": 58 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 20, - "column": 19 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 20, - "column": 22 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 21, - "column": 8 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 21, - "column": 17 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 22, - "column": 11 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 23, - "column": 11 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 24, - "column": 15 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 26, - "column": 16 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 27, - "column": 16 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 27, - "column": 40 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 28, - "column": 16 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 29, - "column": 16 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 31, - "column": 20 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 32, - "column": 27 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 33, - "column": 31 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 34, - "column": 38 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 35, - "column": 20 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 37, - "column": 19 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 37, - "column": 34 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 37, - "column": 50 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 38, - "column": 19 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 38, - "column": 34 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 39, - "column": 29 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 41, - "column": 30 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 46, - "column": 19 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 48, - "column": 17 - } -] diff --git a/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-errors.yaml b/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-errors.yaml new file mode 100644 index 000000000..9922e6624 --- /dev/null +++ b/tests/fixtures/rules/mustache-spacing/invalid/always-after-expression/test01-errors.yaml @@ -0,0 +1,136 @@ +- message: Expected 1 space after '{', but not found. + line: 18 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 18 + column: 5 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 19 + column: 19 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 19 + column: 24 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 19 + column: 31 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 19 + column: 37 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 19 + column: 50 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 19 + column: 58 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 20 + column: 19 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 20 + column: 22 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 21 + column: 8 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 21 + column: 17 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 22 + column: 11 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 23 + column: 11 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 24 + column: 15 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 26 + column: 16 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 27 + column: 16 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 27 + column: 40 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 28 + column: 16 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 29 + column: 16 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 31 + column: 20 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 32 + column: 27 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 33 + column: 31 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 34 + column: 38 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 35 + column: 20 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 37 + column: 19 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 37 + column: 34 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 37 + column: 50 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 38 + column: 19 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 38 + column: 34 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 39 + column: 29 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 41 + column: 30 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 46 + column: 19 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 48 + column: 17 + suggestions: null diff --git a/tests/fixtures/rules/mustache-spacing/invalid/always/test01-errors.json b/tests/fixtures/rules/mustache-spacing/invalid/always/test01-errors.json deleted file mode 100644 index 99a25f268..000000000 --- a/tests/fixtures/rules/mustache-spacing/invalid/always/test01-errors.json +++ /dev/null @@ -1,512 +0,0 @@ -[ - { - "message": "Expected 1 space after '{', but not found.", - "line": 18, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 18, - "column": 5 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 19, - "column": 19 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 19, - "column": 24 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 19, - "column": 31 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 19, - "column": 37 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 19, - "column": 50 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 19, - "column": 58 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 20, - "column": 19 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 20, - "column": 22 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 21, - "column": 8 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 21, - "column": 17 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 22, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 22, - "column": 11 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 23, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 23, - "column": 11 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 24, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 24, - "column": 15 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 26, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 26, - "column": 16 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 26, - "column": 20 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 26, - "column": 24 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 27, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 27, - "column": 16 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 27, - "column": 20 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 27, - "column": 40 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 27, - "column": 44 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 27, - "column": 48 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 28, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 28, - "column": 16 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 28, - "column": 20 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 28, - "column": 26 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 28, - "column": 30 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 28, - "column": 34 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 29, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 29, - "column": 16 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 29, - "column": 17 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 29, - "column": 23 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 29, - "column": 24 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 29, - "column": 28 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 31, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 31, - "column": 20 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 31, - "column": 24 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 31, - "column": 30 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 32, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 32, - "column": 27 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 32, - "column": 31 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 32, - "column": 37 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 33, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 33, - "column": 31 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 33, - "column": 35 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 33, - "column": 41 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 34, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 34, - "column": 38 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 34, - "column": 42 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 34, - "column": 48 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 35, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 35, - "column": 20 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 35, - "column": 24 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 35, - "column": 30 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 35, - "column": 34 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 35, - "column": 40 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 37, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 37, - "column": 19 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 37, - "column": 23 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 37, - "column": 34 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 37, - "column": 38 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 37, - "column": 50 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 37, - "column": 54 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 37, - "column": 61 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 38, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 38, - "column": 19 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 38, - "column": 23 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 38, - "column": 34 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 38, - "column": 38 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 38, - "column": 45 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 39, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 39, - "column": 29 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 39, - "column": 33 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 39, - "column": 40 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 41, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 41, - "column": 30 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 41, - "column": 34 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 41, - "column": 41 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 42, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 42, - "column": 24 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 42, - "column": 28 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 42, - "column": 35 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 44, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 44, - "column": 25 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 44, - "column": 29 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 44, - "column": 36 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 46, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 46, - "column": 19 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 46, - "column": 23 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 46, - "column": 33 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 46, - "column": 44 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 46, - "column": 51 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 48, - "column": 1 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 48, - "column": 17 - }, - { - "message": "Expected 1 space after '{', but not found.", - "line": 48, - "column": 21 - }, - { - "message": "Expected 1 space before '}', but not found.", - "line": 48, - "column": 26 - } -] diff --git a/tests/fixtures/rules/mustache-spacing/invalid/always/test01-errors.yaml b/tests/fixtures/rules/mustache-spacing/invalid/always/test01-errors.yaml new file mode 100644 index 000000000..a1943e0c1 --- /dev/null +++ b/tests/fixtures/rules/mustache-spacing/invalid/always/test01-errors.yaml @@ -0,0 +1,408 @@ +- message: Expected 1 space after '{', but not found. + line: 18 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 18 + column: 5 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 19 + column: 19 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 19 + column: 24 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 19 + column: 31 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 19 + column: 37 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 19 + column: 50 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 19 + column: 58 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 20 + column: 19 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 20 + column: 22 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 21 + column: 8 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 21 + column: 17 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 22 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 22 + column: 11 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 23 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 23 + column: 11 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 24 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 24 + column: 15 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 26 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 26 + column: 16 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 26 + column: 20 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 26 + column: 24 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 27 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 27 + column: 16 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 27 + column: 20 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 27 + column: 40 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 27 + column: 44 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 27 + column: 48 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 28 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 28 + column: 16 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 28 + column: 20 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 28 + column: 26 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 28 + column: 30 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 28 + column: 34 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 29 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 29 + column: 16 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 29 + column: 17 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 29 + column: 23 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 29 + column: 24 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 29 + column: 28 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 31 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 31 + column: 20 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 31 + column: 24 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 31 + column: 30 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 32 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 32 + column: 27 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 32 + column: 31 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 32 + column: 37 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 33 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 33 + column: 31 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 33 + column: 35 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 33 + column: 41 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 34 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 34 + column: 38 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 34 + column: 42 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 34 + column: 48 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 35 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 35 + column: 20 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 35 + column: 24 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 35 + column: 30 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 35 + column: 34 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 35 + column: 40 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 37 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 37 + column: 19 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 37 + column: 23 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 37 + column: 34 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 37 + column: 38 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 37 + column: 50 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 37 + column: 54 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 37 + column: 61 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 38 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 38 + column: 19 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 38 + column: 23 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 38 + column: 34 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 38 + column: 38 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 38 + column: 45 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 39 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 39 + column: 29 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 39 + column: 33 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 39 + column: 40 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 41 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 41 + column: 30 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 41 + column: 34 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 41 + column: 41 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 42 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 42 + column: 24 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 42 + column: 28 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 42 + column: 35 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 44 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 44 + column: 25 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 44 + column: 29 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 44 + column: 36 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 46 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 46 + column: 19 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 46 + column: 23 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 46 + column: 33 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 46 + column: 44 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 46 + column: 51 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 48 + column: 1 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 48 + column: 17 + suggestions: null +- message: Expected 1 space after '{', but not found. + line: 48 + column: 21 + suggestions: null +- message: Expected 1 space before '}', but not found. + line: 48 + column: 26 + suggestions: null diff --git a/tests/fixtures/rules/mustache-spacing/invalid/test01-errors.json b/tests/fixtures/rules/mustache-spacing/invalid/test01-errors.json deleted file mode 100644 index 4699f7128..000000000 --- a/tests/fixtures/rules/mustache-spacing/invalid/test01-errors.json +++ /dev/null @@ -1,512 +0,0 @@ -[ - { - "message": "Expected no space after '{', but found.", - "line": 20, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 20, - "column": 6 - }, - { - "message": "Expected no space after '{', but found.", - "line": 21, - "column": 19 - }, - { - "message": "Expected no space before '}', but found.", - "line": 21, - "column": 25 - }, - { - "message": "Expected no space after '{', but found.", - "line": 21, - "column": 33 - }, - { - "message": "Expected no space before '}', but found.", - "line": 21, - "column": 40 - }, - { - "message": "Expected no space after '{', but found.", - "line": 21, - "column": 54 - }, - { - "message": "Expected no space before '}', but found.", - "line": 21, - "column": 63 - }, - { - "message": "Expected no space after '{', but found.", - "line": 22, - "column": 19 - }, - { - "message": "Expected no space before '}', but found.", - "line": 22, - "column": 23 - }, - { - "message": "Expected no space after '{', but found.", - "line": 23, - "column": 8 - }, - { - "message": "Expected no space before '}', but found.", - "line": 23, - "column": 18 - }, - { - "message": "Expected no space after '{', but found.", - "line": 24, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 24, - "column": 12 - }, - { - "message": "Expected no space after '{', but found.", - "line": 25, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 25, - "column": 12 - }, - { - "message": "Expected no space after '{', but found.", - "line": 26, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 26, - "column": 16 - }, - { - "message": "Expected no space after '{', but found.", - "line": 28, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 28, - "column": 17 - }, - { - "message": "Expected no space after '{', but found.", - "line": 28, - "column": 22 - }, - { - "message": "Expected no space before '}', but found.", - "line": 28, - "column": 27 - }, - { - "message": "Expected no space after '{', but found.", - "line": 29, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 29, - "column": 17 - }, - { - "message": "Expected no space after '{', but found.", - "line": 29, - "column": 22 - }, - { - "message": "Expected no space before '}', but found.", - "line": 29, - "column": 43 - }, - { - "message": "Expected no space after '{', but found.", - "line": 29, - "column": 48 - }, - { - "message": "Expected no space before '}', but found.", - "line": 29, - "column": 53 - }, - { - "message": "Expected no space after '{', but found.", - "line": 30, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 30, - "column": 17 - }, - { - "message": "Expected no space after '{', but found.", - "line": 30, - "column": 22 - }, - { - "message": "Expected no space before '}', but found.", - "line": 30, - "column": 29 - }, - { - "message": "Expected no space after '{', but found.", - "line": 30, - "column": 34 - }, - { - "message": "Expected no space before '}', but found.", - "line": 30, - "column": 39 - }, - { - "message": "Expected no space after '{', but found.", - "line": 31, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 31, - "column": 17 - }, - { - "message": "Expected no space after '{', but found.", - "line": 31, - "column": 19 - }, - { - "message": "Expected no space before '}', but found.", - "line": 31, - "column": 26 - }, - { - "message": "Expected no space after '{', but found.", - "line": 31, - "column": 28 - }, - { - "message": "Expected no space before '}', but found.", - "line": 31, - "column": 33 - }, - { - "message": "Expected no space after '{', but found.", - "line": 33, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 33, - "column": 21 - }, - { - "message": "Expected no space after '{', but found.", - "line": 33, - "column": 26 - }, - { - "message": "Expected no space before '}', but found.", - "line": 33, - "column": 33 - }, - { - "message": "Expected no space after '{', but found.", - "line": 34, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 34, - "column": 28 - }, - { - "message": "Expected no space after '{', but found.", - "line": 34, - "column": 33 - }, - { - "message": "Expected no space before '}', but found.", - "line": 34, - "column": 40 - }, - { - "message": "Expected no space after '{', but found.", - "line": 35, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 35, - "column": 32 - }, - { - "message": "Expected no space after '{', but found.", - "line": 35, - "column": 37 - }, - { - "message": "Expected no space before '}', but found.", - "line": 35, - "column": 44 - }, - { - "message": "Expected no space after '{', but found.", - "line": 36, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 36, - "column": 39 - }, - { - "message": "Expected no space after '{', but found.", - "line": 36, - "column": 44 - }, - { - "message": "Expected no space before '}', but found.", - "line": 36, - "column": 51 - }, - { - "message": "Expected no space after '{', but found.", - "line": 37, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 37, - "column": 21 - }, - { - "message": "Expected no space after '{', but found.", - "line": 37, - "column": 26 - }, - { - "message": "Expected no space before '}', but found.", - "line": 37, - "column": 33 - }, - { - "message": "Expected no space after '{', but found.", - "line": 37, - "column": 38 - }, - { - "message": "Expected no space before '}', but found.", - "line": 37, - "column": 45 - }, - { - "message": "Expected no space after '{', but found.", - "line": 39, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 39, - "column": 20 - }, - { - "message": "Expected no space after '{', but found.", - "line": 39, - "column": 25 - }, - { - "message": "Expected no space before '}', but found.", - "line": 39, - "column": 37 - }, - { - "message": "Expected no space after '{', but found.", - "line": 39, - "column": 42 - }, - { - "message": "Expected no space before '}', but found.", - "line": 39, - "column": 55 - }, - { - "message": "Expected no space after '{', but found.", - "line": 39, - "column": 60 - }, - { - "message": "Expected no space before '}', but found.", - "line": 39, - "column": 68 - }, - { - "message": "Expected no space after '{', but found.", - "line": 40, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 40, - "column": 20 - }, - { - "message": "Expected no space after '{', but found.", - "line": 40, - "column": 25 - }, - { - "message": "Expected no space before '}', but found.", - "line": 40, - "column": 37 - }, - { - "message": "Expected no space after '{', but found.", - "line": 40, - "column": 42 - }, - { - "message": "Expected no space before '}', but found.", - "line": 40, - "column": 50 - }, - { - "message": "Expected no space after '{', but found.", - "line": 41, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 41, - "column": 30 - }, - { - "message": "Expected no space after '{', but found.", - "line": 41, - "column": 35 - }, - { - "message": "Expected no space before '}', but found.", - "line": 41, - "column": 43 - }, - { - "message": "Expected no space after '{', but found.", - "line": 42, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 42, - "column": 31 - }, - { - "message": "Expected no space after '{', but found.", - "line": 42, - "column": 36 - }, - { - "message": "Expected no space before '}', but found.", - "line": 42, - "column": 44 - }, - { - "message": "Expected no space after '{', but found.", - "line": 43, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 43, - "column": 25 - }, - { - "message": "Expected no space after '{', but found.", - "line": 43, - "column": 30 - }, - { - "message": "Expected no space before '}', but found.", - "line": 43, - "column": 38 - }, - { - "message": "Expected no space after '{', but found.", - "line": 44, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 44, - "column": 26 - }, - { - "message": "Expected no space after '{', but found.", - "line": 44, - "column": 31 - }, - { - "message": "Expected no space before '}', but found.", - "line": 44, - "column": 39 - }, - { - "message": "Expected no space after '{', but found.", - "line": 45, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 45, - "column": 20 - }, - { - "message": "Expected no space after '{', but found.", - "line": 45, - "column": 25 - }, - { - "message": "Expected no space after '{', but found.", - "line": 45, - "column": 36 - }, - { - "message": "Expected no space after '{', but found.", - "line": 45, - "column": 48 - }, - { - "message": "Expected no space before '}', but found.", - "line": 45, - "column": 56 - }, - { - "message": "Expected no space after '{', but found.", - "line": 47, - "column": 1 - }, - { - "message": "Expected no space before '}', but found.", - "line": 47, - "column": 18 - }, - { - "message": "Expected no space after '{', but found.", - "line": 47, - "column": 23 - }, - { - "message": "Expected no space before '}', but found.", - "line": 47, - "column": 29 - } -] diff --git a/tests/fixtures/rules/mustache-spacing/invalid/test01-errors.yaml b/tests/fixtures/rules/mustache-spacing/invalid/test01-errors.yaml new file mode 100644 index 000000000..a49c10827 --- /dev/null +++ b/tests/fixtures/rules/mustache-spacing/invalid/test01-errors.yaml @@ -0,0 +1,408 @@ +- message: Expected no space after '{', but found. + line: 20 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 20 + column: 6 + suggestions: null +- message: Expected no space after '{', but found. + line: 21 + column: 19 + suggestions: null +- message: Expected no space before '}', but found. + line: 21 + column: 25 + suggestions: null +- message: Expected no space after '{', but found. + line: 21 + column: 33 + suggestions: null +- message: Expected no space before '}', but found. + line: 21 + column: 40 + suggestions: null +- message: Expected no space after '{', but found. + line: 21 + column: 54 + suggestions: null +- message: Expected no space before '}', but found. + line: 21 + column: 63 + suggestions: null +- message: Expected no space after '{', but found. + line: 22 + column: 19 + suggestions: null +- message: Expected no space before '}', but found. + line: 22 + column: 23 + suggestions: null +- message: Expected no space after '{', but found. + line: 23 + column: 8 + suggestions: null +- message: Expected no space before '}', but found. + line: 23 + column: 18 + suggestions: null +- message: Expected no space after '{', but found. + line: 24 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 24 + column: 12 + suggestions: null +- message: Expected no space after '{', but found. + line: 25 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 25 + column: 12 + suggestions: null +- message: Expected no space after '{', but found. + line: 26 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 26 + column: 16 + suggestions: null +- message: Expected no space after '{', but found. + line: 28 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 28 + column: 17 + suggestions: null +- message: Expected no space after '{', but found. + line: 28 + column: 22 + suggestions: null +- message: Expected no space before '}', but found. + line: 28 + column: 27 + suggestions: null +- message: Expected no space after '{', but found. + line: 29 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 29 + column: 17 + suggestions: null +- message: Expected no space after '{', but found. + line: 29 + column: 22 + suggestions: null +- message: Expected no space before '}', but found. + line: 29 + column: 43 + suggestions: null +- message: Expected no space after '{', but found. + line: 29 + column: 48 + suggestions: null +- message: Expected no space before '}', but found. + line: 29 + column: 53 + suggestions: null +- message: Expected no space after '{', but found. + line: 30 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 30 + column: 17 + suggestions: null +- message: Expected no space after '{', but found. + line: 30 + column: 22 + suggestions: null +- message: Expected no space before '}', but found. + line: 30 + column: 29 + suggestions: null +- message: Expected no space after '{', but found. + line: 30 + column: 34 + suggestions: null +- message: Expected no space before '}', but found. + line: 30 + column: 39 + suggestions: null +- message: Expected no space after '{', but found. + line: 31 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 31 + column: 17 + suggestions: null +- message: Expected no space after '{', but found. + line: 31 + column: 19 + suggestions: null +- message: Expected no space before '}', but found. + line: 31 + column: 26 + suggestions: null +- message: Expected no space after '{', but found. + line: 31 + column: 28 + suggestions: null +- message: Expected no space before '}', but found. + line: 31 + column: 33 + suggestions: null +- message: Expected no space after '{', but found. + line: 33 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 33 + column: 21 + suggestions: null +- message: Expected no space after '{', but found. + line: 33 + column: 26 + suggestions: null +- message: Expected no space before '}', but found. + line: 33 + column: 33 + suggestions: null +- message: Expected no space after '{', but found. + line: 34 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 34 + column: 28 + suggestions: null +- message: Expected no space after '{', but found. + line: 34 + column: 33 + suggestions: null +- message: Expected no space before '}', but found. + line: 34 + column: 40 + suggestions: null +- message: Expected no space after '{', but found. + line: 35 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 35 + column: 32 + suggestions: null +- message: Expected no space after '{', but found. + line: 35 + column: 37 + suggestions: null +- message: Expected no space before '}', but found. + line: 35 + column: 44 + suggestions: null +- message: Expected no space after '{', but found. + line: 36 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 36 + column: 39 + suggestions: null +- message: Expected no space after '{', but found. + line: 36 + column: 44 + suggestions: null +- message: Expected no space before '}', but found. + line: 36 + column: 51 + suggestions: null +- message: Expected no space after '{', but found. + line: 37 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 37 + column: 21 + suggestions: null +- message: Expected no space after '{', but found. + line: 37 + column: 26 + suggestions: null +- message: Expected no space before '}', but found. + line: 37 + column: 33 + suggestions: null +- message: Expected no space after '{', but found. + line: 37 + column: 38 + suggestions: null +- message: Expected no space before '}', but found. + line: 37 + column: 45 + suggestions: null +- message: Expected no space after '{', but found. + line: 39 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 39 + column: 20 + suggestions: null +- message: Expected no space after '{', but found. + line: 39 + column: 25 + suggestions: null +- message: Expected no space before '}', but found. + line: 39 + column: 37 + suggestions: null +- message: Expected no space after '{', but found. + line: 39 + column: 42 + suggestions: null +- message: Expected no space before '}', but found. + line: 39 + column: 55 + suggestions: null +- message: Expected no space after '{', but found. + line: 39 + column: 60 + suggestions: null +- message: Expected no space before '}', but found. + line: 39 + column: 68 + suggestions: null +- message: Expected no space after '{', but found. + line: 40 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 40 + column: 20 + suggestions: null +- message: Expected no space after '{', but found. + line: 40 + column: 25 + suggestions: null +- message: Expected no space before '}', but found. + line: 40 + column: 37 + suggestions: null +- message: Expected no space after '{', but found. + line: 40 + column: 42 + suggestions: null +- message: Expected no space before '}', but found. + line: 40 + column: 50 + suggestions: null +- message: Expected no space after '{', but found. + line: 41 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 41 + column: 30 + suggestions: null +- message: Expected no space after '{', but found. + line: 41 + column: 35 + suggestions: null +- message: Expected no space before '}', but found. + line: 41 + column: 43 + suggestions: null +- message: Expected no space after '{', but found. + line: 42 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 42 + column: 31 + suggestions: null +- message: Expected no space after '{', but found. + line: 42 + column: 36 + suggestions: null +- message: Expected no space before '}', but found. + line: 42 + column: 44 + suggestions: null +- message: Expected no space after '{', but found. + line: 43 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 43 + column: 25 + suggestions: null +- message: Expected no space after '{', but found. + line: 43 + column: 30 + suggestions: null +- message: Expected no space before '}', but found. + line: 43 + column: 38 + suggestions: null +- message: Expected no space after '{', but found. + line: 44 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 44 + column: 26 + suggestions: null +- message: Expected no space after '{', but found. + line: 44 + column: 31 + suggestions: null +- message: Expected no space before '}', but found. + line: 44 + column: 39 + suggestions: null +- message: Expected no space after '{', but found. + line: 45 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 45 + column: 20 + suggestions: null +- message: Expected no space after '{', but found. + line: 45 + column: 25 + suggestions: null +- message: Expected no space after '{', but found. + line: 45 + column: 36 + suggestions: null +- message: Expected no space after '{', but found. + line: 45 + column: 48 + suggestions: null +- message: Expected no space before '}', but found. + line: 45 + column: 56 + suggestions: null +- message: Expected no space after '{', but found. + line: 47 + column: 1 + suggestions: null +- message: Expected no space before '}', but found. + line: 47 + column: 18 + suggestions: null +- message: Expected no space after '{', but found. + line: 47 + column: 23 + suggestions: null +- message: Expected no space before '}', but found. + line: 47 + column: 29 + suggestions: null diff --git a/tests/fixtures/rules/no-at-debug-tags/invalid/debug01-errors.json b/tests/fixtures/rules/no-at-debug-tags/invalid/debug01-errors.json deleted file mode 100644 index cf2a00788..000000000 --- a/tests/fixtures/rules/no-at-debug-tags/invalid/debug01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Unexpected `{@debug}`.", - "line": 11, - "column": 1 - } -] diff --git a/tests/fixtures/rules/no-at-debug-tags/invalid/debug01-errors.yaml b/tests/fixtures/rules/no-at-debug-tags/invalid/debug01-errors.yaml new file mode 100644 index 000000000..7583d5bc0 --- /dev/null +++ b/tests/fixtures/rules/no-at-debug-tags/invalid/debug01-errors.yaml @@ -0,0 +1,4 @@ +- message: Unexpected `{@debug}`. + line: 11 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/no-at-debug-tags/invalid/debug02-errors.json b/tests/fixtures/rules/no-at-debug-tags/invalid/debug02-errors.json deleted file mode 100644 index cf2a00788..000000000 --- a/tests/fixtures/rules/no-at-debug-tags/invalid/debug02-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Unexpected `{@debug}`.", - "line": 11, - "column": 1 - } -] diff --git a/tests/fixtures/rules/no-at-debug-tags/invalid/debug02-errors.yaml b/tests/fixtures/rules/no-at-debug-tags/invalid/debug02-errors.yaml new file mode 100644 index 000000000..7583d5bc0 --- /dev/null +++ b/tests/fixtures/rules/no-at-debug-tags/invalid/debug02-errors.yaml @@ -0,0 +1,4 @@ +- message: Unexpected `{@debug}`. + line: 11 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/no-at-html-tags/invalid/html-errors.json b/tests/fixtures/rules/no-at-html-tags/invalid/html-errors.json deleted file mode 100644 index 3a051a0e6..000000000 --- a/tests/fixtures/rules/no-at-html-tags/invalid/html-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "`{@html}` can lead to XSS attack.", - "line": 5, - "column": 4 - } -] diff --git a/tests/fixtures/rules/no-at-html-tags/invalid/html-errors.yaml b/tests/fixtures/rules/no-at-html-tags/invalid/html-errors.yaml new file mode 100644 index 000000000..fc00037ac --- /dev/null +++ b/tests/fixtures/rules/no-at-html-tags/invalid/html-errors.yaml @@ -0,0 +1,4 @@ +- message: "`{@html}` can lead to XSS attack." + line: 5 + column: 4 + suggestions: null diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-errors.json b/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-errors.json deleted file mode 100644 index 1f00fc7fd..000000000 --- a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain.", - "line": 7, - "column": 11 - } -] diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-errors.yaml b/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-errors.yaml new file mode 100644 index 000000000..dad12978f --- /dev/null +++ b/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/simple-test01-errors.yaml @@ -0,0 +1,6 @@ +- message: >- + This branch can never execute. Its condition is a duplicate or covered by + previous conditions in the `{#if}` / `{:else if}` chain. + line: 7 + column: 11 + suggestions: null diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-errors.json b/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-errors.json deleted file mode 100644 index 47ba297eb..000000000 --- a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain.", - "line": 21, - "column": 11 - }, - { - "message": "This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain.", - "line": 31, - "column": 8 - } -] diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-errors.yaml b/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-errors.yaml new file mode 100644 index 000000000..e3e50e8a9 --- /dev/null +++ b/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test01-errors.yaml @@ -0,0 +1,12 @@ +- message: >- + This branch can never execute. Its condition is a duplicate or covered by + previous conditions in the `{#if}` / `{:else if}` chain. + line: 21 + column: 11 + suggestions: null +- message: >- + This branch can never execute. Its condition is a duplicate or covered by + previous conditions in the `{#if}` / `{:else if}` chain. + line: 31 + column: 8 + suggestions: null diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-errors.json b/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-errors.json deleted file mode 100644 index 5002736a1..000000000 --- a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-errors.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "message": "This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain.", - "line": 12, - "column": 11 - }, - { - "message": "This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain.", - "line": 20, - "column": 11 - }, - { - "message": "This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain.", - "line": 26, - "column": 11 - }, - { - "message": "This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain.", - "line": 32, - "column": 11 - }, - { - "message": "This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain.", - "line": 38, - "column": 11 - }, - { - "message": "This branch can never execute. Its condition is a duplicate or covered by previous conditions in the `{#if}` / `{:else if}` chain.", - "line": 46, - "column": 17 - } -] diff --git a/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-errors.yaml b/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-errors.yaml new file mode 100644 index 000000000..43fea29e2 --- /dev/null +++ b/tests/fixtures/rules/no-dupe-else-if-blocks/invalid/test02-errors.yaml @@ -0,0 +1,36 @@ +- message: >- + This branch can never execute. Its condition is a duplicate or covered by + previous conditions in the `{#if}` / `{:else if}` chain. + line: 12 + column: 11 + suggestions: null +- message: >- + This branch can never execute. Its condition is a duplicate or covered by + previous conditions in the `{#if}` / `{:else if}` chain. + line: 20 + column: 11 + suggestions: null +- message: >- + This branch can never execute. Its condition is a duplicate or covered by + previous conditions in the `{#if}` / `{:else if}` chain. + line: 26 + column: 11 + suggestions: null +- message: >- + This branch can never execute. Its condition is a duplicate or covered by + previous conditions in the `{#if}` / `{:else if}` chain. + line: 32 + column: 11 + suggestions: null +- message: >- + This branch can never execute. Its condition is a duplicate or covered by + previous conditions in the `{#if}` / `{:else if}` chain. + line: 38 + column: 11 + suggestions: null +- message: >- + This branch can never execute. Its condition is a duplicate or covered by + previous conditions in the `{#if}` / `{:else if}` chain. + line: 46 + column: 17 + suggestions: null diff --git a/tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-errors.json b/tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-errors.json deleted file mode 100644 index 367dcb660..000000000 --- a/tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Duplicate property 'background'.", - "line": 7, - "column": 5 - }, - { - "message": "Duplicate property 'background'.", - "line": 8, - "column": 13 - }, - { - "message": "Duplicate property 'background'.", - "line": 8, - "column": 36 - } -] diff --git a/tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-errors.yaml b/tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-errors.yaml new file mode 100644 index 000000000..e3a6de460 --- /dev/null +++ b/tests/fixtures/rules/no-dupe-style-properties/invalid/ternary01-errors.yaml @@ -0,0 +1,12 @@ +- message: Duplicate property 'background'. + line: 7 + column: 5 + suggestions: null +- message: Duplicate property 'background'. + line: 8 + column: 13 + suggestions: null +- message: Duplicate property 'background'. + line: 8 + column: 36 + suggestions: null diff --git a/tests/fixtures/rules/no-dupe-style-properties/invalid/test01-errors.json b/tests/fixtures/rules/no-dupe-style-properties/invalid/test01-errors.json deleted file mode 100644 index ecab519c0..000000000 --- a/tests/fixtures/rules/no-dupe-style-properties/invalid/test01-errors.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "message": "Duplicate property 'background'.", - "line": 10, - "column": 13 - }, - { - "message": "Duplicate property 'background'.", - "line": 10, - "column": 32 - }, - { - "message": "Duplicate property 'background'.", - "line": 11, - "column": 12 - }, - { - "message": "Duplicate property 'background'.", - "line": 11, - "column": 38 - } -] diff --git a/tests/fixtures/rules/no-dupe-style-properties/invalid/test01-errors.yaml b/tests/fixtures/rules/no-dupe-style-properties/invalid/test01-errors.yaml new file mode 100644 index 000000000..eade0586a --- /dev/null +++ b/tests/fixtures/rules/no-dupe-style-properties/invalid/test01-errors.yaml @@ -0,0 +1,16 @@ +- message: Duplicate property 'background'. + line: 10 + column: 13 + suggestions: null +- message: Duplicate property 'background'. + line: 10 + column: 32 + suggestions: null +- message: Duplicate property 'background'. + line: 11 + column: 12 + suggestions: null +- message: Duplicate property 'background'. + line: 11 + column: 38 + suggestions: null diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-errors.json b/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-errors.json deleted file mode 100644 index 2a7cd69e2..000000000 --- a/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "`` name requires a value.", - "line": 1, - "column": 7 - } -] diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-errors.yaml b/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-errors.yaml new file mode 100644 index 000000000..0f81e0a26 --- /dev/null +++ b/tests/fixtures/rules/no-dynamic-slot-name/invalid/bool-slot01-errors.yaml @@ -0,0 +1,4 @@ +- message: "`` name requires a value." + line: 1 + column: 7 + suggestions: null diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-errors.json b/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-errors.json deleted file mode 100644 index 3c677e18a..000000000 --- a/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "`` name cannot be dynamic.", - "line": 1, - "column": 12 - } -] diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-errors.yaml b/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-errors.yaml new file mode 100644 index 000000000..1a539840e --- /dev/null +++ b/tests/fixtures/rules/no-dynamic-slot-name/invalid/literal-slot01-errors.yaml @@ -0,0 +1,4 @@ +- message: "`` name cannot be dynamic." + line: 1 + column: 12 + suggestions: null diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-errors.json b/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-errors.json deleted file mode 100644 index 8b5b1a12a..000000000 --- a/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "`` name cannot be dynamic.", - "line": 5, - "column": 12 - } -] diff --git a/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-errors.yaml b/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-errors.yaml new file mode 100644 index 000000000..afd6c951e --- /dev/null +++ b/tests/fixtures/rules/no-dynamic-slot-name/invalid/var-slot01-errors.yaml @@ -0,0 +1,4 @@ +- message: "`` name cannot be dynamic." + line: 5 + column: 12 + suggestions: null diff --git a/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-errors.json b/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-errors.json deleted file mode 100644 index 6a0b3a4bc..000000000 --- a/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-errors.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "message": "Do not wrap reactive statements in curly braces unless necessary.", - "line": 2, - "column": 6, - "suggestions": [ - { - "desc": "Remove the unnecessary curly braces.", - "messageId": "removeExtraCurlies", - "output": "\n" - } - ] - } -] diff --git a/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-errors.yaml b/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-errors.yaml new file mode 100644 index 000000000..ed2deb6d9 --- /dev/null +++ b/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-errors.yaml @@ -0,0 +1,10 @@ +- message: Do not wrap reactive statements in curly braces unless necessary. + line: 2 + column: 6 + suggestions: + - desc: Remove the unnecessary curly braces. + messageId: removeExtraCurlies + output: | + diff --git a/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-errors.json b/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-errors.json deleted file mode 100644 index cc41e643a..000000000 --- a/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-errors.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "message": "Do not wrap reactive statements in curly braces unless necessary.", - "line": 3, - "column": 6, - "suggestions": [ - { - "desc": "Remove the unnecessary curly braces.", - "messageId": "removeExtraCurlies", - "output": "\n\n" - } - ] - } -] diff --git a/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-errors.yaml b/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-errors.yaml new file mode 100644 index 000000000..365042fe0 --- /dev/null +++ b/tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-errors.yaml @@ -0,0 +1,11 @@ +- message: Do not wrap reactive statements in curly braces unless necessary. + line: 3 + column: 6 + suggestions: + - desc: Remove the unnecessary curly braces. + messageId: removeExtraCurlies + output: | + + diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-errors.json b/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-errors.json deleted file mode 100644 index aabf50c28..000000000 --- a/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-errors.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "message": "Move function declaration to program root.", - "line": 3, - "column": 5 - }, - { - "message": "Move variable declaration to program root.", - "line": 6, - "column": 12 - }, - { - "message": "Move variable declaration to program root.", - "line": 8, - "column": 32 - }, - { - "message": "Move function declaration to program root.", - "line": 10, - "column": 5 - }, - { - "message": "Move variable declaration to function body root.", - "line": 13, - "column": 9 - }, - { - "message": "Move function declaration to program root.", - "line": 18, - "column": 5 - }, - { - "message": "Move variable declaration to function body root.", - "line": 20, - "column": 16 - } -] diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-errors.yaml b/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-errors.yaml new file mode 100644 index 000000000..ba90724b3 --- /dev/null +++ b/tests/fixtures/rules/no-inner-declarations/invalid/both/test01-errors.yaml @@ -0,0 +1,28 @@ +- message: Move function declaration to program root. + line: 3 + column: 5 + suggestions: null +- message: Move variable declaration to program root. + line: 6 + column: 12 + suggestions: null +- message: Move variable declaration to program root. + line: 8 + column: 32 + suggestions: null +- message: Move function declaration to program root. + line: 10 + column: 5 + suggestions: null +- message: Move variable declaration to function body root. + line: 13 + column: 9 + suggestions: null +- message: Move function declaration to program root. + line: 18 + column: 5 + suggestions: null +- message: Move variable declaration to function body root. + line: 20 + column: 16 + suggestions: null diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/test01-errors.json b/tests/fixtures/rules/no-inner-declarations/invalid/test01-errors.json deleted file mode 100644 index a53733b00..000000000 --- a/tests/fixtures/rules/no-inner-declarations/invalid/test01-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Move function declaration to program root.", - "line": 3, - "column": 5 - }, - { - "message": "Move function declaration to program root.", - "line": 10, - "column": 5 - }, - { - "message": "Move function declaration to program root.", - "line": 18, - "column": 5 - } -] diff --git a/tests/fixtures/rules/no-inner-declarations/invalid/test01-errors.yaml b/tests/fixtures/rules/no-inner-declarations/invalid/test01-errors.yaml new file mode 100644 index 000000000..5bdd1aad5 --- /dev/null +++ b/tests/fixtures/rules/no-inner-declarations/invalid/test01-errors.yaml @@ -0,0 +1,12 @@ +- message: Move function declaration to program root. + line: 3 + column: 5 + suggestions: null +- message: Move function declaration to program root. + line: 10 + column: 5 + suggestions: null +- message: Move function declaration to program root. + line: 18 + column: 5 + suggestions: null diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/array01-errors.json b/tests/fixtures/rules/no-not-function-handler/invalid/array01-errors.json deleted file mode 100644 index a2406b698..000000000 --- a/tests/fixtures/rules/no-not-function-handler/invalid/array01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Unexpected array in event handler.", - "line": 5, - "column": 19 - } -] diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/array01-errors.yaml b/tests/fixtures/rules/no-not-function-handler/invalid/array01-errors.yaml new file mode 100644 index 000000000..8ab670929 --- /dev/null +++ b/tests/fixtures/rules/no-not-function-handler/invalid/array01-errors.yaml @@ -0,0 +1,4 @@ +- message: Unexpected array in event handler. + line: 5 + column: 19 + suggestions: null diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/class01-errors.json b/tests/fixtures/rules/no-not-function-handler/invalid/class01-errors.json deleted file mode 100644 index d2d13e902..000000000 --- a/tests/fixtures/rules/no-not-function-handler/invalid/class01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Unexpected class in event handler.", - "line": 4, - "column": 19 - } -] diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/class01-errors.yaml b/tests/fixtures/rules/no-not-function-handler/invalid/class01-errors.yaml new file mode 100644 index 000000000..6434620a4 --- /dev/null +++ b/tests/fixtures/rules/no-not-function-handler/invalid/class01-errors.yaml @@ -0,0 +1,4 @@ +- message: Unexpected class in event handler. + line: 4 + column: 19 + suggestions: null diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/object01-errors.json b/tests/fixtures/rules/no-not-function-handler/invalid/object01-errors.json deleted file mode 100644 index 4dae8a793..000000000 --- a/tests/fixtures/rules/no-not-function-handler/invalid/object01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Unexpected object in event handler.", - "line": 5, - "column": 19 - } -] diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/object01-errors.yaml b/tests/fixtures/rules/no-not-function-handler/invalid/object01-errors.yaml new file mode 100644 index 000000000..4b8ce67c4 --- /dev/null +++ b/tests/fixtures/rules/no-not-function-handler/invalid/object01-errors.yaml @@ -0,0 +1,4 @@ +- message: Unexpected object in event handler. + line: 5 + column: 19 + suggestions: null diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/string01-errors.json b/tests/fixtures/rules/no-not-function-handler/invalid/string01-errors.json deleted file mode 100644 index 66595af9c..000000000 --- a/tests/fixtures/rules/no-not-function-handler/invalid/string01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Unexpected string value in event handler.", - "line": 6, - "column": 19 - }, - { - "message": "Unexpected string value in event handler.", - "line": 7, - "column": 19 - } -] diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/string01-errors.yaml b/tests/fixtures/rules/no-not-function-handler/invalid/string01-errors.yaml new file mode 100644 index 000000000..4b3472ad7 --- /dev/null +++ b/tests/fixtures/rules/no-not-function-handler/invalid/string01-errors.yaml @@ -0,0 +1,8 @@ +- message: Unexpected string value in event handler. + line: 6 + column: 19 + suggestions: null +- message: Unexpected string value in event handler. + line: 7 + column: 19 + suggestions: null diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/value01-errors.json b/tests/fixtures/rules/no-not-function-handler/invalid/value01-errors.json deleted file mode 100644 index f783fb68f..000000000 --- a/tests/fixtures/rules/no-not-function-handler/invalid/value01-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Unexpected number value in event handler.", - "line": 7, - "column": 19 - }, - { - "message": "Unexpected bigint value in event handler.", - "line": 8, - "column": 19 - }, - { - "message": "Unexpected regex value in event handler.", - "line": 9, - "column": 19 - } -] diff --git a/tests/fixtures/rules/no-not-function-handler/invalid/value01-errors.yaml b/tests/fixtures/rules/no-not-function-handler/invalid/value01-errors.yaml new file mode 100644 index 000000000..7b59f9639 --- /dev/null +++ b/tests/fixtures/rules/no-not-function-handler/invalid/value01-errors.yaml @@ -0,0 +1,12 @@ +- message: Unexpected number value in event handler. + line: 7 + column: 19 + suggestions: null +- message: Unexpected bigint value in event handler. + line: 8 + column: 19 + suggestions: null +- message: Unexpected regex value in event handler. + line: 9 + column: 19 + suggestions: null diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-errors.json b/tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-errors.json deleted file mode 100644 index 11af7d85e..000000000 --- a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Unexpected array in text mustache interpolation.", - "line": 5, - "column": 1 - }, - { - "message": "Unexpected array in text mustache interpolation.", - "line": 6, - "column": 15 - } -] diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-errors.yaml b/tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-errors.yaml new file mode 100644 index 000000000..035720188 --- /dev/null +++ b/tests/fixtures/rules/no-object-in-text-mustaches/invalid/array01-errors.yaml @@ -0,0 +1,8 @@ +- message: Unexpected array in text mustache interpolation. + line: 5 + column: 1 + suggestions: null +- message: Unexpected array in text mustache interpolation. + line: 6 + column: 15 + suggestions: null diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-errors.json b/tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-errors.json deleted file mode 100644 index 51283455c..000000000 --- a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Unexpected class in text mustache interpolation.", - "line": 4, - "column": 1 - }, - { - "message": "Unexpected class in text mustache interpolation.", - "line": 6, - "column": 15 - } -] diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-errors.yaml b/tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-errors.yaml new file mode 100644 index 000000000..9422543e8 --- /dev/null +++ b/tests/fixtures/rules/no-object-in-text-mustaches/invalid/class01-errors.yaml @@ -0,0 +1,8 @@ +- message: Unexpected class in text mustache interpolation. + line: 4 + column: 1 + suggestions: null +- message: Unexpected class in text mustache interpolation. + line: 6 + column: 15 + suggestions: null diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-errors.json b/tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-errors.json deleted file mode 100644 index 31e6c0516..000000000 --- a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Unexpected function in text mustache interpolation.", - "line": 5, - "column": 1 - }, - { - "message": "Unexpected function in text mustache interpolation.", - "line": 6, - "column": 1 - }, - { - "message": "Unexpected function in text mustache interpolation.", - "line": 9, - "column": 15 - } -] diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-errors.yaml b/tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-errors.yaml new file mode 100644 index 000000000..60ba4feec --- /dev/null +++ b/tests/fixtures/rules/no-object-in-text-mustaches/invalid/function01-errors.yaml @@ -0,0 +1,12 @@ +- message: Unexpected function in text mustache interpolation. + line: 5 + column: 1 + suggestions: null +- message: Unexpected function in text mustache interpolation. + line: 6 + column: 1 + suggestions: null +- message: Unexpected function in text mustache interpolation. + line: 9 + column: 15 + suggestions: null diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-errors.json b/tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-errors.json deleted file mode 100644 index d6817f558..000000000 --- a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Unexpected object in text mustache interpolation.", - "line": 5, - "column": 1 - }, - { - "message": "Unexpected object in text mustache interpolation.", - "line": 6, - "column": 15 - } -] diff --git a/tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-errors.yaml b/tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-errors.yaml new file mode 100644 index 000000000..a4b6f6471 --- /dev/null +++ b/tests/fixtures/rules/no-object-in-text-mustaches/invalid/object01-errors.yaml @@ -0,0 +1,8 @@ +- message: Unexpected object in text mustache interpolation. + line: 5 + column: 1 + suggestions: null +- message: Unexpected object in text mustache interpolation. + line: 6 + column: 15 + suggestions: null diff --git a/tests/fixtures/rules/no-reactive-literals/invalid/test01-errors.json b/tests/fixtures/rules/no-reactive-literals/invalid/test01-errors.json deleted file mode 100644 index c09a9bba6..000000000 --- a/tests/fixtures/rules/no-reactive-literals/invalid/test01-errors.json +++ /dev/null @@ -1,38 +0,0 @@ -[ - { - "message": "Do not assign literal values inside reactive statements unless absolutely necessary.", - "line": 3, - "column": 5, - "suggestions": [ - { - "desc": "Move the literal out of the reactive statement into an assignment", - "messageId": "fixReactiveLiteral", - "output": "\n\n" - } - ] - }, - { - "message": "Do not assign literal values inside reactive statements unless absolutely necessary.", - "line": 4, - "column": 5, - "suggestions": [ - { - "desc": "Move the literal out of the reactive statement into an assignment", - "messageId": "fixReactiveLiteral", - "output": "\n\n" - } - ] - }, - { - "message": "Do not assign literal values inside reactive statements unless absolutely necessary.", - "line": 5, - "column": 5, - "suggestions": [ - { - "desc": "Move the literal out of the reactive statement into an assignment", - "messageId": "fixReactiveLiteral", - "output": "\n\n" - } - ] - } -] diff --git a/tests/fixtures/rules/no-reactive-literals/invalid/test01-errors.yaml b/tests/fixtures/rules/no-reactive-literals/invalid/test01-errors.yaml new file mode 100644 index 000000000..6fceb7389 --- /dev/null +++ b/tests/fixtures/rules/no-reactive-literals/invalid/test01-errors.yaml @@ -0,0 +1,45 @@ +- message: >- + Do not assign literal values inside reactive statements unless absolutely + necessary. + line: 3 + column: 5 + suggestions: + - desc: Move the literal out of the reactive statement into an assignment + messageId: fixReactiveLiteral + output: | + + +- message: >- + Do not assign literal values inside reactive statements unless absolutely + necessary. + line: 4 + column: 5 + suggestions: + - desc: Move the literal out of the reactive statement into an assignment + messageId: fixReactiveLiteral + output: | + + +- message: >- + Do not assign literal values inside reactive statements unless absolutely + necessary. + line: 5 + column: 5 + suggestions: + - desc: Move the literal out of the reactive statement into an assignment + messageId: fixReactiveLiteral + output: | + + diff --git a/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-errors.json b/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-errors.json deleted file mode 100644 index 957d60c3f..000000000 --- a/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Unexpected shorthand 'background' after 'background-repeat'.", - "line": 8, - "column": 13 - }, - { - "message": "Unexpected shorthand 'background' after 'background-repeat'.", - "line": 8, - "column": 36 - } -] diff --git a/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-errors.yaml b/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-errors.yaml new file mode 100644 index 000000000..272bac50b --- /dev/null +++ b/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/ternary01-errors.yaml @@ -0,0 +1,8 @@ +- message: Unexpected shorthand 'background' after 'background-repeat'. + line: 8 + column: 13 + suggestions: null +- message: Unexpected shorthand 'background' after 'background-repeat'. + line: 8 + column: 36 + suggestions: null diff --git a/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-errors.json b/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-errors.json deleted file mode 100644 index 6f7b258dd..000000000 --- a/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-errors.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "message": "Unexpected shorthand 'background' after 'background-repeat'.", - "line": 5, - "column": 45 - }, - { - "message": "Unexpected shorthand 'background' after 'background-repeat'.", - "line": 6, - "column": 45 - }, - { - "message": "Unexpected shorthand 'background' after 'background-repeat'.", - "line": 10, - "column": 5 - }, - { - "message": "Unexpected shorthand 'background' after 'background-repeat'.", - "line": 18, - "column": 5 - }, - { - "message": "Unexpected shorthand 'background' after 'background-repeat'.", - "line": 23, - "column": 46 - }, - { - "message": "Unexpected shorthand 'background' after 'background-repeat'.", - "line": 24, - "column": 46 - } -] diff --git a/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-errors.yaml b/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-errors.yaml new file mode 100644 index 000000000..2cde6ac99 --- /dev/null +++ b/tests/fixtures/rules/no-shorthand-style-property-overrides/invalid/test01-errors.yaml @@ -0,0 +1,24 @@ +- message: Unexpected shorthand 'background' after 'background-repeat'. + line: 5 + column: 45 + suggestions: null +- message: Unexpected shorthand 'background' after 'background-repeat'. + line: 6 + column: 45 + suggestions: null +- message: Unexpected shorthand 'background' after 'background-repeat'. + line: 10 + column: 5 + suggestions: null +- message: Unexpected shorthand 'background' after 'background-repeat'. + line: 18 + column: 5 + suggestions: null +- message: Unexpected shorthand 'background' after 'background-repeat'. + line: 23 + column: 46 + suggestions: null +- message: Unexpected shorthand 'background' after 'background-repeat'. + line: 24 + column: 46 + suggestions: null diff --git a/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-errors.json b/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-errors.json deleted file mode 100644 index 13e58e4ba..000000000 --- a/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-errors.json +++ /dev/null @@ -1,62 +0,0 @@ -[ - { - "message": "Unexpected spaces found around equal signs.", - "line": 3, - "column": 11 - }, - { - "message": "Unexpected spaces found around equal signs.", - "line": 4, - "column": 11 - }, - { - "message": "Unexpected spaces found around equal signs.", - "line": 5, - "column": 11 - }, - { - "message": "Unexpected spaces found around equal signs.", - "line": 6, - "column": 11 - }, - { - "message": "Unexpected spaces found around equal signs.", - "line": 8, - "column": 11 - }, - { - "message": "Unexpected spaces found around equal signs.", - "line": 10, - "column": 11 - }, - { - "message": "Unexpected spaces found around equal signs.", - "line": 11, - "column": 11 - }, - { - "message": "Unexpected spaces found around equal signs.", - "line": 12, - "column": 11 - }, - { - "message": "Unexpected spaces found around equal signs.", - "line": 13, - "column": 15 - }, - { - "message": "Unexpected spaces found around equal signs.", - "line": 13, - "column": 35 - }, - { - "message": "Unexpected spaces found around equal signs.", - "line": 14, - "column": 17 - }, - { - "message": "Unexpected spaces found around equal signs.", - "line": 16, - "column": 10 - } -] diff --git a/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-errors.yaml b/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-errors.yaml new file mode 100644 index 000000000..363700360 --- /dev/null +++ b/tests/fixtures/rules/no-spaces-around-equal-signs-in-attribute/invalid/test01-errors.yaml @@ -0,0 +1,48 @@ +- message: Unexpected spaces found around equal signs. + line: 3 + column: 11 + suggestions: null +- message: Unexpected spaces found around equal signs. + line: 4 + column: 11 + suggestions: null +- message: Unexpected spaces found around equal signs. + line: 5 + column: 11 + suggestions: null +- message: Unexpected spaces found around equal signs. + line: 6 + column: 11 + suggestions: null +- message: Unexpected spaces found around equal signs. + line: 8 + column: 11 + suggestions: null +- message: Unexpected spaces found around equal signs. + line: 10 + column: 11 + suggestions: null +- message: Unexpected spaces found around equal signs. + line: 11 + column: 11 + suggestions: null +- message: Unexpected spaces found around equal signs. + line: 12 + column: 11 + suggestions: null +- message: Unexpected spaces found around equal signs. + line: 13 + column: 15 + suggestions: null +- message: Unexpected spaces found around equal signs. + line: 13 + column: 35 + suggestions: null +- message: Unexpected spaces found around equal signs. + line: 14 + column: 17 + suggestions: null +- message: Unexpected spaces found around equal signs. + line: 16 + column: 10 + suggestions: null diff --git a/tests/fixtures/rules/no-target-blank/invalid/test01-errors.json b/tests/fixtures/rules/no-target-blank/invalid/test01-errors.json deleted file mode 100644 index 5bf784861..000000000 --- a/tests/fixtures/rules/no-target-blank/invalid/test01-errors.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "message": "Using target=\"_blank\" without rel=\"noopener noreferrer\" is a security risk.", - "line": 5, - "column": 31 - }, - { - "message": "Using target=\"_blank\" without rel=\"noopener noreferrer\" is a security risk.", - "line": 6, - "column": 31 - }, - { - "message": "Using target=\"_blank\" without rel=\"noopener noreferrer\" is a security risk.", - "line": 7, - "column": 16 - }, - { - "message": "Using target=\"_blank\" without rel=\"noopener noreferrer\" is a security risk.", - "line": 8, - "column": 16 - }, - { - "message": "Using target=\"_blank\" without rel=\"noopener noreferrer\" is a security risk.", - "line": 9, - "column": 31 - } -] diff --git a/tests/fixtures/rules/no-target-blank/invalid/test01-errors.yaml b/tests/fixtures/rules/no-target-blank/invalid/test01-errors.yaml new file mode 100644 index 000000000..0f4182137 --- /dev/null +++ b/tests/fixtures/rules/no-target-blank/invalid/test01-errors.yaml @@ -0,0 +1,20 @@ +- message: Using target="_blank" without rel="noopener noreferrer" is a security risk. + line: 5 + column: 31 + suggestions: null +- message: Using target="_blank" without rel="noopener noreferrer" is a security risk. + line: 6 + column: 31 + suggestions: null +- message: Using target="_blank" without rel="noopener noreferrer" is a security risk. + line: 7 + column: 16 + suggestions: null +- message: Using target="_blank" without rel="noopener noreferrer" is a security risk. + line: 8 + column: 16 + suggestions: null +- message: Using target="_blank" without rel="noopener noreferrer" is a security risk. + line: 9 + column: 31 + suggestions: null diff --git a/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-errors.json b/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-errors.json deleted file mode 100644 index 4581a328a..000000000 --- a/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Unexpected unknown style directive property 'unknown-color'.", - "line": 8, - "column": 12 - }, - { - "message": "Unexpected unknown style directive property 'unknown'.", - "line": 9, - "column": 12 - }, - { - "message": "Unexpected unknown style directive property 'foo-bar'.", - "line": 15, - "column": 12 - } -] diff --git a/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-errors.yaml b/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-errors.yaml new file mode 100644 index 000000000..1b90e3635 --- /dev/null +++ b/tests/fixtures/rules/no-unknown-style-directive-property/invalid/ignoreProperties/test01-errors.yaml @@ -0,0 +1,12 @@ +- message: Unexpected unknown style directive property 'unknown-color'. + line: 8 + column: 12 + suggestions: null +- message: Unexpected unknown style directive property 'unknown'. + line: 9 + column: 12 + suggestions: null +- message: Unexpected unknown style directive property 'foo-bar'. + line: 15 + column: 12 + suggestions: null diff --git a/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-errors.json b/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-errors.json deleted file mode 100644 index 142103c31..000000000 --- a/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Unexpected unknown style directive property 'unknown-color'.", - "line": 6, - "column": 12 - }, - { - "message": "Unexpected unknown style directive property 'unknown'.", - "line": 7, - "column": 12 - } -] diff --git a/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-errors.yaml b/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-errors.yaml new file mode 100644 index 000000000..417ffa2c8 --- /dev/null +++ b/tests/fixtures/rules/no-unknown-style-directive-property/invalid/test01-errors.yaml @@ -0,0 +1,8 @@ +- message: Unexpected unknown style directive property 'unknown-color'. + line: 6 + column: 12 + suggestions: null +- message: Unexpected unknown style directive property 'unknown'. + line: 7 + column: 12 + suggestions: null diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-errors.json b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-errors.json deleted file mode 100644 index 492c5471a..000000000 --- a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "svelte-ignore comment is used, but not warned", - "line": 1, - "column": 20 - }, - { - "message": "svelte-ignore comment is used, but not warned", - "line": 1, - "column": 35 - }, - { - "message": "svelte-ignore comment is used, but not warned", - "line": 4, - "column": 35 - } -] diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-errors.yaml b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-errors.yaml new file mode 100644 index 000000000..4014b0401 --- /dev/null +++ b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/html-comment-errors.yaml @@ -0,0 +1,12 @@ +- message: svelte-ignore comment is used, but not warned + line: 1 + column: 20 + suggestions: null +- message: svelte-ignore comment is used, but not warned + line: 1 + column: 35 + suggestions: null +- message: svelte-ignore comment is used, but not warned + line: 4 + column: 35 + suggestions: null diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-errors.json b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-errors.json deleted file mode 100644 index 2fb95b5c0..000000000 --- a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "svelte-ignore comment must include the code", - "line": 1, - "column": 1 - } -] diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-errors.yaml b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-errors.yaml new file mode 100644 index 000000000..7dac6940e --- /dev/null +++ b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/missing-code-errors.yaml @@ -0,0 +1,4 @@ +- message: svelte-ignore comment must include the code + line: 1 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.json b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.json deleted file mode 100644 index bf3d35c82..000000000 --- a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "svelte-ignore comment is used, but not warned", - "line": 3, - "column": 20 - }, - { - "message": "svelte-ignore comment is used, but not warned", - "line": 5, - "column": 20 - } -] diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.yaml b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.yaml new file mode 100644 index 000000000..aa1244efa --- /dev/null +++ b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment01-errors.yaml @@ -0,0 +1,8 @@ +- message: svelte-ignore comment is used, but not warned + line: 3 + column: 20 + suggestions: null +- message: svelte-ignore comment is used, but not warned + line: 5 + column: 20 + suggestions: null diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-errors.json b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-errors.json deleted file mode 100644 index 9fff38e51..000000000 --- a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "svelte-ignore comment is used, but not warned", - "line": 12, - "column": 22 - } -] diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-errors.yaml b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-errors.yaml new file mode 100644 index 000000000..22f166403 --- /dev/null +++ b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/script-comment02-errors.yaml @@ -0,0 +1,4 @@ +- message: svelte-ignore comment is used, but not warned + line: 12 + column: 22 + suggestions: null diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-errors.json b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-errors.json deleted file mode 100644 index c0381d148..000000000 --- a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "svelte-ignore comment is used, but not warned", - "line": 5, - "column": 20 - } -] diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-errors.yaml b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-errors.yaml new file mode 100644 index 000000000..6464c03a6 --- /dev/null +++ b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang01-errors.yaml @@ -0,0 +1,4 @@ +- message: svelte-ignore comment is used, but not warned + line: 5 + column: 20 + suggestions: null diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-errors.json b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-errors.json deleted file mode 100644 index c0381d148..000000000 --- a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "svelte-ignore comment is used, but not warned", - "line": 5, - "column": 20 - } -] diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-errors.yaml b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-errors.yaml new file mode 100644 index 000000000..6464c03a6 --- /dev/null +++ b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang02-errors.yaml @@ -0,0 +1,4 @@ +- message: svelte-ignore comment is used, but not warned + line: 5 + column: 20 + suggestions: null diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-errors.json b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-errors.json deleted file mode 100644 index c0381d148..000000000 --- a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "svelte-ignore comment is used, but not warned", - "line": 5, - "column": 20 - } -] diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-errors.yaml b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-errors.yaml new file mode 100644 index 000000000..6464c03a6 --- /dev/null +++ b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang03-errors.yaml @@ -0,0 +1,4 @@ +- message: svelte-ignore comment is used, but not warned + line: 5 + column: 20 + suggestions: null diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-errors.json b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-errors.json deleted file mode 100644 index c0381d148..000000000 --- a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "svelte-ignore comment is used, but not warned", - "line": 5, - "column": 20 - } -] diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-errors.yaml b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-errors.yaml new file mode 100644 index 000000000..6464c03a6 --- /dev/null +++ b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang04-errors.yaml @@ -0,0 +1,4 @@ +- message: svelte-ignore comment is used, but not warned + line: 5 + column: 20 + suggestions: null diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-errors.json b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-errors.json deleted file mode 100644 index c0381d148..000000000 --- a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "svelte-ignore comment is used, but not warned", - "line": 5, - "column": 20 - } -] diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-errors.yaml b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-errors.yaml new file mode 100644 index 000000000..6464c03a6 --- /dev/null +++ b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang05-errors.yaml @@ -0,0 +1,4 @@ +- message: svelte-ignore comment is used, but not warned + line: 5 + column: 20 + suggestions: null diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-errors.json b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-errors.json deleted file mode 100644 index c0381d148..000000000 --- a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "svelte-ignore comment is used, but not warned", - "line": 5, - "column": 20 - } -] diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-errors.yaml b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-errors.yaml new file mode 100644 index 000000000..6464c03a6 --- /dev/null +++ b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/style-lang06-errors.yaml @@ -0,0 +1,4 @@ +- message: svelte-ignore comment is used, but not warned + line: 5 + column: 20 + suggestions: null diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-errors.json b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-errors.json deleted file mode 100644 index 4bc62f10e..000000000 --- a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "svelte-ignore comment is used, but not warned", - "line": 9, - "column": 20 - }, - { - "message": "svelte-ignore comment is used, but not warned", - "line": 9, - "column": 35 - }, - { - "message": "svelte-ignore comment is used, but not warned", - "line": 16, - "column": 20 - } -] diff --git a/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-errors.yaml b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-errors.yaml new file mode 100644 index 000000000..16b779f00 --- /dev/null +++ b/tests/fixtures/rules/no-unused-svelte-ignore/invalid/transform-test-errors.yaml @@ -0,0 +1,12 @@ +- message: svelte-ignore comment is used, but not warned + line: 9 + column: 20 + suggestions: null +- message: svelte-ignore comment is used, but not warned + line: 9 + column: 35 + suggestions: null +- message: svelte-ignore comment is used, but not warned + line: 16 + column: 20 + suggestions: null diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-errors.json b/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-errors.json deleted file mode 100644 index 5708c7df7..000000000 --- a/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 2, - "column": 14 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 2, - "column": 40 - } -] diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-errors.yaml b/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-errors.yaml new file mode 100644 index 000000000..b4cb07bbe --- /dev/null +++ b/tests/fixtures/rules/no-useless-mustaches/invalid/comments01-errors.yaml @@ -0,0 +1,8 @@ +- message: Unexpected mustache interpolation with a string literal value. + line: 2 + column: 14 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 2 + column: 40 + suggestions: null diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-errors.json b/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-errors.json deleted file mode 100644 index 1aba5a9cc..000000000 --- a/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-errors.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 1, - "column": 1 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 2, - "column": 1 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 4, - "column": 17 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 4, - "column": 24 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 6, - "column": 1 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 7, - "column": 1 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 8, - "column": 1 - } -] diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-errors.yaml b/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-errors.yaml new file mode 100644 index 000000000..572bc8b0f --- /dev/null +++ b/tests/fixtures/rules/no-useless-mustaches/invalid/escape-test01-errors.yaml @@ -0,0 +1,28 @@ +- message: Unexpected mustache interpolation with a string literal value. + line: 1 + column: 1 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 2 + column: 1 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 4 + column: 17 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 4 + column: 24 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 6 + column: 1 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 7 + column: 1 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 8 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-errors.json b/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-errors.json deleted file mode 100644 index 5d870756e..000000000 --- a/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-errors.json +++ /dev/null @@ -1,42 +0,0 @@ -[ - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 1, - "column": 1 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 2, - "column": 1 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 3, - "column": 1 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 4, - "column": 1 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 6, - "column": 17 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 6, - "column": 28 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 6, - "column": 39 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 6, - "column": 51 - } -] diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-errors.yaml b/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-errors.yaml new file mode 100644 index 000000000..0c3373148 --- /dev/null +++ b/tests/fixtures/rules/no-useless-mustaches/invalid/invalid-test01-errors.yaml @@ -0,0 +1,32 @@ +- message: Unexpected mustache interpolation with a string literal value. + line: 1 + column: 1 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 2 + column: 1 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 3 + column: 1 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 4 + column: 1 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 6 + column: 17 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 6 + column: 28 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 6 + column: 39 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 6 + column: 51 + suggestions: null diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-errors.json b/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-errors.json deleted file mode 100644 index 42e703e62..000000000 --- a/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-errors.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 1, - "column": 16 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 2, - "column": 16 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 3, - "column": 18 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 5, - "column": 17 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 6, - "column": 16 - } -] diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-errors.yaml b/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-errors.yaml new file mode 100644 index 000000000..cd3f4e216 --- /dev/null +++ b/tests/fixtures/rules/no-useless-mustaches/invalid/quote-test01-errors.yaml @@ -0,0 +1,20 @@ +- message: Unexpected mustache interpolation with a string literal value. + line: 1 + column: 16 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 2 + column: 16 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 3 + column: 18 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 5 + column: 17 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 6 + column: 16 + suggestions: null diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-errors.json b/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-errors.json deleted file mode 100644 index 62e7ff8f4..000000000 --- a/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 1, - "column": 1 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 2, - "column": 1 - }, - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 4, - "column": 17 - } -] diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-errors.yaml b/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-errors.yaml new file mode 100644 index 000000000..2b155fc5d --- /dev/null +++ b/tests/fixtures/rules/no-useless-mustaches/invalid/spaces-test01-errors.yaml @@ -0,0 +1,12 @@ +- message: Unexpected mustache interpolation with a string literal value. + line: 1 + column: 1 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 2 + column: 1 + suggestions: null +- message: Unexpected mustache interpolation with a string literal value. + line: 4 + column: 17 + suggestions: null diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-errors.json b/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-errors.json deleted file mode 100644 index 5d42635eb..000000000 --- a/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Unexpected mustache interpolation with a string literal value.", - "line": 1, - "column": 1 - } -] diff --git a/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-errors.yaml b/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-errors.yaml new file mode 100644 index 000000000..f1db2ba9d --- /dev/null +++ b/tests/fixtures/rules/no-useless-mustaches/invalid/tag-test01-errors.yaml @@ -0,0 +1,4 @@ +- message: Unexpected mustache interpolation with a string literal value. + line: 1 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-errors.json b/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-errors.json deleted file mode 100644 index 9ea865feb..000000000 --- a/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Unexpected class using the ternary operator.", - "line": 6, - "column": 9 - }, - { - "message": "Unexpected class using the ternary operator.", - "line": 11, - "column": 9 - }, - { - "message": "Unexpected class using the ternary operator.", - "line": 16, - "column": 9 - } -] diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-errors.yaml b/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-errors.yaml new file mode 100644 index 000000000..993684c89 --- /dev/null +++ b/tests/fixtures/rules/prefer-class-directive/invalid/simple-test01-errors.yaml @@ -0,0 +1,12 @@ +- message: Unexpected class using the ternary operator. + line: 6 + column: 9 + suggestions: null +- message: Unexpected class using the ternary operator. + line: 11 + column: 9 + suggestions: null +- message: Unexpected class using the ternary operator. + line: 16 + column: 9 + suggestions: null diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-errors.json b/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-errors.json deleted file mode 100644 index 3aad92d35..000000000 --- a/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Unexpected class using the ternary operator.", - "line": 6, - "column": 41 - } -] diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-errors.yaml b/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-errors.yaml new file mode 100644 index 000000000..32b3b4838 --- /dev/null +++ b/tests/fixtures/rules/prefer-class-directive/invalid/svelte-element01-errors.yaml @@ -0,0 +1,4 @@ +- message: Unexpected class using the ternary operator. + line: 6 + column: 41 + suggestions: null diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test01-errors.json b/tests/fixtures/rules/prefer-class-directive/invalid/test01-errors.json deleted file mode 100644 index 97bdc9984..000000000 --- a/tests/fixtures/rules/prefer-class-directive/invalid/test01-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Unexpected class using the ternary operator.", - "line": 5, - "column": 15 - }, - { - "message": "Unexpected class using the ternary operator.", - "line": 6, - "column": 18 - }, - { - "message": "Unexpected class using the ternary operator.", - "line": 7, - "column": 17 - } -] diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test01-errors.yaml b/tests/fixtures/rules/prefer-class-directive/invalid/test01-errors.yaml new file mode 100644 index 000000000..d71422e21 --- /dev/null +++ b/tests/fixtures/rules/prefer-class-directive/invalid/test01-errors.yaml @@ -0,0 +1,12 @@ +- message: Unexpected class using the ternary operator. + line: 5 + column: 15 + suggestions: null +- message: Unexpected class using the ternary operator. + line: 6 + column: 18 + suggestions: null +- message: Unexpected class using the ternary operator. + line: 7 + column: 17 + suggestions: null diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test02-errors.json b/tests/fixtures/rules/prefer-class-directive/invalid/test02-errors.json deleted file mode 100644 index aed13df58..000000000 --- a/tests/fixtures/rules/prefer-class-directive/invalid/test02-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Unexpected class using the ternary operator.", - "line": 9, - "column": 38 - } -] diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test02-errors.yaml b/tests/fixtures/rules/prefer-class-directive/invalid/test02-errors.yaml new file mode 100644 index 000000000..ce74e11eb --- /dev/null +++ b/tests/fixtures/rules/prefer-class-directive/invalid/test02-errors.yaml @@ -0,0 +1,4 @@ +- message: Unexpected class using the ternary operator. + line: 9 + column: 38 + suggestions: null diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test03-errors.json b/tests/fixtures/rules/prefer-class-directive/invalid/test03-errors.json deleted file mode 100644 index acf8c9783..000000000 --- a/tests/fixtures/rules/prefer-class-directive/invalid/test03-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Unexpected class using the ternary operator.", - "line": 7, - "column": 15 - } -] diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/test03-errors.yaml b/tests/fixtures/rules/prefer-class-directive/invalid/test03-errors.yaml new file mode 100644 index 000000000..0dca998dd --- /dev/null +++ b/tests/fixtures/rules/prefer-class-directive/invalid/test03-errors.yaml @@ -0,0 +1,4 @@ +- message: Unexpected class using the ternary operator. + line: 7 + column: 15 + suggestions: null diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-errors.json b/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-errors.json deleted file mode 100644 index f26f25bd1..000000000 --- a/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-errors.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "message": "Unexpected class using the ternary operator.", - "line": 8, - "column": 15 - }, - { - "message": "Unexpected class using the ternary operator.", - "line": 9, - "column": 15 - }, - { - "message": "Unexpected class using the ternary operator.", - "line": 10, - "column": 15 - }, - { - "message": "Unexpected class using the ternary operator.", - "line": 11, - "column": 15 - } -] diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-errors.yaml b/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-errors.yaml new file mode 100644 index 000000000..ee620ff12 --- /dev/null +++ b/tests/fixtures/rules/prefer-class-directive/invalid/transform-test01-errors.yaml @@ -0,0 +1,16 @@ +- message: Unexpected class using the ternary operator. + line: 8 + column: 15 + suggestions: null +- message: Unexpected class using the ternary operator. + line: 9 + column: 15 + suggestions: null +- message: Unexpected class using the ternary operator. + line: 10 + column: 15 + suggestions: null +- message: Unexpected class using the ternary operator. + line: 11 + column: 15 + suggestions: null diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-errors.json b/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-errors.json deleted file mode 100644 index 0be3c55fc..000000000 --- a/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Unexpected class using the ternary operator.", - "line": 8, - "column": 15 - }, - { - "message": "Unexpected class using the ternary operator.", - "line": 9, - "column": 15 - } -] diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-errors.yaml b/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-errors.yaml new file mode 100644 index 000000000..2dd718f61 --- /dev/null +++ b/tests/fixtures/rules/prefer-class-directive/invalid/transform-test02-errors.yaml @@ -0,0 +1,8 @@ +- message: Unexpected class using the ternary operator. + line: 8 + column: 15 + suggestions: null +- message: Unexpected class using the ternary operator. + line: 9 + column: 15 + suggestions: null diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-errors.json b/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-errors.json deleted file mode 100644 index c59e0ca02..000000000 --- a/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Unexpected class using the ternary operator.", - "line": 6, - "column": 16 - }, - { - "message": "Unexpected class using the ternary operator.", - "line": 6, - "column": 41 - } -] diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-errors.yaml b/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-errors.yaml new file mode 100644 index 000000000..7800c74cc --- /dev/null +++ b/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01-errors.yaml @@ -0,0 +1,8 @@ +- message: Unexpected class using the ternary operator. + line: 6 + column: 16 + suggestions: null +- message: Unexpected class using the ternary operator. + line: 6 + column: 41 + suggestions: null diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-errors.json b/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-errors.json deleted file mode 100644 index c44c8eb93..000000000 --- a/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Unexpected class using the ternary operator.", - "line": 6, - "column": 15 - } -] diff --git a/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-errors.yaml b/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-errors.yaml new file mode 100644 index 000000000..433724b5b --- /dev/null +++ b/tests/fixtures/rules/prefer-class-directive/invalid/trim-test01.2-errors.yaml @@ -0,0 +1,4 @@ +- message: Unexpected class using the ternary operator. + line: 6 + column: 15 + suggestions: null diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-errors.json b/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-errors.json deleted file mode 100644 index 5aa2f9102..000000000 --- a/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Can use style directives instead.", - "line": 1, - "column": 13 - } -] diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-errors.yaml b/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-errors.yaml new file mode 100644 index 000000000..1968f46b8 --- /dev/null +++ b/tests/fixtures/rules/prefer-style-directive/invalid/complex-test01-errors.yaml @@ -0,0 +1,4 @@ +- message: Can use style directives instead. + line: 1 + column: 13 + suggestions: null diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-errors.json b/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-errors.json deleted file mode 100644 index 944e2abd2..000000000 --- a/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Can use style directives instead.", - "line": 5, - "column": 42 - } -] diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-errors.yaml b/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-errors.yaml new file mode 100644 index 000000000..bfda9aebf --- /dev/null +++ b/tests/fixtures/rules/prefer-style-directive/invalid/svelte-element01-errors.yaml @@ -0,0 +1,4 @@ +- message: Can use style directives instead. + line: 5 + column: 42 + suggestions: null diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-errors.json b/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-errors.json deleted file mode 100644 index a3f6c74ae..000000000 --- a/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-errors.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "message": "Can use style directives instead.", - "line": 3, - "column": 5 - }, - { - "message": "Can use style directives instead.", - "line": 4, - "column": 6 - }, - { - "message": "Can use style directives instead.", - "line": 5, - "column": 6 - }, - { - "message": "Can use style directives instead.", - "line": 9, - "column": 13 - } -] diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-errors.yaml b/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-errors.yaml new file mode 100644 index 000000000..d278b8fea --- /dev/null +++ b/tests/fixtures/rules/prefer-style-directive/invalid/ternary01-errors.yaml @@ -0,0 +1,16 @@ +- message: Can use style directives instead. + line: 3 + column: 5 + suggestions: null +- message: Can use style directives instead. + line: 4 + column: 6 + suggestions: null +- message: Can use style directives instead. + line: 5 + column: 6 + suggestions: null +- message: Can use style directives instead. + line: 9 + column: 13 + suggestions: null diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-errors.json b/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-errors.json deleted file mode 100644 index df10d4ff7..000000000 --- a/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Can use style directives instead.", - "line": 3, - "column": 5 - }, - { - "message": "Can use style directives instead.", - "line": 4, - "column": 6 - } -] diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-errors.yaml b/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-errors.yaml new file mode 100644 index 000000000..c88a365a6 --- /dev/null +++ b/tests/fixtures/rules/prefer-style-directive/invalid/ternary02-errors.yaml @@ -0,0 +1,8 @@ +- message: Can use style directives instead. + line: 3 + column: 5 + suggestions: null +- message: Can use style directives instead. + line: 4 + column: 6 + suggestions: null diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-errors.json b/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-errors.json deleted file mode 100644 index 5c4f693b8..000000000 --- a/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Can use style directives instead.", - "line": 3, - "column": 6 - } -] diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-errors.yaml b/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-errors.yaml new file mode 100644 index 000000000..8ef025f0d --- /dev/null +++ b/tests/fixtures/rules/prefer-style-directive/invalid/ternary03-errors.yaml @@ -0,0 +1,4 @@ +- message: Can use style directives instead. + line: 3 + column: 6 + suggestions: null diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-errors.json b/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-errors.json deleted file mode 100644 index 5aa2f9102..000000000 --- a/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Can use style directives instead.", - "line": 1, - "column": 13 - } -] diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-errors.yaml b/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-errors.yaml new file mode 100644 index 000000000..1968f46b8 --- /dev/null +++ b/tests/fixtures/rules/prefer-style-directive/invalid/ternary04-errors.yaml @@ -0,0 +1,4 @@ +- message: Can use style directives instead. + line: 1 + column: 13 + suggestions: null diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test01-errors.json b/tests/fixtures/rules/prefer-style-directive/invalid/test01-errors.json deleted file mode 100644 index e8360e965..000000000 --- a/tests/fixtures/rules/prefer-style-directive/invalid/test01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Can use style directives instead.", - "line": 10, - "column": 13 - } -] diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test01-errors.yaml b/tests/fixtures/rules/prefer-style-directive/invalid/test01-errors.yaml new file mode 100644 index 000000000..224d77fd8 --- /dev/null +++ b/tests/fixtures/rules/prefer-style-directive/invalid/test01-errors.yaml @@ -0,0 +1,4 @@ +- message: Can use style directives instead. + line: 10 + column: 13 + suggestions: null diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test02-errors.json b/tests/fixtures/rules/prefer-style-directive/invalid/test02-errors.json deleted file mode 100644 index 81c32acc1..000000000 --- a/tests/fixtures/rules/prefer-style-directive/invalid/test02-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Can use style directives instead.", - "line": 1, - "column": 13 - }, - { - "message": "Can use style directives instead.", - "line": 1, - "column": 27 - } -] diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test02-errors.yaml b/tests/fixtures/rules/prefer-style-directive/invalid/test02-errors.yaml new file mode 100644 index 000000000..ea1168f9a --- /dev/null +++ b/tests/fixtures/rules/prefer-style-directive/invalid/test02-errors.yaml @@ -0,0 +1,8 @@ +- message: Can use style directives instead. + line: 1 + column: 13 + suggestions: null +- message: Can use style directives instead. + line: 1 + column: 27 + suggestions: null diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test03-errors.json b/tests/fixtures/rules/prefer-style-directive/invalid/test03-errors.json deleted file mode 100644 index 5aa2f9102..000000000 --- a/tests/fixtures/rules/prefer-style-directive/invalid/test03-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Can use style directives instead.", - "line": 1, - "column": 13 - } -] diff --git a/tests/fixtures/rules/prefer-style-directive/invalid/test03-errors.yaml b/tests/fixtures/rules/prefer-style-directive/invalid/test03-errors.yaml new file mode 100644 index 000000000..1968f46b8 --- /dev/null +++ b/tests/fixtures/rules/prefer-style-directive/invalid/test03-errors.yaml @@ -0,0 +1,4 @@ +- message: Can use style directives instead. + line: 1 + column: 13 + suggestions: null diff --git a/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-errors.json b/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-errors.json deleted file mode 100644 index 24654c280..000000000 --- a/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "It cannot be optimized because contains comments.", - "line": 5, - "column": 30 - } -] diff --git a/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-errors.yaml b/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-errors.yaml new file mode 100644 index 000000000..182b64770 --- /dev/null +++ b/tests/fixtures/rules/require-optimized-style-attribute/invalid/comment01-errors.yaml @@ -0,0 +1,4 @@ +- message: It cannot be optimized because contains comments. + line: 5 + column: 30 + suggestions: null diff --git a/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-errors.json b/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-errors.json deleted file mode 100644 index c5e24908b..000000000 --- a/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "It cannot be optimized because property of style declaration contain interpolation.", - "line": 6, - "column": 30 - } -] diff --git a/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-errors.yaml b/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-errors.yaml new file mode 100644 index 000000000..6205b0f16 --- /dev/null +++ b/tests/fixtures/rules/require-optimized-style-attribute/invalid/key01-errors.yaml @@ -0,0 +1,6 @@ +- message: >- + It cannot be optimized because property of style declaration contain + interpolation. + line: 6 + column: 30 + suggestions: null diff --git a/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-errors.json b/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-errors.json deleted file mode 100644 index 77abc442a..000000000 --- a/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-errors.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "message": "It cannot be optimized because too complex.", - "line": 14, - "column": 12 - }, - { - "message": "It cannot be optimized because too complex.", - "line": 17, - "column": 46 - }, - { - "message": "It cannot be optimized because contains comments.", - "line": 20, - "column": 30 - }, - { - "message": "It cannot be optimized because property of style declaration contain interpolation.", - "line": 21, - "column": 30 - } -] diff --git a/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-errors.yaml b/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-errors.yaml new file mode 100644 index 000000000..68633fe17 --- /dev/null +++ b/tests/fixtures/rules/require-optimized-style-attribute/invalid/test01-errors.yaml @@ -0,0 +1,18 @@ +- message: It cannot be optimized because too complex. + line: 14 + column: 12 + suggestions: null +- message: It cannot be optimized because too complex. + line: 17 + column: 46 + suggestions: null +- message: It cannot be optimized because contains comments. + line: 20 + column: 30 + suggestions: null +- message: >- + It cannot be optimized because property of style declaration contain + interpolation. + line: 21 + column: 30 + suggestions: null diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-errors.json b/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-errors.json deleted file mode 100644 index 613ffb32e..000000000 --- a/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-errors.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "message": "Expected shorthand attribute.", - "line": 6, - "column": 9 - }, - { - "message": "Expected shorthand attribute.", - "line": 10, - "column": 9 - }, - { - "message": "Expected shorthand attribute.", - "line": 13, - "column": 9 - }, - { - "message": "Expected shorthand attribute.", - "line": 15, - "column": 9 - } -] diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-errors.yaml b/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-errors.yaml new file mode 100644 index 000000000..55ce0ed95 --- /dev/null +++ b/tests/fixtures/rules/shorthand-attribute/invalid/always/test01-errors.yaml @@ -0,0 +1,16 @@ +- message: Expected shorthand attribute. + line: 6 + column: 9 + suggestions: null +- message: Expected shorthand attribute. + line: 10 + column: 9 + suggestions: null +- message: Expected shorthand attribute. + line: 13 + column: 9 + suggestions: null +- message: Expected shorthand attribute. + line: 15 + column: 9 + suggestions: null diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-errors.json b/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-errors.json deleted file mode 100644 index 2b9b69057..000000000 --- a/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Expected regular attribute syntax.", - "line": 7, - "column": 9 - }, - { - "message": "Expected regular attribute syntax.", - "line": 11, - "column": 9 - } -] diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-errors.yaml b/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-errors.yaml new file mode 100644 index 000000000..35f57f4ad --- /dev/null +++ b/tests/fixtures/rules/shorthand-attribute/invalid/never/test01-errors.yaml @@ -0,0 +1,8 @@ +- message: Expected regular attribute syntax. + line: 7 + column: 9 + suggestions: null +- message: Expected regular attribute syntax. + line: 11 + column: 9 + suggestions: null diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/test01-errors.json b/tests/fixtures/rules/shorthand-attribute/invalid/test01-errors.json deleted file mode 100644 index 6eb70b9aa..000000000 --- a/tests/fixtures/rules/shorthand-attribute/invalid/test01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Expected shorthand attribute.", - "line": 6, - "column": 9 - }, - { - "message": "Expected shorthand attribute.", - "line": 10, - "column": 9 - } -] diff --git a/tests/fixtures/rules/shorthand-attribute/invalid/test01-errors.yaml b/tests/fixtures/rules/shorthand-attribute/invalid/test01-errors.yaml new file mode 100644 index 000000000..b549adf1f --- /dev/null +++ b/tests/fixtures/rules/shorthand-attribute/invalid/test01-errors.yaml @@ -0,0 +1,8 @@ +- message: Expected shorthand attribute. + line: 6 + column: 9 + suggestions: null +- message: Expected shorthand attribute. + line: 10 + column: 9 + suggestions: null diff --git a/tests/fixtures/rules/shorthand-directive/invalid/always/test01-errors.json b/tests/fixtures/rules/shorthand-directive/invalid/always/test01-errors.json deleted file mode 100644 index 2547511ae..000000000 --- a/tests/fixtures/rules/shorthand-directive/invalid/always/test01-errors.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "message": "Expected shorthand directive.", - "line": 14, - "column": 8 - }, - { - "message": "Expected shorthand directive.", - "line": 16, - "column": 6 - }, - { - "message": "Expected shorthand directive.", - "line": 18, - "column": 6 - }, - { - "message": "Expected shorthand directive.", - "line": 21, - "column": 6 - }, - { - "message": "Expected shorthand directive.", - "line": 23, - "column": 6 - } -] diff --git a/tests/fixtures/rules/shorthand-directive/invalid/always/test01-errors.yaml b/tests/fixtures/rules/shorthand-directive/invalid/always/test01-errors.yaml new file mode 100644 index 000000000..5210edd4f --- /dev/null +++ b/tests/fixtures/rules/shorthand-directive/invalid/always/test01-errors.yaml @@ -0,0 +1,20 @@ +- message: Expected shorthand directive. + line: 14 + column: 8 + suggestions: null +- message: Expected shorthand directive. + line: 16 + column: 6 + suggestions: null +- message: Expected shorthand directive. + line: 18 + column: 6 + suggestions: null +- message: Expected shorthand directive. + line: 21 + column: 6 + suggestions: null +- message: Expected shorthand directive. + line: 23 + column: 6 + suggestions: null diff --git a/tests/fixtures/rules/shorthand-directive/invalid/never/test01-errors.json b/tests/fixtures/rules/shorthand-directive/invalid/never/test01-errors.json deleted file mode 100644 index 063812205..000000000 --- a/tests/fixtures/rules/shorthand-directive/invalid/never/test01-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Expected regular directive syntax.", - "line": 8, - "column": 8 - }, - { - "message": "Expected regular directive syntax.", - "line": 9, - "column": 6 - }, - { - "message": "Expected regular directive syntax.", - "line": 10, - "column": 6 - } -] diff --git a/tests/fixtures/rules/shorthand-directive/invalid/never/test01-errors.yaml b/tests/fixtures/rules/shorthand-directive/invalid/never/test01-errors.yaml new file mode 100644 index 000000000..6e7e90048 --- /dev/null +++ b/tests/fixtures/rules/shorthand-directive/invalid/never/test01-errors.yaml @@ -0,0 +1,12 @@ +- message: Expected regular directive syntax. + line: 8 + column: 8 + suggestions: null +- message: Expected regular directive syntax. + line: 9 + column: 6 + suggestions: null +- message: Expected regular directive syntax. + line: 10 + column: 6 + suggestions: null diff --git a/tests/fixtures/rules/shorthand-directive/invalid/test01-errors.json b/tests/fixtures/rules/shorthand-directive/invalid/test01-errors.json deleted file mode 100644 index 39baee195..000000000 --- a/tests/fixtures/rules/shorthand-directive/invalid/test01-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Expected shorthand directive.", - "line": 14, - "column": 8 - }, - { - "message": "Expected shorthand directive.", - "line": 16, - "column": 6 - }, - { - "message": "Expected shorthand directive.", - "line": 18, - "column": 6 - } -] diff --git a/tests/fixtures/rules/shorthand-directive/invalid/test01-errors.yaml b/tests/fixtures/rules/shorthand-directive/invalid/test01-errors.yaml new file mode 100644 index 000000000..8213d1777 --- /dev/null +++ b/tests/fixtures/rules/shorthand-directive/invalid/test01-errors.yaml @@ -0,0 +1,12 @@ +- message: Expected shorthand directive. + line: 14 + column: 8 + suggestions: null +- message: Expected shorthand directive. + line: 16 + column: 6 + suggestions: null +- message: Expected shorthand directive. + line: 18 + column: 6 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-errors.json b/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-errors.json deleted file mode 100644 index 988e2ceca..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-errors.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "message": "Attribute 'b-foo' should go before 'a-foo'.", - "line": 1, - "column": 12 - }, - { - "message": "Attribute 'c-foo' should go before 'a-foo'.", - "line": 1, - "column": 18 - }, - { - "message": "Attribute 'c-b' should go before 'c-c'.", - "line": 4, - "column": 10 - }, - { - "message": "Attribute 'c-a' should go before 'c-c'.", - "line": 4, - "column": 14 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-errors.yaml new file mode 100644 index 000000000..28beeb1e4 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/alphabetical-test-errors.yaml @@ -0,0 +1,16 @@ +- message: Attribute 'b-foo' should go before 'a-foo'. + line: 1 + column: 12 + suggestions: null +- message: Attribute 'c-foo' should go before 'a-foo'. + line: 1 + column: 18 + suggestions: null +- message: Attribute 'c-b' should go before 'c-c'. + line: 4 + column: 10 + suggestions: null +- message: Attribute 'c-a' should go before 'c-c'. + line: 4 + column: 14 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/class-test-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/class-test-errors.json deleted file mode 100644 index bbdc44048..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/class-test-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Attribute 'class:a' should go before 'class:b'.", - "line": 6, - "column": 26 - }, - { - "message": "Attribute 'class' should go before 'class:a'.", - "line": 7, - "column": 14 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/class-test-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/class-test-errors.yaml new file mode 100644 index 000000000..5710b85fb --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/class-test-errors.yaml @@ -0,0 +1,8 @@ +- message: Attribute 'class:a' should go before 'class:b'. + line: 6 + column: 26 + suggestions: null +- message: Attribute 'class' should go before 'class:a'. + line: 7 + column: 14 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-errors.json deleted file mode 100644 index ede0e8205..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-errors.json +++ /dev/null @@ -1,72 +0,0 @@ -[ - { - "message": "Attribute 'this' should go before 'bind:value'.", - "line": 19, - "column": 3 - }, - { - "message": "Attribute 'def' should go before 'bind:value'.", - "line": 21, - "column": 3 - }, - { - "message": "Attribute 'data-foo' should go before 'bind:value'.", - "line": 22, - "column": 3 - }, - { - "message": "Attribute 'abc' should go before 'bind:value'.", - "line": 23, - "column": 3 - }, - { - "message": "Attribute '--style-props' should go before 'bind:value'.", - "line": 25, - "column": 3 - }, - { - "message": "Attribute 'bind:this' should go before 'id'.", - "line": 29, - "column": 3 - }, - { - "message": "Attribute 'class:disable' should go before 'class:enable'.", - "line": 34, - "column": 3 - }, - { - "message": "Attribute 'use:action' should go before 'animate:name'.", - "line": 36, - "column": 3 - }, - { - "message": "Attribute 'transition:fn' should go before 'animate:name'.", - "line": 37, - "column": 3 - }, - { - "message": "Attribute 'bind:value' should go before 'animate:name'.", - "line": 38, - "column": 3 - }, - { - "message": "Attribute 'in:fn' should go before 'animate:name'.", - "line": 39, - "column": 3 - }, - { - "message": "Attribute 'out:fn' should go before 'animate:name'.", - "line": 40, - "column": 3 - }, - { - "message": "Attribute 'abc' should go before 'def'.", - "line": 42, - "column": 28 - }, - { - "message": "Attribute 'data-foo' should go before 'def'.", - "line": 42, - "column": 34 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-errors.yaml new file mode 100644 index 000000000..d730037e6 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01-errors.yaml @@ -0,0 +1,56 @@ +- message: Attribute 'this' should go before 'bind:value'. + line: 19 + column: 3 + suggestions: null +- message: Attribute 'def' should go before 'bind:value'. + line: 21 + column: 3 + suggestions: null +- message: Attribute 'data-foo' should go before 'bind:value'. + line: 22 + column: 3 + suggestions: null +- message: Attribute 'abc' should go before 'bind:value'. + line: 23 + column: 3 + suggestions: null +- message: Attribute '--style-props' should go before 'bind:value'. + line: 25 + column: 3 + suggestions: null +- message: Attribute 'bind:this' should go before 'id'. + line: 29 + column: 3 + suggestions: null +- message: Attribute 'class:disable' should go before 'class:enable'. + line: 34 + column: 3 + suggestions: null +- message: Attribute 'use:action' should go before 'animate:name'. + line: 36 + column: 3 + suggestions: null +- message: Attribute 'transition:fn' should go before 'animate:name'. + line: 37 + column: 3 + suggestions: null +- message: Attribute 'bind:value' should go before 'animate:name'. + line: 38 + column: 3 + suggestions: null +- message: Attribute 'in:fn' should go before 'animate:name'. + line: 39 + column: 3 + suggestions: null +- message: Attribute 'out:fn' should go before 'animate:name'. + line: 40 + column: 3 + suggestions: null +- message: Attribute 'abc' should go before 'def'. + line: 42 + column: 28 + suggestions: null +- message: Attribute 'data-foo' should go before 'def'. + line: 42 + column: 34 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-errors.json deleted file mode 100644 index 38aff95b0..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-errors.json +++ /dev/null @@ -1,47 +0,0 @@ -[ - { - "message": "Attribute 'def' should go before 'bind:value'.", - "line": 20, - "column": 3 - }, - { - "message": "Attribute 'data-foo' should go before 'bind:value'.", - "line": 21, - "column": 3 - }, - { - "message": "Attribute 'abc' should go before 'bind:value'.", - "line": 22, - "column": 3 - }, - { - "message": "Attribute '--style-props' should go before 'bind:value'.", - "line": 24, - "column": 3 - }, - { - "message": "Attribute 'transition:fn' should go before 'animate:name'.", - "line": 36, - "column": 3 - }, - { - "message": "Attribute 'bind:value' should go before 'use:action'.", - "line": 37, - "column": 3 - }, - { - "message": "Attribute 'in:fn' should go before 'animate:name'.", - "line": 38, - "column": 3 - }, - { - "message": "Attribute 'out:fn' should go before 'animate:name'.", - "line": 39, - "column": 3 - }, - { - "message": "Attribute 'data-foo' should go before 'def'.", - "line": 41, - "column": 34 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-errors.yaml new file mode 100644 index 000000000..765453885 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix1-errors.yaml @@ -0,0 +1,36 @@ +- message: Attribute 'def' should go before 'bind:value'. + line: 20 + column: 3 + suggestions: null +- message: Attribute 'data-foo' should go before 'bind:value'. + line: 21 + column: 3 + suggestions: null +- message: Attribute 'abc' should go before 'bind:value'. + line: 22 + column: 3 + suggestions: null +- message: Attribute '--style-props' should go before 'bind:value'. + line: 24 + column: 3 + suggestions: null +- message: Attribute 'transition:fn' should go before 'animate:name'. + line: 36 + column: 3 + suggestions: null +- message: Attribute 'bind:value' should go before 'use:action'. + line: 37 + column: 3 + suggestions: null +- message: Attribute 'in:fn' should go before 'animate:name'. + line: 38 + column: 3 + suggestions: null +- message: Attribute 'out:fn' should go before 'animate:name'. + line: 39 + column: 3 + suggestions: null +- message: Attribute 'data-foo' should go before 'def'. + line: 41 + column: 34 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-errors.json deleted file mode 100644 index 7cb5bd7c2..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-errors.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "message": "Attribute 'data-foo' should go before 'def'.", - "line": 21, - "column": 3 - }, - { - "message": "Attribute 'abc' should go before 'def'.", - "line": 22, - "column": 3 - }, - { - "message": "Attribute '--style-props' should go before 'def'.", - "line": 24, - "column": 3 - }, - { - "message": "Attribute 'transition:fn' should go before 'animate:name'.", - "line": 37, - "column": 3 - }, - { - "message": "Attribute 'in:fn' should go before 'animate:name'.", - "line": 38, - "column": 3 - }, - { - "message": "Attribute 'out:fn' should go before 'animate:name'.", - "line": 39, - "column": 3 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-errors.yaml new file mode 100644 index 000000000..d1e2d954c --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix2-errors.yaml @@ -0,0 +1,24 @@ +- message: Attribute 'data-foo' should go before 'def'. + line: 21 + column: 3 + suggestions: null +- message: Attribute 'abc' should go before 'def'. + line: 22 + column: 3 + suggestions: null +- message: Attribute '--style-props' should go before 'def'. + line: 24 + column: 3 + suggestions: null +- message: Attribute 'transition:fn' should go before 'animate:name'. + line: 37 + column: 3 + suggestions: null +- message: Attribute 'in:fn' should go before 'animate:name'. + line: 38 + column: 3 + suggestions: null +- message: Attribute 'out:fn' should go before 'animate:name'. + line: 39 + column: 3 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-errors.json deleted file mode 100644 index 14b0ca0ee..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-errors.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "message": "Attribute 'abc' should go before 'data-foo'.", - "line": 22, - "column": 3 - }, - { - "message": "Attribute '--style-props' should go before 'data-foo'.", - "line": 24, - "column": 3 - }, - { - "message": "Attribute 'in:fn' should go before 'animate:name'.", - "line": 38, - "column": 3 - }, - { - "message": "Attribute 'out:fn' should go before 'animate:name'.", - "line": 39, - "column": 3 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-errors.yaml new file mode 100644 index 000000000..189d1e6e7 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix3-errors.yaml @@ -0,0 +1,16 @@ +- message: Attribute 'abc' should go before 'data-foo'. + line: 22 + column: 3 + suggestions: null +- message: Attribute '--style-props' should go before 'data-foo'. + line: 24 + column: 3 + suggestions: null +- message: Attribute 'in:fn' should go before 'animate:name'. + line: 38 + column: 3 + suggestions: null +- message: Attribute 'out:fn' should go before 'animate:name'. + line: 39 + column: 3 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-errors.json deleted file mode 100644 index c1f2208b9..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Attribute '--style-props' should go before 'abc'.", - "line": 24, - "column": 3 - }, - { - "message": "Attribute 'out:fn' should go before 'animate:name'.", - "line": 39, - "column": 3 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-errors.yaml new file mode 100644 index 000000000..b17b79374 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/default-test01fix4-errors.yaml @@ -0,0 +1,8 @@ +- message: Attribute '--style-props' should go before 'abc'. + line: 24 + column: 3 + suggestions: null +- message: Attribute 'out:fn' should go before 'animate:name'. + line: 39 + column: 3 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-errors.json deleted file mode 100644 index 837ac7d3d..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Attribute 'in:b' should go before 'out:a'.", - "line": 6, - "column": 12 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-errors.yaml new file mode 100644 index 000000000..e745a086c --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/in-out-test-errors.yaml @@ -0,0 +1,4 @@ +- message: Attribute 'in:b' should go before 'out:a'. + line: 6 + column: 12 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/let-test-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/let-test-errors.json deleted file mode 100644 index 73225e9f8..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/let-test-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Attribute 'items' should go before 'let:a'.", - "line": 6, - "column": 26 - }, - { - "message": "Attribute 'items' should go before 'let:a'.", - "line": 10, - "column": 41 - }, - { - "message": "Attribute 'let:a' should go before 'let:b'.", - "line": 14, - "column": 35 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/let-test-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/let-test-errors.yaml new file mode 100644 index 000000000..e3d320c78 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/let-test-errors.yaml @@ -0,0 +1,12 @@ +- message: Attribute 'items' should go before 'let:a'. + line: 6 + column: 26 + suggestions: null +- message: Attribute 'items' should go before 'let:a'. + line: 10 + column: 41 + suggestions: null +- message: Attribute 'let:a' should go before 'let:b'. + line: 14 + column: 35 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-errors.json deleted file mode 100644 index b995771ee..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Attribute 'slot' should go before 'let:item'.", - "line": 7, - "column": 30 - }, - { - "message": "Attribute 'slot' should go before 'class'.", - "line": 8, - "column": 21 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-errors.yaml new file mode 100644 index 000000000..a63b88eb3 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/slot-test-errors.yaml @@ -0,0 +1,8 @@ +- message: Attribute 'slot' should go before 'let:item'. + line: 7 + column: 30 + suggestions: null +- message: Attribute 'slot' should go before 'class'. + line: 8 + column: 21 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-errors.json deleted file mode 100644 index 6cd08148f..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Attribute 'c' should go before 'd'.", - "line": 5, - "column": 8 - }, - { - "message": "Attribute 'a' should go before 'b'.", - "line": 5, - "column": 23 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-errors.yaml new file mode 100644 index 000000000..af96851a1 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/spread-test01-errors.yaml @@ -0,0 +1,8 @@ +- message: Attribute 'c' should go before 'd'. + line: 5 + column: 8 + suggestions: null +- message: Attribute 'a' should go before 'b'. + line: 5 + column: 23 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-errors.json deleted file mode 100644 index ea248ec98..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Attribute 'id' should go before 'a'.", - "line": 5, - "column": 23 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-errors.yaml new file mode 100644 index 000000000..78a21db3e --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/spread-test02-errors.yaml @@ -0,0 +1,4 @@ +- message: Attribute 'id' should go before 'a'. + line: 5 + column: 23 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-errors.json deleted file mode 100644 index 1309272db..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Attribute 'e' should go before 'f'.", - "line": 5, - "column": 8 - }, - { - "message": "Attribute 'c' should go before 'd'.", - "line": 5, - "column": 23 - }, - { - "message": "Attribute 'a' should go before 'b'.", - "line": 5, - "column": 39 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-errors.yaml new file mode 100644 index 000000000..9b67f0db8 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/spread-test03-errors.yaml @@ -0,0 +1,12 @@ +- message: Attribute 'e' should go before 'f'. + line: 5 + column: 8 + suggestions: null +- message: Attribute 'c' should go before 'd'. + line: 5 + column: 23 + suggestions: null +- message: Attribute 'a' should go before 'b'. + line: 5 + column: 39 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-errors.json deleted file mode 100644 index 46473639d..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Attribute '--a' should go before '--b'.", - "line": 6, - "column": 26 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-errors.yaml new file mode 100644 index 000000000..1085e681f --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/style-ptops-test-errors.yaml @@ -0,0 +1,4 @@ +- message: Attribute '--a' should go before '--b'. + line: 6 + column: 26 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/use-test-errors.json b/tests/fixtures/rules/sort-attributes/invalid/default/use-test-errors.json deleted file mode 100644 index 103179b28..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/default/use-test-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Attribute 'use:a' should go before 'use:b'.", - "line": 6, - "column": 12 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/default/use-test-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/default/use-test-errors.yaml new file mode 100644 index 000000000..783c124e1 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/default/use-test-errors.yaml @@ -0,0 +1,4 @@ +- message: Attribute 'use:a' should go before 'use:b'. + line: 6 + column: 12 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-errors.json b/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-errors.json deleted file mode 100644 index 8a0a50c5c..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Attribute 'order-a' should go before 'order-b'.", - "line": 1, - "column": 22 - }, - { - "message": "Attribute 'order-a' should go before 'order-b'.", - "line": 4, - "column": 24 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-errors.yaml new file mode 100644 index 000000000..1e50650d7 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-test-errors.yaml @@ -0,0 +1,8 @@ +- message: Attribute 'order-a' should go before 'order-b'. + line: 1 + column: 22 + suggestions: null +- message: Attribute 'order-a' should go before 'order-b'. + line: 4 + column: 24 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-errors.json b/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-errors.json deleted file mode 100644 index 6fea157fd..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Attribute 'order-a' should go before 'order-c'.", - "line": 5, - "column": 33 - }, - { - "message": "Attribute 'order-a' should go before 'order-c'.", - "line": 8, - "column": 47 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-errors.yaml new file mode 100644 index 000000000..35a0867a4 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/ignore-no-order-with-spread-test-errors.yaml @@ -0,0 +1,8 @@ +- message: Attribute 'order-a' should go before 'order-c'. + line: 5 + column: 33 + suggestions: null +- message: Attribute 'order-a' should go before 'order-c'. + line: 8 + column: 47 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01-errors.json b/tests/fixtures/rules/sort-attributes/invalid/order/test01-errors.json deleted file mode 100644 index 7cdfb134e..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/order/test01-errors.json +++ /dev/null @@ -1,72 +0,0 @@ -[ - { - "message": "Attribute 'bind:this' should go before 'bind:data'.", - "line": 11, - "column": 24 - }, - { - "message": "Attribute 'data-foo' should go before 'bind:data'.", - "line": 11, - "column": 53 - }, - { - "message": "Attribute 'class' should go before 'class:bar'.", - "line": 14, - "column": 3 - }, - { - "message": "Attribute 'id' should go before 'class:bar'.", - "line": 15, - "column": 3 - }, - { - "message": "Attribute 'value' should go before 'bind:this'.", - "line": 17, - "column": 3 - }, - { - "message": "Attribute 'style:color' should go before 'bind:this'.", - "line": 18, - "column": 3 - }, - { - "message": "Attribute 'style' should go before 'bind:this'.", - "line": 19, - "column": 3 - }, - { - "message": "Attribute 'data-value' should go before 'bind:this'.", - "line": 20, - "column": 3 - }, - { - "message": "Attribute 'animate:name' should go before 'bind:this'.", - "line": 21, - "column": 3 - }, - { - "message": "Attribute 'in:fn' should go before 'bind:this'.", - "line": 22, - "column": 3 - }, - { - "message": "Attribute 'out:fn' should go before 'bind:this'.", - "line": 23, - "column": 3 - }, - { - "message": "Attribute 'transition:fn' should go before 'bind:this'.", - "line": 24, - "column": 3 - }, - { - "message": "Attribute 'src' should go before 'alt'.", - "line": 26, - "column": 16 - }, - { - "message": "Attribute 'id' should go before 'alt'.", - "line": 26, - "column": 22 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/order/test01-errors.yaml new file mode 100644 index 000000000..6340de33a --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/order/test01-errors.yaml @@ -0,0 +1,56 @@ +- message: Attribute 'bind:this' should go before 'bind:data'. + line: 11 + column: 24 + suggestions: null +- message: Attribute 'data-foo' should go before 'bind:data'. + line: 11 + column: 53 + suggestions: null +- message: Attribute 'class' should go before 'class:bar'. + line: 14 + column: 3 + suggestions: null +- message: Attribute 'id' should go before 'class:bar'. + line: 15 + column: 3 + suggestions: null +- message: Attribute 'value' should go before 'bind:this'. + line: 17 + column: 3 + suggestions: null +- message: Attribute 'style:color' should go before 'bind:this'. + line: 18 + column: 3 + suggestions: null +- message: Attribute 'style' should go before 'bind:this'. + line: 19 + column: 3 + suggestions: null +- message: Attribute 'data-value' should go before 'bind:this'. + line: 20 + column: 3 + suggestions: null +- message: Attribute 'animate:name' should go before 'bind:this'. + line: 21 + column: 3 + suggestions: null +- message: Attribute 'in:fn' should go before 'bind:this'. + line: 22 + column: 3 + suggestions: null +- message: Attribute 'out:fn' should go before 'bind:this'. + line: 23 + column: 3 + suggestions: null +- message: Attribute 'transition:fn' should go before 'bind:this'. + line: 24 + column: 3 + suggestions: null +- message: Attribute 'src' should go before 'alt'. + line: 26 + column: 16 + suggestions: null +- message: Attribute 'id' should go before 'alt'. + line: 26 + column: 22 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-errors.json b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-errors.json deleted file mode 100644 index 2b25b6681..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-errors.json +++ /dev/null @@ -1,52 +0,0 @@ -[ - { - "message": "Attribute 'data-foo' should go before 'bind:this'.", - "line": 11, - "column": 53 - }, - { - "message": "Attribute 'id' should go before 'class'.", - "line": 15, - "column": 3 - }, - { - "message": "Attribute 'style:color' should go before 'bind:this'.", - "line": 18, - "column": 3 - }, - { - "message": "Attribute 'style' should go before 'bind:this'.", - "line": 19, - "column": 3 - }, - { - "message": "Attribute 'data-value' should go before 'bind:this'.", - "line": 20, - "column": 3 - }, - { - "message": "Attribute 'animate:name' should go before 'bind:this'.", - "line": 21, - "column": 3 - }, - { - "message": "Attribute 'in:fn' should go before 'bind:this'.", - "line": 22, - "column": 3 - }, - { - "message": "Attribute 'out:fn' should go before 'bind:this'.", - "line": 23, - "column": 3 - }, - { - "message": "Attribute 'transition:fn' should go before 'bind:this'.", - "line": 24, - "column": 3 - }, - { - "message": "Attribute 'id' should go before 'src'.", - "line": 26, - "column": 22 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-errors.yaml new file mode 100644 index 000000000..d47ecd068 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix1-errors.yaml @@ -0,0 +1,40 @@ +- message: Attribute 'data-foo' should go before 'bind:this'. + line: 11 + column: 53 + suggestions: null +- message: Attribute 'id' should go before 'class'. + line: 15 + column: 3 + suggestions: null +- message: Attribute 'style:color' should go before 'bind:this'. + line: 18 + column: 3 + suggestions: null +- message: Attribute 'style' should go before 'bind:this'. + line: 19 + column: 3 + suggestions: null +- message: Attribute 'data-value' should go before 'bind:this'. + line: 20 + column: 3 + suggestions: null +- message: Attribute 'animate:name' should go before 'bind:this'. + line: 21 + column: 3 + suggestions: null +- message: Attribute 'in:fn' should go before 'bind:this'. + line: 22 + column: 3 + suggestions: null +- message: Attribute 'out:fn' should go before 'bind:this'. + line: 23 + column: 3 + suggestions: null +- message: Attribute 'transition:fn' should go before 'bind:this'. + line: 24 + column: 3 + suggestions: null +- message: Attribute 'id' should go before 'src'. + line: 26 + column: 22 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-errors.json b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-errors.json deleted file mode 100644 index d2db1dc80..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-errors.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "message": "Attribute 'style' should go before 'style:color'.", - "line": 19, - "column": 3 - }, - { - "message": "Attribute 'data-value' should go before 'style:color'.", - "line": 20, - "column": 3 - }, - { - "message": "Attribute 'animate:name' should go before 'bind:this'.", - "line": 21, - "column": 3 - }, - { - "message": "Attribute 'in:fn' should go before 'bind:this'.", - "line": 22, - "column": 3 - }, - { - "message": "Attribute 'out:fn' should go before 'bind:this'.", - "line": 23, - "column": 3 - }, - { - "message": "Attribute 'transition:fn' should go before 'bind:this'.", - "line": 24, - "column": 3 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-errors.yaml new file mode 100644 index 000000000..f0552f445 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix2-errors.yaml @@ -0,0 +1,24 @@ +- message: Attribute 'style' should go before 'style:color'. + line: 19 + column: 3 + suggestions: null +- message: Attribute 'data-value' should go before 'style:color'. + line: 20 + column: 3 + suggestions: null +- message: Attribute 'animate:name' should go before 'bind:this'. + line: 21 + column: 3 + suggestions: null +- message: Attribute 'in:fn' should go before 'bind:this'. + line: 22 + column: 3 + suggestions: null +- message: Attribute 'out:fn' should go before 'bind:this'. + line: 23 + column: 3 + suggestions: null +- message: Attribute 'transition:fn' should go before 'bind:this'. + line: 24 + column: 3 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-errors.json b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-errors.json deleted file mode 100644 index ed8de2867..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-errors.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "message": "Attribute 'data-value' should go before 'style'.", - "line": 20, - "column": 3 - }, - { - "message": "Attribute 'animate:name' should go before 'bind:this'.", - "line": 21, - "column": 3 - }, - { - "message": "Attribute 'in:fn' should go before 'bind:this'.", - "line": 22, - "column": 3 - }, - { - "message": "Attribute 'out:fn' should go before 'bind:this'.", - "line": 23, - "column": 3 - }, - { - "message": "Attribute 'transition:fn' should go before 'bind:this'.", - "line": 24, - "column": 3 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-errors.yaml new file mode 100644 index 000000000..2c0be9694 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix3-errors.yaml @@ -0,0 +1,20 @@ +- message: Attribute 'data-value' should go before 'style'. + line: 20 + column: 3 + suggestions: null +- message: Attribute 'animate:name' should go before 'bind:this'. + line: 21 + column: 3 + suggestions: null +- message: Attribute 'in:fn' should go before 'bind:this'. + line: 22 + column: 3 + suggestions: null +- message: Attribute 'out:fn' should go before 'bind:this'. + line: 23 + column: 3 + suggestions: null +- message: Attribute 'transition:fn' should go before 'bind:this'. + line: 24 + column: 3 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-errors.json b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-errors.json deleted file mode 100644 index 523a19277..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-errors.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "message": "Attribute 'animate:name' should go before 'bind:this'.", - "line": 21, - "column": 3 - }, - { - "message": "Attribute 'in:fn' should go before 'bind:this'.", - "line": 22, - "column": 3 - }, - { - "message": "Attribute 'out:fn' should go before 'bind:this'.", - "line": 23, - "column": 3 - }, - { - "message": "Attribute 'transition:fn' should go before 'bind:this'.", - "line": 24, - "column": 3 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-errors.yaml new file mode 100644 index 000000000..31a0332f2 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix4-errors.yaml @@ -0,0 +1,16 @@ +- message: Attribute 'animate:name' should go before 'bind:this'. + line: 21 + column: 3 + suggestions: null +- message: Attribute 'in:fn' should go before 'bind:this'. + line: 22 + column: 3 + suggestions: null +- message: Attribute 'out:fn' should go before 'bind:this'. + line: 23 + column: 3 + suggestions: null +- message: Attribute 'transition:fn' should go before 'bind:this'. + line: 24 + column: 3 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-errors.json b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-errors.json deleted file mode 100644 index cb6ccd134..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Attribute 'in:fn' should go before 'bind:this'.", - "line": 22, - "column": 3 - }, - { - "message": "Attribute 'out:fn' should go before 'bind:this'.", - "line": 23, - "column": 3 - }, - { - "message": "Attribute 'transition:fn' should go before 'bind:this'.", - "line": 24, - "column": 3 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-errors.yaml new file mode 100644 index 000000000..1291db70f --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix5-errors.yaml @@ -0,0 +1,12 @@ +- message: Attribute 'in:fn' should go before 'bind:this'. + line: 22 + column: 3 + suggestions: null +- message: Attribute 'out:fn' should go before 'bind:this'. + line: 23 + column: 3 + suggestions: null +- message: Attribute 'transition:fn' should go before 'bind:this'. + line: 24 + column: 3 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-errors.json b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-errors.json deleted file mode 100644 index 19f5e3b30..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Attribute 'out:fn' should go before 'bind:this'.", - "line": 23, - "column": 3 - }, - { - "message": "Attribute 'transition:fn' should go before 'in:fn'.", - "line": 24, - "column": 3 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-errors.yaml new file mode 100644 index 000000000..5e12dcd49 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix6-errors.yaml @@ -0,0 +1,8 @@ +- message: Attribute 'out:fn' should go before 'bind:this'. + line: 23 + column: 3 + suggestions: null +- message: Attribute 'transition:fn' should go before 'in:fn'. + line: 24 + column: 3 + suggestions: null diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-errors.json b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-errors.json deleted file mode 100644 index c48445275..000000000 --- a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-errors.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "message": "Attribute 'out:fn' should go before 'bind:this'.", - "line": 24, - "column": 3 - } -] diff --git a/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-errors.yaml b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-errors.yaml new file mode 100644 index 000000000..0e3aecf90 --- /dev/null +++ b/tests/fixtures/rules/sort-attributes/invalid/order/test01fix7-errors.yaml @@ -0,0 +1,4 @@ +- message: Attribute 'out:fn' should go before 'bind:this'. + line: 24 + column: 3 + suggestions: null diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-errors.json b/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-errors.json deleted file mode 100644 index 18187eff8..000000000 --- a/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Expected space or tab after '' in comment.", - "line": 1, - "column": 1 - } -] diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-errors.yaml b/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-errors.yaml new file mode 100644 index 000000000..11f33544b --- /dev/null +++ b/tests/fixtures/rules/spaced-html-comment/invalid/always/always-invalid-errors.yaml @@ -0,0 +1,8 @@ +- message: Expected space or tab after '' in comment. + line: 1 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-errors.json b/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-errors.json deleted file mode 100644 index 18187eff8..000000000 --- a/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-errors.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "message": "Expected space or tab after '' in comment.", - "line": 1, - "column": 1 - } -] diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-errors.yaml b/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-errors.yaml new file mode 100644 index 000000000..11f33544b --- /dev/null +++ b/tests/fixtures/rules/spaced-html-comment/invalid/default/default-invalid-errors.yaml @@ -0,0 +1,8 @@ +- message: Expected space or tab after '' in comment. + line: 1 + column: 1 + suggestions: null diff --git a/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-errors.json b/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-errors.json deleted file mode 100644 index b607ccd49..000000000 --- a/tests/fixtures/rules/spaced-html-comment/invalid/never/never-invalid-errors.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "message": "Unexpected space or tab after '' in comment.", - "line": 2, - "column": 1 - }, - { - "message": "Unexpected space or tab after '' in comment. + line: 2 + column: 1 + suggestions: null +- message: Unexpected space or tab after '