forked from eslint/archive-website
-
Notifications
You must be signed in to change notification settings - Fork 17
/
_config.yml
40 lines (40 loc) · 1.04 KB
/
_config.yml
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
name: "ESLint - Pluggable JavaScript linter"
repository: "eslint/eslint.github.io"
exclude: [
'node_modules',
'vendor'
]
description: "A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease."
url: http://eslint.org
permalink: /blog/:year/:month/:title
gems:
- jekyll-sitemap
- jekyll-redirect-from
- algoliasearch-jekyll
kramdown:
input: GFM
algolia:
application_id: 'XWXG7MEBSB'
index_name: 'eslint'
record_css_selector: p,li,tr,h1,h2,h3,h4,h5,h6
settings:
advancedSyntax: true
highlightPostTag: </mark>
highlightPreTag: <mark>
minWordSizefor1Typo: 3
minWordSizefor2Typos: 7
attributesToIndex:
- title
- text
- category,subcategory,display_title # Needed for the highlight
attributesToHighlight:
- category
- subcategory
- display_title
- text
customRanking:
- desc(weight.type)
- desc(weight.tag_name)
- asc(weight.position)
attributesToSnippet:
- text:20