Skip to content

Commit 6d51678

Browse files
committed
Disable some linters, add dictionary
1 parent a4ed3da commit 6d51678

File tree

17 files changed

+634
-103
lines changed

17 files changed

+634
-103
lines changed

.cspell.json

Lines changed: 551 additions & 1 deletion
Large diffs are not rendered by default.

.github/workflows/main.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,24 @@ on:
77

88
jobs:
99
build:
10-
1110
runs-on: ubuntu-latest
1211

1312
steps:
14-
- name: Checkout main
15-
uses: actions/checkout@v2
16-
17-
- name: Setup Hugo
18-
uses: peaceiris/actions-hugo@v2
19-
with:
20-
hugo-version: '0.86.0'
21-
extended: true
22-
23-
- name: Build
24-
run: hugo --minify
13+
- name: Checkout main
14+
uses: actions/checkout@v2
15+
16+
- name: Setup Hugo
17+
uses: peaceiris/actions-hugo@v2
18+
with:
19+
hugo-version: "0.86.0"
20+
extended: true
21+
22+
- name: Build
23+
run: hugo --minify
2524

26-
- name: Hugo Deploy GitHub Pages
27-
uses: peaceiris/actions-gh-pages@v3
28-
with:
29-
personal_token: ${{ secrets.TOKEN }}
30-
external_repository: QuantumPL/bib
31-
publish_dir: ./public
25+
- name: Hugo Deploy GitHub Pages
26+
uses: peaceiris/actions-gh-pages@v3
27+
with:
28+
personal_token: ${{ secrets.TOKEN }}
29+
external_repository: QuantumPL/bib
30+
publish_dir: ./public

.github/workflows/mega-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
id: ml
3737
# You can override MegaLinter flavor used to have faster performances
3838
# More info at https://megalinter.github.io/flavors/
39-
uses: megalinter/megalinter@v5
39+
uses: megalinter/megalinter/flavors/documentation@v5
4040
env:
4141
# All available variables are described in documentation
4242
# https://megalinter.github.io/configuration/

.jscpd.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.mega-linter.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@ APPLY_FIXES: all # all, none, or list of linter keys
55
# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling-formats will be disabled by default
66
# ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default
77
# DISABLE:
8-
# - COPYPASTE # Uncomment to disable checks of excessive copy-pastes
8+
- COPYPASTE # Uncomment to disable checks of excessive copy-pastes
99
# - SPELL # Uncomment to disable checks of spelling mistakes
10+
DISABLE_LINTERS:
11+
- CSS_STYLELINT
12+
- EDITORCONFIG_EDITORCONFIG_CHECKER
13+
- HTML_HTMLHINT
14+
- JSON_ESLINT_PLUGIN_JSONC
15+
- JSON_JSONLINT
16+
- JSON_PRETTIER
17+
- MARKDOWN_MARKDOWN_LINK_CHECK
1018
SHOW_ELAPSED_TIME: false
1119
FILEIO_REPORTER: false
1220
# DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MIT License
1+
# MIT License
22

33
Copyright (c) 2021-present QuantumPL
44

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Hugo-based website for Quantum PL and Verification Bibliography
22

3-
See it rendered at https://quantumpl.github.io/bib/
3+
See it rendered at <https://quantumpl.github.io/bib/>
44

5-
This repo is only used to generate the website. If you would like to contribute to the bibliography, please send PRs/file issues at https://github.com/QuantumPL/bib
5+
This repo is only used to generate the website. If you would like to contribute to the bibliography, please send PRs/file issues at <https://github.com/QuantumPL/bib>

config/_default/config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/
55

66
title: Quantum PL & Verification Bibliography # Website name
7-
baseurl: 'https://quantumpl.github.io/bib/' # Website URL
8-
copyright: '' # Footer text, e.g. '© {year} Me'
7+
baseurl: "https://quantumpl.github.io/bib/" # Website URL
8+
copyright: "" # Footer text, e.g. '© {year} Me'
99

