forked from Campus-INSA-CVL/campus-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
51 lines (51 loc) · 1.26 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
module.exports = {
root: true,
env: {
browser: true,
node: true,
},
parserOptions: {
parser: 'babel-eslint',
},
extends: [
'@nuxtjs',
'plugin:prettier/recommended',
'plugin:nuxt/recommended',
'prettier',
'prettier/vue',
'plugin:md/recommended',
],
plugins: ['prettier'],
rules: {
'md/remark': [
'error',
{
// This object corresponds to object you would export in .remarkrc file
plugins: [
'preset-lint-markdown-style-guide',
['lint-no-heading-punctuation', '.,;:!?'],
'frontmatter',
// Disable rules handled by Prettier
['lint-maximum-line-length', false],
['lint-emphasis-marker', false],
['lint-list-item-indent', false],
['lint-list-item-spacing', false],
['lint-ordered-list-marker-value', false],
['lint-no-consecutive-blank-lines', false],
['lint-table-cell-padding', false],
['lint-link-title-style', false],
['lint-no-shortcut-reference-link', false],
],
},
],
},
overrides: [
{
files: ['*.md'],
parser: 'markdown-eslint-parser',
rules: {
'prettier/prettier': ['error', { parser: 'markdown' }],
},
},
],
}