Skip to content

Commit 40638b3

Browse files
authored
Merge pull request #16 from hackmdio/feature/sc-2187-v1-api-client-refactor
v1 open api refactor
2 parents 412a754 + 9f464a4 commit 40638b3

File tree

7 files changed

+2788
-490
lines changed

7 files changed

+2788
-490
lines changed

nodejs/.eslintrc.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
const path = require('path')
2+
3+
module.exports = {
4+
"parser": "@typescript-eslint/parser",
5+
"extends": [
6+
"eslint:recommended",
7+
"plugin:@typescript-eslint/recommended"
8+
],
9+
"rules": {
10+
"no-trailing-spaces": ["warn", { "skipBlankLines": false }],
11+
"semi": ["warn", "never"],
12+
"@typescript-eslint/no-non-null-assertion": "off",
13+
"keyword-spacing": ["warn", {"before": true, "after": true}],
14+
"space-infix-ops": "warn",
15+
"space-before-function-paren": "warn",
16+
"eol-last": ["error", "always"]
17+
},
18+
"parserOptions": {
19+
"project": [
20+
path.resolve(__dirname, "tsconfig.json")
21+
]
22+
}
23+
}

0 commit comments

Comments
 (0)