.eslintrc.json

Sun, 05 Mar 2023 18:47:45 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 05 Mar 2023 18:47:45 -0500
changeset 1062
77bf3b44f6f9
parent 263
ae3ccd3bd949
permissions
-rw-r--r--

Add format-on-write for elixir and go

263
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 {
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 "extends": "eslint:recommended",
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 "rules": {
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 "semi": [2, "never"],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 "space-before-function-paren": [2, "never"],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 "space-in-parens": [2],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 "brace-style": [2, "stroustrup", { "allowSingleLine": true }],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 "quotes": [2, "single", "avoid-escape"],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 "curly": [2, "multi-or-nest", "consistent"],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 "object-curly-spacing": [2],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 "array-bracket-spacing": [2],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 "keyword-spacing": [2],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 "comma-spacing": [2],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 "no-else-return": [2],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 "comma-dangle": [1, "always-multiline"],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 "eqeqeq": [1, "smart"],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17 "no-extra-bind": [1],
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 "no-console": [0]
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 }
ae3ccd3bd949 add .eslintrc.json
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20 }

mercurial