Compare commits
21 Commits
Author | SHA1 | Date | |
---|---|---|---|
93b869a963
|
|||
c1dc196903
|
|||
f448b3ca98
|
|||
e0b6ba13a1
|
|||
1fb28ac1a6
|
|||
67756a276d
|
|||
04e0fe6a31
|
|||
3f111c5b78
|
|||
9dd76a6ab4
|
|||
fee0f21f2f
|
|||
f8e6286350
|
|||
5c7fa64f19
|
|||
e87fbc4bb9
|
|||
bbf940aafe
|
|||
7adf510a94
|
|||
a2f1c52972
|
|||
98f096b481
|
|||
937a2257f8
|
|||
0419c2558d
|
|||
b00af86b1b
|
|||
72b09d4176
|
28
ROADMAP.md
28
ROADMAP.md
@ -160,7 +160,7 @@
|
|||||||
- [ ] "no-obj-calls"
|
- [ ] "no-obj-calls"
|
||||||
- [ ] "no-octal"
|
- [ ] "no-octal"
|
||||||
- [X] "no-octal-escape"
|
- [X] "no-octal-escape"
|
||||||
- [ ] "no-param-reassign"
|
- [X] "no-param-reassign"
|
||||||
- [X] "no-path-concat"
|
- [X] "no-path-concat"
|
||||||
- [ ] "no-plusplus"
|
- [ ] "no-plusplus"
|
||||||
- [ ] "no-process-env"
|
- [ ] "no-process-env"
|
||||||
@ -192,7 +192,7 @@
|
|||||||
- [X] "no-ternary"
|
- [X] "no-ternary"
|
||||||
- [ ] "no-this-before-super"
|
- [ ] "no-this-before-super"
|
||||||
- [ ] "no-throw-literal"
|
- [ ] "no-throw-literal"
|
||||||
- [ ] "no-trailing-spaces"
|
- [X] "no-trailing-spaces"
|
||||||
- [ ] "no-undef"
|
- [ ] "no-undef"
|
||||||
- [X] "no-undef-init"
|
- [X] "no-undef-init"
|
||||||
- [X] "no-undefined"
|
- [X] "no-undefined"
|
||||||
@ -219,7 +219,7 @@
|
|||||||
- [X] "no-var"
|
- [X] "no-var"
|
||||||
- [ ] "no-void"
|
- [ ] "no-void"
|
||||||
- [ ] "no-warning-comments"
|
- [ ] "no-warning-comments"
|
||||||
- [ ] "no-whitespace-before-property"
|
- [X] "no-whitespace-before-property"
|
||||||
- [X] "no-with"
|
- [X] "no-with"
|
||||||
- [ ] "nonblock-statement-body-position"
|
- [ ] "nonblock-statement-body-position"
|
||||||
- [X] "object-curly-newline"
|
- [X] "object-curly-newline"
|
||||||
@ -263,7 +263,7 @@
|
|||||||
- [X] "space-before-blocks"
|
- [X] "space-before-blocks"
|
||||||
- [X] "space-before-function-paren"
|
- [X] "space-before-function-paren"
|
||||||
- [ ] "space-in-parens"
|
- [ ] "space-in-parens"
|
||||||
- [ ] "space-infix-ops"
|
- [X] "space-infix-ops"
|
||||||
- [ ] "space-unary-ops"
|
- [ ] "space-unary-ops"
|
||||||
- [ ] "spaced-comment"
|
- [ ] "spaced-comment"
|
||||||
- [X] "strict"
|
- [X] "strict"
|
||||||
@ -283,14 +283,14 @@
|
|||||||
|
|
||||||
## ESLint Comments
|
## ESLint Comments
|
||||||
|
|
||||||
- [ ] "disable-enable-pair"
|
- [X] "disable-enable-pair"
|
||||||
- [ ] "no-aggregating-enable"
|
- [X] "no-aggregating-enable"
|
||||||
- [ ] "no-duplicate-disable"
|
- [X] "no-duplicate-disable"
|
||||||
- [ ] "no-restricted-disable"
|
- [X] "no-restricted-disable"
|
||||||
- [ ] "no-unlimited-disable"
|
- [X] "no-unlimited-disable"
|
||||||
- [ ] "no-unused-disable"
|
- [X] "no-unused-disable"
|
||||||
- [ ] "no-unused-enable"
|
- [X] "no-unused-enable"
|
||||||
- [ ] "no-use"
|
- [X] "no-use"
|
||||||
|
|
||||||
## Import
|
## Import
|
||||||
|
|
||||||
@ -421,7 +421,7 @@
|
|||||||
- [X] "no-inferrable-types"
|
- [X] "no-inferrable-types"
|
||||||
- [X] "no-magic-numbers"
|
- [X] "no-magic-numbers"
|
||||||
- [ ] "no-misused-new"
|
- [ ] "no-misused-new"
|
||||||
- [ ] "no-misused-promises"
|
- [X] "no-misused-promises"
|
||||||
- [X] "no-namespace"
|
- [X] "no-namespace"
|
||||||
- [ ] "no-non-null-asserted-optional-chain"
|
- [ ] "no-non-null-asserted-optional-chain"
|
||||||
- [ ] "no-non-null-assertion"
|
- [ ] "no-non-null-assertion"
|
||||||
@ -593,7 +593,7 @@
|
|||||||
- [ ] "return-in-computed-property"
|
- [ ] "return-in-computed-property"
|
||||||
- [X] "script-indent"
|
- [X] "script-indent"
|
||||||
- [ ] "singleline-html-element-content-newline"
|
- [ ] "singleline-html-element-content-newline"
|
||||||
- [ ] "space-infix-ops"
|
- [X] "space-infix-ops"
|
||||||
- [ ] "space-unary-ops"
|
- [ ] "space-unary-ops"
|
||||||
- [ ] "static-class-names-order"
|
- [ ] "static-class-names-order"
|
||||||
- [ ] "this-in-template"
|
- [ ] "this-in-template"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@valentineus/eslint-config",
|
"name": "@valentineus/eslint-config",
|
||||||
"version": "0.0.5",
|
"version": "0.0.9",
|
||||||
"description": "Personal ESLint configuration",
|
"description": "Personal ESLint configuration",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": "git@code.valentineus.link:eslint-config.git",
|
"repository": "git@code.valentineus.link:eslint-config.git",
|
||||||
|
@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
@ -111,7 +111,7 @@
|
|||||||
"MemberExpression": 1,
|
"MemberExpression": 1,
|
||||||
"ObjectExpression": 1,
|
"ObjectExpression": 1,
|
||||||
"SwitchCase": 1,
|
"SwitchCase": 1,
|
||||||
"VariableDeclarator": "first",
|
"VariableDeclarator": 1,
|
||||||
"flatTernaryExpressions": true,
|
"flatTernaryExpressions": true,
|
||||||
"ignoreComments": false,
|
"ignoreComments": false,
|
||||||
"ignoredNodes": [],
|
"ignoredNodes": [],
|
||||||
@ -181,6 +181,12 @@
|
|||||||
"tabWidth": 4
|
"tabWidth": 4
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"no-param-reassign": [
|
||||||
|
"warn",
|
||||||
|
{
|
||||||
|
"props": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"max-lines": [
|
"max-lines": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
@ -375,6 +381,13 @@
|
|||||||
"no-ternary": [
|
"no-ternary": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
"no-trailing-spaces": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"ignoreComments": false,
|
||||||
|
"skipBlankLines": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"no-undef-init": [
|
"no-undef-init": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
@ -442,6 +455,9 @@
|
|||||||
"no-var": [
|
"no-var": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"no-whitespace-before-property": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
"no-with": [
|
"no-with": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
@ -594,6 +610,12 @@
|
|||||||
"named": "never"
|
"named": "never"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"space-infix-ops": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"int32Hint": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"strict": [
|
"strict": [
|
||||||
"error",
|
"error",
|
||||||
"safe"
|
"safe"
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"MemberExpression": 1,
|
"MemberExpression": 1,
|
||||||
"ObjectExpression": 1,
|
"ObjectExpression": 1,
|
||||||
"SwitchCase": 1,
|
"SwitchCase": 1,
|
||||||
"VariableDeclarator": "first",
|
"VariableDeclarator": 1,
|
||||||
"flatTernaryExpressions": true,
|
"flatTernaryExpressions": true,
|
||||||
"ignoreComments": false,
|
"ignoreComments": false,
|
||||||
"ignoredNodes": [],
|
"ignoredNodes": [],
|
||||||
@ -70,6 +70,13 @@
|
|||||||
"ignoreReadonlyClassProperties": true
|
"ignoreReadonlyClassProperties": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/no-misused-promises": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"checksConditionals": true,
|
||||||
|
"checksVoidReturn": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"@typescript-eslint/no-namespace": [
|
"@typescript-eslint/no-namespace": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
@ -140,7 +147,19 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"@typescript-eslint/type-annotation-spacing": [
|
"@typescript-eslint/type-annotation-spacing": [
|
||||||
"error"
|
"error",
|
||||||
|
{
|
||||||
|
"overrides": {
|
||||||
|
"arrow": {
|
||||||
|
"after": true,
|
||||||
|
"before": true
|
||||||
|
},
|
||||||
|
"colon": {
|
||||||
|
"after": true,
|
||||||
|
"before": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"@typescript-eslint/typedef": [
|
"@typescript-eslint/typedef": [
|
||||||
"error",
|
"error",
|
||||||
|
@ -75,5 +75,11 @@
|
|||||||
"baseIndent": 0,
|
"baseIndent": 0,
|
||||||
"switchCase": 1
|
"switchCase": 1
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"vue/space-infix-ops": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"int32Hint": false
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user