dekk-app/react-mops

View on GitHub
packages/react-mops/src/guides/guides.tsx

Summary

Maintainability
C
1 day
Test Coverage

Function Guides has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

> = React.forwardRef(({...props}, ref: React.Ref<HTMLDivElement>) => {
    const sizeRef = React.useRef<HTMLDivElement>();

    const [height, setHeight] = React.useState(0);
    const [width, setWidth] = React.useState(0);
Severity: Major
Found in packages/react-mops/src/guides/guides.tsx - About 2 hrs to fix

    Function GuidesProvider has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
    Open

    }> = ({children, guideRequests, containerSize}) => {
        const [guides, setGuides] = React.useState<Mops.Guide[]>([]);
        const addGuides = guideModels => {
            setGuides(state => {
                const newGuides = guideModels.filter(
    Severity: Minor
    Found in packages/react-mops/src/guides/guides.tsx - About 1 hr to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        const showGuides = uuids => {
            setGuides(state =>
                update(
                    state,
                    (uuids || state.map(({uuid}) => uuid)).reduce((previousValue, currentValue) => {
    Severity: Major
    Found in packages/react-mops/src/guides/guides.tsx and 1 other location - About 4 hrs to fix
    packages/react-mops/src/guides/guides.tsx on lines 71..81

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 121.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        const hideGuides = uuids => {
            setGuides(state =>
                update(
                    state,
                    (uuids || state.map(({uuid}) => uuid)).reduce((previousValue, currentValue) => {
    Severity: Major
    Found in packages/react-mops/src/guides/guides.tsx and 1 other location - About 4 hrs to fix
    packages/react-mops/src/guides/guides.tsx on lines 60..70

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 121.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    space indentation expected
    Open

        addGuides: () => {},

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        guideRequests: [],

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        updateGuide: () => {}

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                return guide.uuid === uuid;

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    : [];

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        const showGuides = uuids => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        guideRequests?: Mops.GuideRequest[];

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        const [guides, setGuides] = React.useState<Mops.Guide[]>([]);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        const addGuides = guideModels => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            setGuides(state => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            state.find(guide => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                    const index = state.findIndex(guide => guide.uuid === uuid);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    state,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            if (guideRequests) {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        hideGuides: () => {},

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                .sort(([a], [b]) => b - a)

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        return {...previousValue, [index]: {visible: {$set: true}}};

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                )

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        !Boolean(

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            })

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    ? update(state, {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                    return false;

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        };

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                update(state, {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        // tslint:disable-next-line:no-empty

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                );

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        const hideGuides = uuids => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        containerSize: Mops.ContainerSize;

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                    if (index >= 0) {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            });

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                update(

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        )

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    $push: newGuides

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        };

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        const removeGuides = uuids => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            setGuides(state => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                        return [index, 1];

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                )

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    }, {})

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        const updateGuide = partialItem => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        React.useEffect(() => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        // tslint:disable-next-line:no-empty

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        removeGuides: () => {},

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    (uuids || state.map(({uuid}) => uuid)).reduce((previousValue, currentValue) => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        $merge: partialItem

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                .map(uuid => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            setGuides(state =>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    }

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                })

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            );

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        // tslint:disable-next-line:no-empty

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                const newGuides = guideModels.filter(

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    ({uuid}) =>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                .filter(Boolean)

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        };

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                update(

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        showGuides: () => {},

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        const index = state.findIndex(({uuid}) => uuid === currentValue);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                return uuids

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                    }

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                })

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                      })

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        const index = state.findIndex(({uuid}) => uuid === currentValue);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    state,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        // tslint:disable-next-line:no-empty

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        return {...previousValue, [index]: {visible: {$set: false}}};

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        };

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        guides: [],

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        // tslint:disable-next-line:no-empty

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            $splice: uuids

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    (uuids || state.map(({uuid}) => uuid)).reduce((previousValue, currentValue) => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    [state.findIndex(({uuid}) => uuid === partialItem.uuid)]: {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                return update(state, {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            });

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            setGuides(state =>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                });

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        };

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    }

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    }

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    guides,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    showGuides,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                }}>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            </Provider>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    position: "absolute",

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    {({guides}) => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            <div

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    }, {})

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            );

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            );

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            setGuides(state =>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            y2: y

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    guideRequests,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            }

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            </div>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    " should be '
    Open

                                                stroke="hsl(50, 100%, 50%)"

    Rule: quotemark

    Enforces quote character for string literals.

    Notes
    • Has Fix

    Config

    Five arguments may be optionally provided:

    • "single" enforces single quotes.
    • "double" enforces double quotes.
    • "backtick" enforces backticks.
    • "jsx-single" enforces single quotes for JSX attributes.
    • "jsx-double" enforces double quotes for JSX attributes.
    • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
    • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
    Examples
    "quotemark": true,single,avoid-escape,avoid-template
    "quotemark": true,single,jsx-double
    Schema
    {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "single",
          "double",
          "backtick",
          "jsx-single",
          "jsx-double",
          "avoid-escape",
          "avoid-template"
        ]
      },
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            uuid,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            y1: y,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    removeGuides(uuids);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            y1: 0,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        HTMLDivElement,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            }

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        Mops.GuideProps

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        const sizeRef = React.useRef<HTMLDivElement>();

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        const [height, setHeight] = React.useState(0);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            </div>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        );

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    }}

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    " should be '
    Open

    import React from "react";

    Rule: quotemark

    Enforces quote character for string literals.

    Notes
    • Has Fix

    Config

    Five arguments may be optionally provided:

    • "single" enforces single quotes.
    • "double" enforces double quotes.
    • "backtick" enforces backticks.
    • "jsx-single" enforces single quotes for JSX attributes.
    • "jsx-double" enforces double quotes for JSX attributes.
    • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
    • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
    Examples
    "quotemark": true,single,avoid-escape,avoid-template
    "quotemark": true,single,jsx-double
    Schema
    {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "single",
          "double",
          "backtick",
          "jsx-single",
          "jsx-double",
          "avoid-escape",
          "avoid-template"
        ]
      },
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    " should be '
    Open

    import {Mops} from "../types";

    Rule: quotemark

    Enforces quote character for string literals.

    Notes
    • Has Fix

    Config

    Five arguments may be optionally provided:

    • "single" enforces single quotes.
    • "double" enforces double quotes.
    • "backtick" enforces backticks.
    • "jsx-single" enforces single quotes for JSX attributes.
    • "jsx-double" enforces double quotes for JSX attributes.
    • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
    • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
    Examples
    "quotemark": true,single,avoid-escape,avoid-template
    "quotemark": true,single,jsx-double
    Schema
    {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "single",
          "double",
          "backtick",
          "jsx-single",
          "jsx-double",
          "avoid-escape",
          "avoid-template"
        ]
      },
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    if (y !== undefined) {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                value={{

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    addGuides,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        const viewBox = `0 0 ${width} ${height}`;

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                ref={sizeRef}

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                    position: "absolute",

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                        .filter(({visible}) => visible)

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                                stroke="hsl(50, 100%, 50%)"

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    " should be '
    Open

                    position: "absolute",

    Rule: quotemark

    Enforces quote character for string literals.

    Notes
    • Has Fix

    Config

    Five arguments may be optionally provided:

    • "single" enforces single quotes.
    • "double" enforces double quotes.
    • "backtick" enforces backticks.
    • "jsx-single" enforces single quotes for JSX attributes.
    • "jsx-double" enforces double quotes for JSX attributes.
    • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
    • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
    Examples
    "quotemark": true,single,avoid-escape,avoid-template
    "quotemark": true,single,jsx-double
    Schema
    {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "single",
          "double",
          "backtick",
          "jsx-single",
          "jsx-double",
          "avoid-escape",
          "avoid-template"
        ]
      },
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            y2: containerSize.height

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                addGuides(guideModels);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        );

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        React.useEffect(() => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        return (

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    top: 0,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                const uuids = guideModels.map(({uuid}) => uuid);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        return (

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                }}>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                <Consumer>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                    top: 0

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                    {guides

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                        .map(({uuid, visible, ...guide}) => (

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        );

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            if (sizeRef && sizeRef.current) {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                style={{

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    left: 0,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                style={{

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                                {...guide}

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    " should be '
    Open

                                    position: "absolute",

    Rule: quotemark

    Enforces quote character for string literals.

    Notes
    • Has Fix

    Config

    Five arguments may be optionally provided:

    • "single" enforces single quotes.
    • "double" enforces double quotes.
    • "backtick" enforces backticks.
    • "jsx-single" enforces single quotes for JSX attributes.
    • "jsx-double" enforces double quotes for JSX attributes.
    • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
    • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
    Examples
    "quotemark": true,single,avoid-escape,avoid-template
    "quotemark": true,single,jsx-double
    Schema
    {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "single",
          "double",
          "backtick",
          "jsx-single",
          "jsx-double",
          "avoid-escape",
          "avoid-template"
        ]
      },
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    if (x !== undefined) {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        return {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                return () => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        const [width, setWidth] = React.useState(0);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                const {clientHeight, clientWidth} = sizeRef.current as HTMLDivElement;

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    " should be '
    Open

    import update from "immutability-helper";

    Rule: quotemark

    Enforces quote character for string literals.

    Notes
    • Has Fix

    Config

    Five arguments may be optionally provided:

    • "single" enforces single quotes.
    • "double" enforces double quotes.
    • "backtick" enforces backticks.
    • "jsx-single" enforces single quotes for JSX attributes.
    • "jsx-double" enforces double quotes for JSX attributes.
    • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
    • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
    Examples
    "quotemark": true,single,avoid-escape,avoid-template
    "quotemark": true,single,jsx-double
    Schema
    {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "single",
          "double",
          "backtick",
          "jsx-single",
          "jsx-double",
          "avoid-escape",
          "avoid-template"
        ]
      },
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        }, [guideRequests, containerSize]);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    zIndex: 3

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                        ))}

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    " should be '
    Open

                    pointerEvents: "none",

    Rule: quotemark

    Enforces quote character for string literals.

    Notes
    • Has Fix

    Config

    Five arguments may be optionally provided:

    • "single" enforces single quotes.
    • "double" enforces double quotes.
    • "backtick" enforces backticks.
    • "jsx-single" enforces single quotes for JSX attributes.
    • "jsx-double" enforces double quotes for JSX attributes.
    • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
    • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
    Examples
    "quotemark": true,single,avoid-escape,avoid-template
    "quotemark": true,single,jsx-double
    Schema
    {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "single",
          "double",
          "backtick",
          "jsx-single",
          "jsx-double",
          "avoid-escape",
          "avoid-template"
        ]
      },
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    hideGuides,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    updateGuide

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                {children}

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

        }, [ref, setHeight, setWidth]);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    bottom: 0,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                            <line

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                                key={uuid}

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                const guideModels = guideRequests.map(({uuid, x, y}) => {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        };

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            uuid,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            x2: containerSize.width,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                setHeight(clientHeight);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                <svg viewBox={viewBox}>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                </Consumer>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            x1: 0,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                };

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            <Provider

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                ref={ref}

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    right: 0,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                            />

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        return {

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            x1: x,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                            x2: x,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

            <div

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                                strokeWidth={2}

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                </svg>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                });

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        return (

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                    bottom: 0,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                }}>

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                        };

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    removeGuides,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                setWidth(clientWidth);

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                    pointerEvents: "none",

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                    left: 0,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    space indentation expected
    Open

                                    right: 0,

    Rule: indent

    Enforces indentation with tabs or spaces.

    Rationale

    Using only one of tabs or spaces for indentation leads to more consistent editor behavior, cleaner diffs in version control, and easier programmatic manipulation.

    Notes
    • Has Fix

    Config

    One of the following arguments must be provided:

    • spaces enforces consistent spaces.
    • tabs enforces consistent tabs.

    A second optional argument specifies indentation size:

    • 2 enforces 2 space indentation.
    • 4 enforces 4 space indentation.

    Indentation size is required for auto-fixing, but not for rule checking.

    NOTE: auto-fixing will only convert invalid indent whitespace to the desired type, it will not fix invalid whitespace sizes.

    Examples
    "indent": true,spaces
    "indent": true,spaces,4
    "indent": true,tabs,2
    Schema
    {
      "type": "array",
      "items": [
        {
          "type": "string",
          "enum": [
            "tabs",
            "spaces"
          ]
        },
        {
          "type": "number",
          "enum": [
            2,
            4
          ]
        }
      ],
      "minLength": 0,
      "maxLength": 5
    }

    For more information see this page.

    Unexpected spaces found.
    Open

                      })

    There are no issues that match your filters.

    Category
    Status