23 Commits

Author SHA1 Message Date
93b869a963 feat(project): Bump version
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 16:04:27 +04:00
c1dc196903 feat(comments): no-aggregating-enable
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 16:04:00 +04:00
f448b3ca98 feat(comments): no-duplicate-disable
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 16:03:01 +04:00
e0b6ba13a1 feat(comments): no-restricted-disable
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 16:01:35 +04:00
1fb28ac1a6 feat(comments): no-unlimited-disable
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 16:00:14 +04:00
67756a276d feat(comments): no-unused-enable
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 15:59:00 +04:00
04e0fe6a31 feat(comments): no-unused-disable
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 15:58:20 +04:00
3f111c5b78 feat(comments): no-use
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 15:56:52 +04:00
9dd76a6ab4 feat(comments): disable-enable-pair
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 15:54:21 +04:00
fee0f21f2f feat(project): Bump version
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 14:36:40 +04:00
f8e6286350 feat(typescript): no-misused-promises
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 14:36:06 +04:00
5c7fa64f19 feat(project): Bump version
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 14:04:43 +04:00
e87fbc4bb9 feat(eslint): no-param-reassign
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-16 14:04:17 +04:00
bbf940aafe feat(vue): space-infix-ops
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-14 21:21:20 +04:00
7adf510a94 feat(eslint): space-infix-ops
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-14 21:17:28 +04:00
a2f1c52972 fix(typescript): indent
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-14 21:07:18 +04:00
98f096b481 fix(eslint): indent
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-14 21:06:43 +04:00
937a2257f8 feat(eslint): no-whitespace-before-property
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-14 21:02:23 +04:00
0419c2558d feat(eslint): no-trailing-spaces
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-14 21:00:55 +04:00
b00af86b1b feat(project): Bump version
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-14 20:49:22 +04:00
72b09d4176 fix(typescript): type-annotation-spacing
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-14 20:49:02 +04:00
e7da809741 feat(project): Bump version
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-14 20:43:09 +04:00
39cc9c02d9 fix(typescript): Rule "type-annotation-spacing"
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-14 20:42:34 +04:00
6 changed files with 104 additions and 20 deletions

View File

@ -160,7 +160,7 @@
- [ ] "no-obj-calls"
- [ ] "no-octal"
- [X] "no-octal-escape"
- [ ] "no-param-reassign"
- [X] "no-param-reassign"
- [X] "no-path-concat"
- [ ] "no-plusplus"
- [ ] "no-process-env"
@ -192,7 +192,7 @@
- [X] "no-ternary"
- [ ] "no-this-before-super"
- [ ] "no-throw-literal"
- [ ] "no-trailing-spaces"
- [X] "no-trailing-spaces"
- [ ] "no-undef"
- [X] "no-undef-init"
- [X] "no-undefined"
@ -219,7 +219,7 @@
- [X] "no-var"
- [ ] "no-void"
- [ ] "no-warning-comments"
- [ ] "no-whitespace-before-property"
- [X] "no-whitespace-before-property"
- [X] "no-with"
- [ ] "nonblock-statement-body-position"
- [X] "object-curly-newline"
@ -263,7 +263,7 @@
- [X] "space-before-blocks"
- [X] "space-before-function-paren"
- [ ] "space-in-parens"
- [ ] "space-infix-ops"
- [X] "space-infix-ops"
- [ ] "space-unary-ops"
- [ ] "spaced-comment"
- [X] "strict"
@ -283,14 +283,14 @@
## ESLint Comments
- [ ] "disable-enable-pair"
- [ ] "no-aggregating-enable"
- [ ] "no-duplicate-disable"
- [ ] "no-restricted-disable"
- [ ] "no-unlimited-disable"
- [ ] "no-unused-disable"
- [ ] "no-unused-enable"
- [ ] "no-use"
- [X] "disable-enable-pair"
- [X] "no-aggregating-enable"
- [X] "no-duplicate-disable"
- [X] "no-restricted-disable"
- [X] "no-unlimited-disable"
- [X] "no-unused-disable"
- [X] "no-unused-enable"
- [X] "no-use"
## Import
@ -421,7 +421,7 @@
- [X] "no-inferrable-types"
- [X] "no-magic-numbers"
- [ ] "no-misused-new"
- [ ] "no-misused-promises"
- [X] "no-misused-promises"
- [X] "no-namespace"
- [ ] "no-non-null-asserted-optional-chain"
- [ ] "no-non-null-assertion"
@ -593,7 +593,7 @@
- [ ] "return-in-computed-property"
- [X] "script-indent"
- [ ] "singleline-html-element-content-newline"
- [ ] "space-infix-ops"
- [X] "space-infix-ops"
- [ ] "space-unary-ops"
- [ ] "static-class-names-order"
- [ ] "this-in-template"

