-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.js
32 lines (30 loc) · 908 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"use strict";
module.exports = {
root: true,
plugins: ["eslint-plugin", "node"],
extends: [
"eslint:recommended",
"plugin:eslint-plugin/all",
"plugin:node/recommended",
],
rules: {
// style rules
"indent": ["error", 4],
"keyword-spacing": 2,
"semi": 2,
"comma-dangle": ["error", "always-multiline"],
"quotes": ["error", "double"],
// TODO: enable
"eslint-plugin/prefer-message-ids": "off",
"eslint-plugin/prefer-placeholders": "off",
"eslint-plugin/require-meta-docs-description": "off",
"eslint-plugin/require-meta-type": "off",
"eslint-plugin/require-meta-docs-url": [
"error",
{
pattern:
"https://github.com/OkCupid/eslint-plugin-i18n-lingui/blob/main/docs/rules/{{name}}.md",
},
],
},
};