Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
fee0f21f2f
|
|||
f8e6286350
|
|||
5c7fa64f19
|
|||
e87fbc4bb9
|
|||
bbf940aafe
|
|||
7adf510a94
|
|||
a2f1c52972
|
|||
98f096b481
|
|||
937a2257f8
|
|||
0419c2558d
|
|||
b00af86b1b
|
|||
72b09d4176
|
|||
e7da809741
|
|||
39cc9c02d9
|
|||
7d84ff8e8e
|
|||
385c4f57ed
|
|||
577faf9774
|
|||
656bc470f7
|
@ -14,3 +14,7 @@ trim_trailing_whitespace = true
|
||||
[*.json]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
[*.yml]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal file
@ -0,0 +1,19 @@
|
||||
image: "node:latest"
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- node_modules/
|
||||
|
||||
job-publish:
|
||||
only:
|
||||
- tags
|
||||
|
||||
before_script:
|
||||
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
||||
- export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
||||
|
||||
script:
|
||||
- yarn install
|
||||
- yarn run build
|
||||
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
|
||||
- npm publish
|
@ -204,5 +204,6 @@ src/
|
||||
.editorconfig
|
||||
.eslintrc.json
|
||||
.gitignore
|
||||
.gitlab-ci.yml
|
||||
rollup.config.js
|
||||
tsconfig.json
|
||||
|
12
ROADMAP.md
12
ROADMAP.md
@ -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"
|
||||
@ -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"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@valentineus/eslint-config",
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.8",
|
||||
"description": "Personal ESLint configuration",
|
||||
"main": "index.js",
|
||||
"repository": "git@code.valentineus.link:eslint-config.git",
|
||||
|
@ -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"
|
||||
|
@ -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": [
|
||||
|
@ -75,5 +75,11 @@
|
||||
"baseIndent": 0,
|
||||
"switchCase": 1
|
||||
}
|
||||
],
|
||||
"vue/space-infix-ops": [
|
||||
"error",
|
||||
{
|
||||
"int32Hint": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user