View File

@ -1,6 +1,6 @@
{
"name": "@valentineus/eslint-config",
"version": "0.0.4",
"version": "0.0.9",
"description": "Personal ESLint configuration",
"main": "index.js",
"repository": "git@code.valentineus.link:eslint-config.git",

View File

@ -1 +1,42 @@
{}
{
"eslint-comments/disable-enable-pair": [
"error",
{
"allowWholeFile": true
}
],
"eslint-comments/no-aggregating-enable": [
"error"
],
"eslint-comments/no-duplicate-disable": [
"error"
],
"eslint-comments/no-restricted-disable": [
"off"
],
"eslint-comments/no-unlimited-disable": [
"error"
],
"eslint-comments/no-unused-disable": [
"error"
],
"eslint-comments/no-unused-enable": [
"error"
],
"eslint-comments/no-use": [
"error",
{
"allow": [
"eslint",
"eslint-disable",
"eslint-disable-line",
"eslint-disable-next-line",
"eslint-enable",
"eslint-env",
"exported",
"global",
"globals"
]
}
]
}

View File

@ -111,7 +111,7 @@
"MemberExpression": 1,
"ObjectExpression": 1,
"SwitchCase": 1,
"VariableDeclarator": "first",
"VariableDeclarator": 1,
"flatTernaryExpressions": true,
"ignoreComments": false,
"ignoredNodes": [],
@ -181,6 +181,12 @@
"tabWidth": 4
}
],
"no-param-reassign": [
"warn",
{
"props": true
}
],
"max-lines": [
"off"
],
@ -375,6 +381,13 @@
"no-ternary": [
"off"
],
"no-trailing-spaces": [
"error",
{
"ignoreComments": false,
"skipBlankLines": false
}
],
"no-undef-init": [
"error"
],
@ -442,6 +455,9 @@
"no-var": [
"error"
],
"no-whitespace-before-property": [
"error"
],
"no-with": [
"error"
],
@ -594,6 +610,12 @@
"named": "never"
}
],
"space-infix-ops": [
"error",
{
"int32Hint": false
}
],
"strict": [
"error",
"safe"

View File

@ -22,7 +22,7 @@
"MemberExpression": 1,
"ObjectExpression": 1,
"SwitchCase": 1,
"VariableDeclarator": "first",
"VariableDeclarator": 1,
"flatTernaryExpressions": true,
"ignoreComments": false,
"ignoredNodes": [],
@ -70,6 +70,13 @@
"ignoreReadonlyClassProperties": true
}
],
"@typescript-eslint/no-misused-promises": [
"error",
{
"checksConditionals": true,
"checksVoidReturn": false
}
],
"@typescript-eslint/no-namespace": [
"error",
{
@ -142,8 +149,16 @@
"@typescript-eslint/type-annotation-spacing": [
"error",
{
"after": true,
"before": false
"overrides": {
"arrow": {
"after": true,
"before": true
},
"colon": {
"after": true,
"before": false
}
}
}
],
"@typescript-eslint/typedef": [

View File

@ -75,5 +75,11 @@
"baseIndent": 0,
"switchCase": 1
}
],
"vue/space-infix-ops": [
"error",
{
"int32Hint": false
}
]
}