1010
############################
1111
## LANGUAGE
@@ -25,7 +25,7 @@ module:
2525
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms
2626
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy
2727
hugoVersion:
28-
min: '0.84.1'
28+
min: "0.84.1"
2929
extended: true
3030

3131
############################
@@ -40,11 +40,11 @@ enableRobotsTXT: true
4040
footnotereturnlinkcontents: <sup>^</sup>
4141
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
4242
permalinks:
43-
authors: '/author/:slug/'
44-
tags: '/tag/:slug/'
45-
categories: '/category/:slug/'
46-
publication_types: '/publication-type/:slug/'
47-
disableAliases: true
43+
authors: "/author/:slug/"
44+
tags: "/tag/:slug/"
45+
categories: "/category/:slug/"
46+
publication_types: "/publication-type/:slug/"
47+
disableAliases: false
4848
disablePathToLower: true
4949
outputs:
5050
home: [HTML, RSS, JSON, headers, redirects]

config/_default/languages.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ en:
77
languageCode: en-us
88
# Uncomment for multi-lingual sites, and move English content into `en` sub-folder.
99
#contentDir: content/en
10-
1110
# Uncomment the lines below to configure your website in a second language.
1211
#zh:
1312
# languageCode: zh-Hans

config/_default/params.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ font_size: L
1313
# SEO
1414

1515
site_type: Organization
16-
local_business_type: ''
17-
org_name: 'Quantum PL & Verification Bibliography'
16+
local_business_type: ""
17+
org_name: "Quantum PL & Verification Bibliography"
1818
description: Quantum Programming Languages & Verification Bibliography
19-
twitter: 'Quantum Programming Languages & Verification Bibliography'
19+
twitter: "Quantum Programming Languages & Verification Bibliography"
2020

2121
# Contact (edit or remove options as required)
2222

@@ -56,8 +56,8 @@ main_menu:
5656

5757
# Localization
5858

59-
date_format: 'Jan 2, 2006'
60-
time_format: '3:04 PM'
59+
date_format: "Jan 2, 2006"
60+
time_format: "3:04 PM"
6161
address_format: en-us
6262

6363
# Site features
@@ -79,7 +79,7 @@ copyright_license:
7979
allow_derivatives: false
8080
share_alike: true
8181
allow_commercial: false
82-
notice: 'This work is licensed under {license}'
82+
notice: "This work is licensed under {license}"
8383
plugins_js: []
8484
avatar:
8585
gravatar: false
@@ -92,7 +92,7 @@ projects:
9292
publication_view: 2
9393
talk_view: 2
9494
comments:
95-
provider: ''
95+
provider: ""
9696
commentable:
9797
page: true
9898
post: true
@@ -101,30 +101,30 @@ comments:
101101
publication: true
102102
talk: true
103103
disqus:
104-
shortname: ''
104+
shortname: ""
105105
show_count: true
106106
commento:
107-
url: ''
107+
url: ""
108108
search:
109109
provider: wowchemy
110110
wowchemy:
111-
min_length: 2 # Only the matches whose length exceeds this value will be returned.
112-
threshold: 0.2 # Where 0 requires a perfect match and 1 matches anything.
111+
min_length: 2 # Only the matches whose length exceeds this value will be returned.
112+
threshold: 0.2 # Where 0 requires a perfect match and 1 matches anything.
113113
algolia:
114-
app_id: ''
115-
api_key: ''
116-
index_name: ''
114+
app_id: ""
115+
api_key: ""
116+
index_name: ""
117117
show_logo: false
118118
map:
119119
provider: mapnik
120-
api_key: ''
120+
api_key: ""
121121
zoom: 15
122122
marketing:
123-
google_analytics: ''
124-
google_tag_manager: ''
125-
google_site_verification: ''
126-
baidu_site_verification: ''
127-
baidu_tongji: ''
123+
google_analytics: ""
124+
google_tag_manager: ""
125+
google_site_verification: ""
126+
baidu_site_verification: ""
127+
baidu_tongji: ""
128128
cms:
129129
branch: main
130130
local_backend: false

0 commit comments

Comments
 (0)