forked from astriaorg/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
39 lines (39 loc) · 831 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
33
34
35
36
37
38
39
module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:mdx/recommended',
],
settings: {
"mdx/code-blocks": true,
"mdx/language-mapper": {}
},
env: {
node: true,
},
overrides: [
{
files: ['*.mdx'],
rules: {
'no-unused-expressions': 'off',
}
},
{
files: ['*.md'],
parser: 'eslint-plugin-markdownlint/parser',
extends: ['plugin:markdownlint/recommended'],
rules: {
'markdownlint/md001': "off",
'markdownlint/md013': [ 'error', {
code_block_line_length: 120,
tables: false
}],
'markdownlint/md024': [ 'error', {
allow_different_nesting: true
}
],
'markdownlint/md032': "off",
}
},
],
};