Skip to content

Commit 2dbc59e

Browse files
committed
add dotfiles except .github (will checkout workflows first to make sure its safe)
1 parent b5a2d1e commit 2dbc59e

16 files changed

Lines changed: 362 additions & 0 deletions

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["@babel/preset-env", "@babel/preset-react"]
3+
}

.devcontainer/Dockerfile

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

.devcontainer/devcontainer.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "Jekyll (GitHub Pages)",
3+
"build": {
4+
"dockerfile": "Dockerfile"
5+
},
6+
"features": {
7+
"ghcr.io/devcontainers/features/common-utils:2": {
8+
"installZsh": "true",
9+
"username": "vscode",
10+
"userUid": "1000",
11+
"userGid": "1000",
12+
"upgradePackages": "true"
13+
},
14+
"ghcr.io/devcontainers/features/ruby:1": "none",
15+
"ghcr.io/devcontainers/features/node:1": "none",
16+
"ghcr.io/devcontainers/features/git:1": {
17+
"version": "latest",
18+
"ppa": "false"
19+
}
20+
},
21+
"forwardPorts": [4000],
22+
"remoteUser": "vscode"
23+
}

.editorconfig

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Metabase EditorConfig settings
2+
# http://editorconfig.org/
3+
4+
# use the top most editor config file
5+
root = true
6+
7+
[*]
8+
indent_style = space
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
charset = utf-8
12+
end_of_line = lf
13+
14+
[*.clj]
15+
indent_size = 2
16+
max_line_length = 120
17+
18+
[*.{css,scss,sass}]
19+
indent_size = 2
20+
21+
[*.{md,markdown,mustache}]
22+
indent_size = 4
23+
24+
[*.{html,liquid}]
25+
indent_size = 2
26+
27+
[*.{js,jsx,ts,tsx}]
28+
indent_size = 2
29+
30+
[*.json]
31+
indent_size = 2

.eslintignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
node_modules
2+
*.bundle.js
3+
*.min.js
4+
*.hot-update.js
5+
**/dist/*.js
6+
_docs/**/*
7+
_site/**/*.js
8+
vendor/**/*.js
9+
10+
_lp/v/*

.eslintrc

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"extends": ["eslint:recommended", "plugin:react/recommended"],
3+
"env": {
4+
"browser": true,
5+
"es6": true,
6+
"commonjs": true,
7+
"jest": true
8+
},
9+
"parserOptions": {
10+
"ecmaVersion": 2018,
11+
"sourceType": "module",
12+
"ecmaFeatures": {
13+
"jsx": true
14+
}
15+
},
16+
"globals": {
17+
"__dirname": "readonly",
18+
"_vwo_code": "readonly",
19+
"anchors": "readonly",
20+
"Buffer": "readonly",
21+
"contentLoaded": "readonly",
22+
"cy": "readonly",
23+
"dataLayer": "readonly",
24+
"ga": "readonly",
25+
"gdprCookieNotice": "readonly",
26+
"gdprCookieNoticeLocales": "writable",
27+
"lunr": "readonly",
28+
"MediumLightbox": "readonly",
29+
"process": "readonly",
30+
"scrollIntoView": "readonly",
31+
"settings_timer": "readonly"
32+
},
33+
"rules": {
34+
"prefer-const": 2,
35+
"react/prop-types": 1
36+
}
37+
}

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.sass-cache
2+
/node_modules/
3+
npm-debug.log
4+
*.hot-update.js
5+
*.hot-update.json
6+
*.js.map
7+
_site/
8+
.jekyll-metadata
9+
s3_website.yml
10+
.DS_Store
11+
*#
12+
.#*
13+
example_dbs/metabase.db.mv.db
14+
yarn-error.log
15+
.idea
16+
*.js.LICENSE.txt
17+
/tmp
18+
.vscode

.linthtmlrc

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"maxerr": false,
3+
"text-ignore-regex": false,
4+
"raw-ignore-regex": false,
5+
"attr-name-ignore-regex": false,
6+
"id-class-ignore-regex": false,
7+
"line-max-len-ignore-regex": false,
8+
"extends": "@linthtml/linthtml-config-recommended",
9+
"rules": {
10+
"attr-bans": ["warning", [
11+
"align",
12+
"background",
13+
"bgcolor",
14+
"border",
15+
"frameborder",
16+
"longdesc",
17+
"marginwidth",
18+
"marginheight",
19+
"scrolling",
20+
"style",
21+
"width"
22+
]],
23+
"attr-quote-style": ["warning", "double"],
24+
"class-style": ["warning", "none"],
25+
"doctype-first": false,
26+
"id-style": ["warning", "none"],
27+
"line-end-style": [
28+
true,
29+
"lf"
30+
],
31+
"line-max-len": false,
32+
"tag-bans": ["warning",
33+
[
34+
"acronym",
35+
"applet",
36+
"basefont",
37+
"big",
38+
"center",
39+
"dir",
40+
"font",
41+
"frame",
42+
"frameset",
43+
"isindex",
44+
"noframes",
45+
"s",
46+
"strike",
47+
"tt",
48+
"u",
49+
"b"
50+
]],
51+
"title-max-len": false
52+
},
53+
"ignoreFiles": [
54+
"node_modules",
55+
"example_dbs/**/*",
56+
"script/**/*",
57+
"spec/**/*",
58+
"_docs/**/*.html",
59+
"_site/**/*.html"
60+
]
61+
}

