.eslintrc.json

Thu, 16 May 2024 14:51:53 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 16 May 2024 14:51:53 -0500
changeset 1167
f5f84f890974
parent 263
ae3ccd3bd949
permissions
-rw-r--r--

Update for neovim 0.10

Drop editorconfig (added to 0.9)
Gate pull_diags (added to 0.10)

{
  "extends": "eslint:recommended",
  "rules": {
    "semi":                        [2, "never"],
    "space-before-function-paren": [2, "never"],
    "space-in-parens":             [2],
    "brace-style":                 [2, "stroustrup", { "allowSingleLine": true }],
    "quotes":                      [2, "single", "avoid-escape"],
    "curly":                       [2, "multi-or-nest", "consistent"],
    "object-curly-spacing":        [2],
    "array-bracket-spacing":       [2],
    "keyword-spacing":             [2],
    "comma-spacing":               [2],
    "no-else-return":              [2],
    "comma-dangle":                [1, "always-multiline"],
    "eqeqeq":                      [1, "smart"],
    "no-extra-bind":               [1],
    "no-console":                  [0]
  }
}

mercurial