Skip to content

Commit 438589f

Browse files
committed
Merge branch 'hotfix-0.3.3'
2 parents aff7d78 + 704a369 commit 438589f

File tree

6 files changed

+1046
-146
lines changed

6 files changed

+1046
-146
lines changed

.eslintrc.js

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*
2+
👋 Hi! This file was autogenerated by tslint-to-eslint-config.
3+
https://github.com/typescript-eslint/tslint-to-eslint-config
4+
5+
It represents the closest reasonable ESLint configuration to this
6+
project's original TSLint configuration.
7+
8+
We recommend eventually switching this configuration to extend from
9+
the recommended rulesets in typescript-eslint.
10+
https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md
11+
12+
Happy linting! 💖
13+
*/
14+
module.exports = {
15+
"env": {
16+
"es6": true,
17+
"node": true
18+
},
19+
"parser": "@typescript-eslint/parser",
20+
"parserOptions": {
21+
"sourceType": "module"
22+
},
23+
"plugins": [
24+
"@typescript-eslint"
25+
],
26+
"rules": {
27+
"@typescript-eslint/class-name-casing": "warn",
28+
"@typescript-eslint/member-delimiter-style": [
29+
"warn",
30+
{
31+
"multiline": {
32+
"delimiter": "semi",
33+
"requireLast": true
34+
},
35+
"singleline": {
36+
"delimiter": "semi",
37+
"requireLast": false
38+
}
39+
}
40+
],
41+
"@typescript-eslint/semi": [
42+
"warn",
43+
"always"
44+
],
45+
"curly": "warn",
46+
"eqeqeq": [
47+
"warn",
48+
"always"
49+
],
50+
"no-redeclare": "warn",
51+
"no-throw-literal": "warn",
52+
"no-unused-expressions": "warn"
53+
}
54+
};

0 commit comments

Comments
 (0)