.liquidrc

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"ignore": [],
3+
"wrap": 0,
4+
"commentIndent": true,
5+
"crlf": false,
6+
"indentSize": 2,
7+
"preserveComment": false,
8+
"preserveLine": 2,
9+
"endNewline": true,
10+
"markup": {
11+
"correct": false,
12+
"quoteConvert": "double",
13+
"selfCloseSpace": true,
14+
"commentNewline": true,
15+
"forceIndent": false,
16+
"attributeSort": true,
17+
"attributeSortList": [],
18+
"delimiterTrims": "preserve",
19+
"attributeCasing": "preserve",
20+
"lineBreakSeparator": "before",
21+
"normalizeSpacing": true,
22+
"valueForce": "intent",
23+
"forceAttribute": 3,
24+
"forceLeadAttribute": false,
25+
"preserveAttributes": false,
26+
"preserveText": false
27+
},
28+
"json": {
29+
"bracePadding": false,
30+
"braceAllman": true,
31+
"arrayFormat": "indent",
32+
"objectIndent": "indent",
33+
"objectSort": false
34+
},
35+
"style": {
36+
"correct": false,
37+
"sortProperties": true,
38+
"sortSelectors": true,
39+
"noLeadZero": true,
40+
"quoteConvert": "single",
41+
"classPadding": true
42+
},
43+
"script": {
44+
"correct": true,
45+
"arrayFormat": "indent",
46+
"objectIndent": "indent",
47+
"braceAllman": false,
48+
"methodChain": 3,
49+
"caseSpace": true,
50+
"endComma": "never",
51+
"quoteConvert": "single",
52+
"elseNewline": true,
53+
"functionNameSpace": false,
54+
"functionSpace": false,
55+
"ternaryLine": true,
56+
"braceNewline": false,
57+
"bracePadding": false,
58+
"braceStyle": "none",
59+
"commentNewline": true,
60+
"neverFlatten": false,
61+
"noCaseIndent": true,
62+
"noSemicolon": false,
63+
"objectSort": false,
64+
"vertical": false,
65+
"variableList": false
66+
}
67+
}

.markdownlint.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"default": true,
3+
"commands-show-output": false,
4+
"first-line-h1": false,
5+
"line-length": false,
6+
"list-indent": false,
7+
"no-bare-urls": false,
8+
"no-emphasis-as-header": false,
9+
"no-inline-html": false,
10+
"no-trailing-punctuation": {
11+
"punctuation": ".,;:"
12+
},
13+
"single-h1": { "front_matter_title": "" },
14+
"ul-indent": { "indent": 2 }
15+
}

0 commit comments

Comments
 (0)