Skip to content

Commit b19dd9c

Browse files
keithamuskoddsson
andauthored
initial project setup
Co-authored-by: Kristján Oddsson <[email protected]>
1 parent f714842 commit b19dd9c

9 files changed

+3954
-0
lines changed

.editorconfig

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_style = space
7+
indent_size = 2
8+
max_line_length = 120
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true

.eslintrc.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"root": true,
3+
"plugins": ["github"],
4+
"extends": ["plugin:github/recommended", "plugin:github/typescript", "plugin:github/browser"],
5+
"rules": {
6+
"no-invalid-this": "off",
7+
"@typescript-eslint/no-invalid-this": ["error"],
8+
"import/extensions": ["error", "ignorePackages"],
9+
"@typescript-eslint/consistent-type-imports": ["error", {"prefer": "type-imports"}]
10+
},
11+
"overrides": [
12+
{
13+
"files": "test/*",
14+
"rules": {
15+
"@typescript-eslint/no-empty-function": "off"
16+
},
17+
"globals": {
18+
"chai": false,
19+
"expect": false
20+
},
21+
"env": {
22+
"mocha": true
23+
}
24+
},
25+
{
26+
"files": "*.cjs",
27+
"env": {
28+
"node": true
29+
},
30+
"rules": {
31+
"import/no-commonjs": "off",
32+
"filenames/match-regex": "off",
33+
"@typescript-eslint/no-var-requires": "off"
34+
}
35+
}
36+
]
37+
}

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
lib/
2+
node_modules/

0 commit comments

Comments
 (0)