Skip to content

Commit ad66690

Browse files
committed
Minor HTML semantic improvement
1 parent c1dd0b9 commit ad66690

File tree

13 files changed

+1751
-54
lines changed

13 files changed

+1751
-54
lines changed

.eslintrc

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

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
repos:
2-
- repo: git://github.com/pre-commit/pre-commit-hooks
3-
rev: v1.1.1
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
44
hooks:
55
- id: check-merge-conflict
66
- id: trailing-whitespace
77
args: [--no-markdown-linebreak-ext]
88
exclude: ^static/(csslibs/|jslibs/|bundle-)
9-
- repo: git://github.com/Lucas-C/pre-commit-hooks
10-
rev: v1.1.4
9+
- repo: https://github.com/Lucas-C/pre-commit-hooks
10+
rev: v1.5.5
1111
hooks:
1212
- id: remove-crlf
1313
- id: remove-tabs
@@ -21,7 +21,7 @@ repos:
2121
- id: eslint
2222
name: eslint
2323
language: system
24-
entry: sh -c 'eslint static/js/*.js'
24+
entry: sh -c 'eslint --fix static/js/*.js'
2525
files: ^static/js/
2626
- id: stylelint
2727
name: stylelint

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Install
5555
-------
5656
This template uses the [representative_image](https://github.com/getpelican/pelican-plugins/tree/master/representative_image) and [image_process](https://github.com/getpelican/pelican-plugins/tree/master/image_process) plugins, so you will need to:
5757

58-
./run.sh install && ./run.sh dev_install
58+
./run.sh install && ./run.sh install_dev
5959

6060

6161
Settings

eslint.config.mjs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import js from "@eslint/js";
2+
import eslintPluginUnicorn from 'eslint-plugin-unicorn'
3+
import globals from "globals"
4+
5+
export default [
6+
eslintPluginUnicorn.configs.all,
7+
{
8+
languageOptions: {
9+
globals: {
10+
...globals.browser,
11+
langs: true,
12+
$: false
13+
}
14+
},
15+
rules: {
16+
...js.configs.recommended.rules,
17+
"unicorn/no-keyword-prefix": 0,
18+
"unicorn/prefer-query-selector": 0
19+
},
20+
}
21+
]

0 commit comments

Comments
 (0)