extends:
    ".eslint-default-config.yml"

rules:
    camelcase: [2, {"properties": "always"}]
    comma-dangle: [2, "never"]
    dot-location: [2, "property"]
    lines-around-comment: 0
    newline-after-var: 0
    no-alert: 2
    no-console: 2
    no-debugger: 2
    no-else-return: 2
    no-unmodified-loop-condition: 0
    object-curly-spacing: [2, "always"]
    operator-linebreak: [2, "after"]
    space-before-function-paren: [2, {"anonymous": "always", "named": "never"}] # JSLint style
    strict: 0
    quotes: [2, "single"]

    no-trailing-spaces: ["error", { "skipBlankLines": true }]
    indent: ["error", "tab", {SwitchCase: 1}]
    no-nested-ternary: 0
    no-invalid-this: 0
    eol-last: 0
    require-jsdoc: 0
    brace-style: [2, "1tbs", { "allowSingleLine": true }]
    wrap-iife: [2, "any"]