Skip to content

Commit 4b55688

Browse files
authored
Merge pull request #98 from posthtml/milestone-0.12.0
Milestone 0.12.0
2 parents 0db4129 + 5a63bdd commit 4b55688

21 files changed

Lines changed: 4717 additions & 28483 deletions

.c8rc

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

.clintonrc.json

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

.eslintrc.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"eslint:recommended",
9+
"plugin:@typescript-eslint/eslint-recommended",
10+
"plugin:@typescript-eslint/recommended"
11+
],
12+
"parser": "@typescript-eslint/parser",
13+
"plugins": [
14+
"@typescript-eslint"
15+
],
16+
"parserOptions": {
17+
"ecmaVersion": "latest",
18+
"sourceType": "module"
19+
},
20+
"rules": {}
21+
}

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
node: [12, 14, 16]
18+
node: [16, 18, 20]
1919
os: [ubuntu-latest]
2020

2121
steps:

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --extends=@commitlint/config-angular --edit $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no-install lint-staged

.husky/pre-push

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npm t

.huskyrc

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

.lintstagedrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"*.js": "xo"
3-
}
2+
"*.ts": ["npm run lint", "vitest related --run"]
3+
}

.prettierrc.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "http://json.schemastore.org/prettierrc",
3+
"bracketSpacing": true,
4+
"endOfLine": "lf",
5+
"semi": true,
6+
"singleQuote": false,
7+
"trailingComma": "all",
8+
"printWidth": 120,
9+
"importOrderSeparation": true,
10+
"importOrderSortSpecifiers": true,
11+
"importOrderGroupNamespaceSpecifiers": true,
12+
"importOrderCaseInsensitive": true
13+
}

0 commit comments

Comments
 (0)