.eslintrc.json

Mon, 04 Dec 2017 14:43:44 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 04 Dec 2017 14:43:44 -0500
changeset 658
69ed96c80ed0
parent 263
ae3ccd3bd949
permissions
-rw-r--r--

use the perl compiler plugin, maybe i was confused

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