Skip to content

Commit 53e900c

Browse files
author
yusukehirao
committed
chore: first commit
0 parents  commit 53e900c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+9493
-0
lines changed

.commitlintrc.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import LernaScopes from '@commitlint/config-lerna-scopes';
2+
3+
export default {
4+
extends: ['@commitlint/config-lerna-scopes', '@commitlint/config-conventional'],
5+
rules: {
6+
'scope-enum': async ctx => {
7+
const setting = await LernaScopes.rules['scope-enum'](ctx);
8+
const packages = setting[2].map(item => item.replaceAll(/-markuplint|markuplint-/gi, ''));
9+
return [
10+
setting[0],
11+
setting[1],
12+
[
13+
...packages,
14+
// Tags
15+
'release',
16+
'deps',
17+
'changelog',
18+
'github',
19+
'lint',
20+
'website',
21+
'playground',
22+
],
23+
];
24+
},
25+
},
26+
};

.coveralls.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
repo_token: 6AaJeSLSdr3JqnbDeVVHXNKi7AYsVVpz4

.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://editorconfig.org
2+
root = true
3+
indent_style = tab
4+
indent_size = 4
5+
6+
[*.md]
7+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
**/node_modules/**/*
2+
**/*.d.ts

.eslintrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "@markuplint-dev/eslint-config",
3+
"ignorePatterns": ["!.*", "**/lib/**"],
4+
"overrides": [
5+
{
6+
"files": [".*"],
7+
"rules": {
8+
"import/no-default-export": 0
9+
}
10+
}
11+
]
12+
}

.fossaignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
website

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [markuplint]

.github/renovate.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"configMigration": true,
4+
"extends": [
5+
"config:recommended",
6+
"docker:pinDigests",
7+
"helpers:pinGitHubActionDigests",
8+
":pinDevDependencies",
9+
":semanticCommitTypeAll(chore)"
10+
],
11+
"lockFileMaintenance": {
12+
"enabled": true,
13+
"automerge": true
14+
},
15+
"autoApprove": true,
16+
"labels": ["Dependencies", "Renovate"],
17+
"packageRules": [
18+
{
19+
"matchDepTypes": ["optionalDependencies"],
20+
"addLabels": ["Dependencies: Optional"]
21+
},
22+
{
23+
"matchDepTypes": ["devDependencies"],
24+
"addLabels": ["Dependencies: Development"]
25+
},
26+
{
27+
"matchDepTypes": ["dependencies"],
28+
"addLabels": ["Dependencies: Production"]
29+
},
30+
{
31+
"description": "Automerge non-major updates",
32+
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
33+
"matchCurrentVersion": "!/^0/",
34+
"automerge": true
35+
}
36+
]
37+
}

.gitignore

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# OS
2+
.DS_Store
3+
4+
# Dist *.js sources
5+
lib
6+
7+
# Logs
8+
logs
9+
*.log
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
14+
# Runtime data
15+
pids
16+
*.pid
17+
*.seed
18+
*.pid.lock
19+
20+
# Directory for instrumented libs generated by jscoverage/JSCover
21+
lib-cov
22+
23+
# Coverage directory used by tools like istanbul
24+
coverage
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
30+
.grunt
31+
32+
# Bower dependency directory (https://bower.io/)
33+
bower_components
34+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
42+
node_modules/
43+
jspm_packages/
44+
45+
# TypeScript v1 declaration files
46+
typings/
47+
48+
# Optional npm cache directory
49+
.npm
50+
51+
# Optional eslint cache
52+
.eslintcache
53+
54+
# Optional REPL history
55+
.node_repl_history
56+
57+
# Output of 'npm pack'
58+
*.tgz
59+
60+
# Yarn Integrity file
61+
.yarn-integrity
62+
63+
# dotenv environment variables file
64+
.env
65+
66+
# next.js build output
67+
.next
68+
69+
# TypeScript
70+
*.tsbuildinfo
71+
72+
# Secret Test
73+
test/fixture/.__*
74+
75+
# API Document
76+
apidoc
77+
78+
# Heapdump test
79+
*.heapsnapshot
80+
81+
# create-rule test files
82+
packages/@markuplint/rules/src/__*
83+
84+
# IDEs
85+
.idea

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

0 commit comments

Comments
 (0)