Compare commits
84 Commits
Author | SHA1 | Date | |
---|---|---|---|
fe85ed91d7 | |||
6587de6ea8 | |||
![]() |
354d343ce6 | ||
c9e51ad9e8 | |||
adf39edc06 | |||
43a293985c | |||
fd0218c01e | |||
a3a2934e43 | |||
28516614a3 | |||
1b9319f0f7 | |||
c94f480062 | |||
7398379ef8 | |||
3d805a1417 | |||
4aa0bc667b | |||
2bdf5c8799 | |||
bbc0fca985 | |||
f12fa08c45 | |||
4431cd50b1 | |||
c2ad7f211e | |||
e214aeb8a5 | |||
3f3d4da18b | |||
1380e38397 | |||
![]() |
5ab5dadfc1 | ||
838f58e1cd | |||
a03e6513cb | |||
78586ee73c | |||
9ba18706cd | |||
4925f485ea | |||
46d05009cc | |||
582698ebfa | |||
5d9c8c8b4e | |||
3c92284822 | |||
09caa0dcba | |||
a40468c437 | |||
694ac9c74d | |||
9ff6063149 | |||
d604a6f373 | |||
3dd60105f6 | |||
e3f0415e2b | |||
43b1db10b8 | |||
3e8a92c176 | |||
0a76f652a9 | |||
75f7453fb1 | |||
db71e72427 | |||
487b390fd3 | |||
32dd591751 | |||
1f204d1b8d | |||
b4225e3424 | |||
dfac7f5138 | |||
0b14a22716 | |||
b9cabcb54b | |||
18c9632298 | |||
ff60ccfbd9 | |||
3467c5b216 | |||
ca6f51b665 | |||
dbccc60825 | |||
4aeb8473fa | |||
5e92aa597a | |||
79d28d317b | |||
50fd33ae97 | |||
9ea945c950 | |||
99f00817e0 | |||
621602e88b | |||
f8b812927a | |||
2131004cc8 | |||
93b869a963 | |||
c1dc196903 | |||
f448b3ca98 | |||
e0b6ba13a1 | |||
1fb28ac1a6 | |||
67756a276d | |||
04e0fe6a31 | |||
3f111c5b78 | |||
9dd76a6ab4 | |||
fee0f21f2f | |||
f8e6286350 | |||
5c7fa64f19 | |||
e87fbc4bb9 | |||
bbf940aafe | |||
7adf510a94 | |||
a2f1c52972 | |||
98f096b481 | |||
937a2257f8 | |||
0419c2558d |
@ -12,9 +12,7 @@ tab_width = 4
|
|||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[*.json]
|
[*.json]
|
||||||
indent_size = 2
|
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
||||||
[*.yml]
|
[*.yml]
|
||||||
indent_size = 2
|
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
17
.github/workflows/main.yml
vendored
Normal file
17
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: Workflow
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
mirror:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- uses: yesolutions/mirror-action@master
|
||||||
|
with:
|
||||||
|
REMOTE: 'https://git.popov.link/eslint-config.git'
|
||||||
|
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
|
||||||
|
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}
|
19
.github/workflows/publish.yml
vendored
Normal file
19
.github/workflows/publish.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Publish
|
||||||
|
|
||||||
|
on:
|
||||||
|
create:
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: '13.x'
|
||||||
|
- run: yarn install
|
||||||
|
- run: yarn run build
|
||||||
|
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
|
||||||
|
- run: npm publish
|
@ -1,19 +0,0 @@
|
|||||||
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
|
|
@ -203,7 +203,7 @@ src/
|
|||||||
# Configuration file
|
# Configuration file
|
||||||
.editorconfig
|
.editorconfig
|
||||||
.eslintrc.json
|
.eslintrc.json
|
||||||
|
.github/
|
||||||
.gitignore
|
.gitignore
|
||||||
.gitlab-ci.yml
|
|
||||||
rollup.config.js
|
rollup.config.js
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
|
72
README.md
72
README.md
@ -1 +1,71 @@
|
|||||||
# Personal ESLint configuration
|
<p align="center">
|
||||||
|
<img height="60px" width="60px" src="https://eslint.org/assets/img/favicon.512x512.png" />
|
||||||
|
<h1 align="center">Personal ESLint configuration</h1>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://www.npmjs.com/package/@valentineus/eslint-config">
|
||||||
|
<img src="https://flat.badgen.net/npm/v/@valentineus/eslint-config" />
|
||||||
|
</a>
|
||||||
|
<a href="https://www.npmjs.com/package/@valentineus/eslint-config">
|
||||||
|
<img src="https://flat.badgen.net/packagephobia/install/@valentineus/eslint-config" />
|
||||||
|
</a>
|
||||||
|
<a href="https://github.com/valentineus/eslint-config">
|
||||||
|
<img src="https://flat.badgen.net/github/last-commit/valentineus/eslint-config" />
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
## Configurations
|
||||||
|
|
||||||
|
* `javascript`
|
||||||
|
* `typescript`
|
||||||
|
* `vue-javascript`
|
||||||
|
* `vue-typescript`
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
* Install dependencies:
|
||||||
|
|
||||||
|
```shell script
|
||||||
|
npm install --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser \
|
||||||
|
@valentineus/eslint-config eslint eslint-plugin-eslint-comments \
|
||||||
|
eslint-plugin-import eslint-plugin-security eslint-plugin-sonarjs \
|
||||||
|
eslint-plugin-unicorn eslint-plugin-vue
|
||||||
|
|
||||||
|
# or
|
||||||
|
yarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/parser \
|
||||||
|
@valentineus/eslint-config eslint eslint-plugin-eslint-comments \
|
||||||
|
eslint-plugin-import eslint-plugin-security eslint-plugin-sonarjs \
|
||||||
|
eslint-plugin-unicorn eslint-plugin-vue
|
||||||
|
```
|
||||||
|
|
||||||
|
* Create config file:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"env": {
|
||||||
|
"browser": true,
|
||||||
|
"es6": true
|
||||||
|
},
|
||||||
|
"extends": [
|
||||||
|
"@valentineus/eslint-config/vue-typescript"
|
||||||
|
],
|
||||||
|
"globals": {
|
||||||
|
"Atomics": "readonly",
|
||||||
|
"SharedArrayBuffer": "readonly"
|
||||||
|
},
|
||||||
|
"parserOptions": {
|
||||||
|
"createDefaultProgram": true,
|
||||||
|
"ecmaVersion": 2020,
|
||||||
|
"project": "tsconfig.json",
|
||||||
|
"sourceType": "module",
|
||||||
|
"tsconfigRootDir": "."
|
||||||
|
},
|
||||||
|
"rules": {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
[Apache-2.0](LICENSE.txt).
|
||||||
|
Copyright (c) [Valentin Popov](mailto:info@valentineus.link).
|
||||||
|
127
ROADMAP.md
127
ROADMAP.md
@ -53,7 +53,7 @@
|
|||||||
- [X] "indent"
|
- [X] "indent"
|
||||||
- [X] "indent-legacy"
|
- [X] "indent-legacy"
|
||||||
- [ ] "init-declarations"
|
- [ ] "init-declarations"
|
||||||
- [ ] "jsx-quotes"
|
- [X] "jsx-quotes"
|
||||||
- [X] "key-spacing"
|
- [X] "key-spacing"
|
||||||
- [X] "keyword-spacing"
|
- [X] "keyword-spacing"
|
||||||
- [ ] "line-comment-position"
|
- [ ] "line-comment-position"
|
||||||
@ -69,7 +69,7 @@
|
|||||||
- [ ] "max-nested-callbacks"
|
- [ ] "max-nested-callbacks"
|
||||||
- [ ] "max-params"
|
- [ ] "max-params"
|
||||||
- [X] "max-statements"
|
- [X] "max-statements"
|
||||||
- [ ] "max-statements-per-line"
|
- [X] "max-statements-per-line"
|
||||||
- [X] "multiline-comment-style"
|
- [X] "multiline-comment-style"
|
||||||
- [ ] "multiline-ternary"
|
- [ ] "multiline-ternary"
|
||||||
- [X] "new-cap"
|
- [X] "new-cap"
|
||||||
@ -163,7 +163,7 @@
|
|||||||
- [ ] "no-param-reassign"
|
- [ ] "no-param-reassign"
|
||||||
- [X] "no-path-concat"
|
- [X] "no-path-concat"
|
||||||
- [ ] "no-plusplus"
|
- [ ] "no-plusplus"
|
||||||
- [ ] "no-process-env"
|
- [X] "no-process-env"
|
||||||
- [ ] "no-process-exit"
|
- [ ] "no-process-exit"
|
||||||
- [X] "no-proto"
|
- [X] "no-proto"
|
||||||
- [ ] "no-prototype-builtins"
|
- [ ] "no-prototype-builtins"
|
||||||
@ -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
|
||||||
|
|
||||||
@ -331,7 +331,7 @@
|
|||||||
- [ ] "no-unused-modules"
|
- [ ] "no-unused-modules"
|
||||||
- [ ] "no-useless-path-segments"
|
- [ ] "no-useless-path-segments"
|
||||||
- [X] "no-webpack-loader-syntax"
|
- [X] "no-webpack-loader-syntax"
|
||||||
- [ ] "order"
|
- [X] "order"
|
||||||
- [ ] "prefer-default-export"
|
- [ ] "prefer-default-export"
|
||||||
- [ ] "unambiguous"
|
- [ ] "unambiguous"
|
||||||
|
|
||||||
@ -353,31 +353,31 @@
|
|||||||
|
|
||||||
## SonarJS
|
## SonarJS
|
||||||
|
|
||||||
- [ ] "cognitive-complexity"
|
- [X] "cognitive-complexity"
|
||||||
- [ ] "max-switch-cases"
|
- [X] "max-switch-cases"
|
||||||
- [ ] "no-all-duplicated-branches"
|
- [X] "no-all-duplicated-branches"
|
||||||
- [ ] "no-collapsible-if"
|
- [X] "no-collapsible-if"
|
||||||
- [ ] "no-collection-size-mischeck"
|
- [X] "no-collection-size-mischeck"
|
||||||
- [ ] "no-duplicate-string"
|
- [X] "no-duplicate-string"
|
||||||
- [ ] "no-duplicated-branches"
|
- [X] "no-duplicated-branches"
|
||||||
- [ ] "no-element-overwrite"
|
- [X] "no-element-overwrite"
|
||||||
- [ ] "no-extra-arguments"
|
- [X] "no-extra-arguments"
|
||||||
- [ ] "no-identical-conditions"
|
- [X] "no-identical-conditions"
|
||||||
- [ ] "no-identical-expressions"
|
- [X] "no-identical-expressions"
|
||||||
- [ ] "no-identical-functions"
|
- [X] "no-identical-functions"
|
||||||
- [ ] "no-inverted-boolean-check"
|
- [X] "no-inverted-boolean-check"
|
||||||
- [ ] "no-one-iteration-loop"
|
- [X] "no-one-iteration-loop"
|
||||||
- [ ] "no-redundant-boolean"
|
- [X] "no-redundant-boolean"
|
||||||
- [ ] "no-redundant-jump"
|
- [X] "no-redundant-jump"
|
||||||
- [ ] "no-same-line-conditional"
|
- [X] "no-same-line-conditional"
|
||||||
- [ ] "no-small-switch"
|
- [X] "no-small-switch"
|
||||||
- [ ] "no-unused-collection"
|
- [X] "no-unused-collection"
|
||||||
- [ ] "no-use-of-empty-return-value"
|
- [X] "no-use-of-empty-return-value"
|
||||||
- [ ] "no-useless-catch"
|
- [X] "no-useless-catch"
|
||||||
- [ ] "prefer-immediate-return"
|
- [X] "prefer-immediate-return"
|
||||||
- [ ] "prefer-object-literal"
|
- [X] "prefer-object-literal"
|
||||||
- [ ] "prefer-single-boolean-return"
|
- [X] "prefer-single-boolean-return"
|
||||||
- [ ] "prefer-while"
|
- [X] "prefer-while"
|
||||||
|
|
||||||
## TypeScript
|
## TypeScript
|
||||||
|
|
||||||
@ -389,13 +389,14 @@
|
|||||||
- [ ] "ban-types"
|
- [ ] "ban-types"
|
||||||
- [ ] "brace-style"
|
- [ ] "brace-style"
|
||||||
- [ ] "camelcase"
|
- [ ] "camelcase"
|
||||||
|
- [X] "class-literal-property-style"
|
||||||
- [ ] "class-name-casing"
|
- [ ] "class-name-casing"
|
||||||
- [ ] "comma-spacing"
|
- [X] "comma-spacing"
|
||||||
- [ ] "consistent-type-assertions"
|
- [ ] "consistent-type-assertions"
|
||||||
- [ ] "consistent-type-definitions"
|
- [ ] "consistent-type-definitions"
|
||||||
- [ ] "default-param-last"
|
- [ ] "default-param-last"
|
||||||
- [ ] "explicit-function-return-type"
|
- [X] "explicit-function-return-type"
|
||||||
- [ ] "explicit-member-accessibility"
|
- [X] "explicit-member-accessibility"
|
||||||
- [ ] "explicit-module-boundary-types"
|
- [ ] "explicit-module-boundary-types"
|
||||||
- [ ] "func-call-spacing"
|
- [ ] "func-call-spacing"
|
||||||
- [ ] "generic-type-naming"
|
- [ ] "generic-type-naming"
|
||||||
@ -406,6 +407,7 @@
|
|||||||
- [ ] "member-ordering"
|
- [ ] "member-ordering"
|
||||||
- [ ] "naming-convention"
|
- [ ] "naming-convention"
|
||||||
- [ ] "no-array-constructor"
|
- [ ] "no-array-constructor"
|
||||||
|
- [X] "no-base-to-string"
|
||||||
- [ ] "no-dupe-class-members"
|
- [ ] "no-dupe-class-members"
|
||||||
- [ ] "no-dynamic-delete"
|
- [ ] "no-dynamic-delete"
|
||||||
- [ ] "no-empty-function"
|
- [ ] "no-empty-function"
|
||||||
@ -413,7 +415,7 @@
|
|||||||
- [X] "no-explicit-any"
|
- [X] "no-explicit-any"
|
||||||
- [ ] "no-extra-non-null-assertion"
|
- [ ] "no-extra-non-null-assertion"
|
||||||
- [ ] "no-extra-parens"
|
- [ ] "no-extra-parens"
|
||||||
- [ ] "no-extra-semi"
|
- [X] "no-extra-semi"
|
||||||
- [ ] "no-extraneous-class"
|
- [ ] "no-extraneous-class"
|
||||||
- [ ] "no-floating-promises"
|
- [ ] "no-floating-promises"
|
||||||
- [ ] "no-for-in-array"
|
- [ ] "no-for-in-array"
|
||||||
@ -421,7 +423,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"
|
||||||
@ -429,12 +431,15 @@
|
|||||||
- [ ] "no-require-imports"
|
- [ ] "no-require-imports"
|
||||||
- [ ] "no-this-alias"
|
- [ ] "no-this-alias"
|
||||||
- [ ] "no-throw-literal"
|
- [ ] "no-throw-literal"
|
||||||
- [ ] "no-type-alias"
|
- [X] "no-type-alias"
|
||||||
- [ ] "no-unnecessary-boolean-literal-compare"
|
- [ ] "no-unnecessary-boolean-literal-compare"
|
||||||
- [ ] "no-unnecessary-condition"
|
- [X] "no-unnecessary-condition"
|
||||||
- [ ] "no-unnecessary-qualifier"
|
- [ ] "no-unnecessary-qualifier"
|
||||||
- [ ] "no-unnecessary-type-arguments"
|
- [ ] "no-unnecessary-type-arguments"
|
||||||
- [ ] "no-unnecessary-type-assertion"
|
- [X] "no-unnecessary-type-assertion"
|
||||||
|
- [X] "no-unsafe-call"
|
||||||
|
- [X] "no-unsafe-member-access"
|
||||||
|
- [X] "no-unsafe-return"
|
||||||
- [X] "no-untyped-public-signature"
|
- [X] "no-untyped-public-signature"
|
||||||
- [ ] "no-unused-expressions"
|
- [ ] "no-unused-expressions"
|
||||||
- [X] "no-unused-vars"
|
- [X] "no-unused-vars"
|
||||||
@ -450,6 +455,7 @@
|
|||||||
- [ ] "prefer-nullish-coalescing"
|
- [ ] "prefer-nullish-coalescing"
|
||||||
- [ ] "prefer-optional-chain"
|
- [ ] "prefer-optional-chain"
|
||||||
- [ ] "prefer-readonly"
|
- [ ] "prefer-readonly"
|
||||||
|
- [X] "prefer-readonly-parameter-types"
|
||||||
- [ ] "prefer-regexp-exec"
|
- [ ] "prefer-regexp-exec"
|
||||||
- [ ] "prefer-string-starts-ends-with"
|
- [ ] "prefer-string-starts-ends-with"
|
||||||
- [ ] "promise-function-async"
|
- [ ] "promise-function-async"
|
||||||
@ -460,7 +466,7 @@
|
|||||||
- [ ] "restrict-template-expressions"
|
- [ ] "restrict-template-expressions"
|
||||||
- [ ] "return-await"
|
- [ ] "return-await"
|
||||||
- [X] "semi"
|
- [X] "semi"
|
||||||
- [ ] "space-before-function-paren"
|
- [X] "space-before-function-paren"
|
||||||
- [X] "strict-boolean-expressions"
|
- [X] "strict-boolean-expressions"
|
||||||
- [ ] "switch-exhaustiveness-check"
|
- [ ] "switch-exhaustiveness-check"
|
||||||
- [ ] "triple-slash-reference"
|
- [ ] "triple-slash-reference"
|
||||||
@ -479,12 +485,12 @@
|
|||||||
- [ ] "escape-case"
|
- [ ] "escape-case"
|
||||||
- [ ] "expiring-todo-comments"
|
- [ ] "expiring-todo-comments"
|
||||||
- [ ] "explicit-length-check"
|
- [ ] "explicit-length-check"
|
||||||
- [ ] "filename-case"
|
- [X] "filename-case"
|
||||||
- [ ] "import-index"
|
- [X] "import-index"
|
||||||
- [ ] "new-for-builtins"
|
- [ ] "new-for-builtins"
|
||||||
- [ ] "no-abusive-eslint-disable"
|
- [ ] "no-abusive-eslint-disable"
|
||||||
- [ ] "no-array-instanceof"
|
- [ ] "no-array-instanceof"
|
||||||
- [ ] "no-console-spaces"
|
- [X] "no-console-spaces"
|
||||||
- [ ] "no-fn-reference-in-iterator"
|
- [ ] "no-fn-reference-in-iterator"
|
||||||
- [ ] "no-for-loop"
|
- [ ] "no-for-loop"
|
||||||
- [ ] "no-hex-escape"
|
- [ ] "no-hex-escape"
|
||||||
@ -507,17 +513,18 @@
|
|||||||
- [ ] "prefer-negative-index"
|
- [ ] "prefer-negative-index"
|
||||||
- [ ] "prefer-node-append"
|
- [ ] "prefer-node-append"
|
||||||
- [ ] "prefer-node-remove"
|
- [ ] "prefer-node-remove"
|
||||||
|
- [X] "prefer-number-properties"
|
||||||
- [ ] "prefer-query-selector"
|
- [ ] "prefer-query-selector"
|
||||||
- [ ] "prefer-reflect-apply"
|
- [ ] "prefer-reflect-apply"
|
||||||
- [ ] "prefer-replace-all"
|
- [ ] "prefer-replace-all"
|
||||||
|
- [X] "prefer-set-has"
|
||||||
- [ ] "prefer-spread"
|
- [ ] "prefer-spread"
|
||||||
- [ ] "prefer-starts-ends-with"
|
- [ ] "prefer-starts-ends-with"
|
||||||
- [ ] "prefer-string-slice"
|
- [ ] "prefer-string-slice"
|
||||||
- [ ] "prefer-text-content"
|
- [ ] "prefer-text-content"
|
||||||
- [ ] "prefer-trim-start-end"
|
- [ ] "prefer-trim-start-end"
|
||||||
- [ ] "prefer-type-error"
|
- [ ] "prefer-type-error"
|
||||||
- [ ] "prevent-abbreviations"
|
- [X] "prevent-abbreviations"
|
||||||
- [ ] "regex-shorthand"
|
|
||||||
- [ ] "throw-new-error"
|
- [ ] "throw-new-error"
|
||||||
|
|
||||||
## Vue
|
## Vue
|
||||||
@ -529,7 +536,7 @@
|
|||||||
- [ ] "block-spacing"
|
- [ ] "block-spacing"
|
||||||
- [ ] "brace-style"
|
- [ ] "brace-style"
|
||||||
- [ ] "camelcase"
|
- [ ] "camelcase"
|
||||||
- [ ] "comma-dangle"
|
- [X] "comma-dangle"
|
||||||
- [ ] "comment-directive"
|
- [ ] "comment-directive"
|
||||||
- [ ] "component-definition-name-casing"
|
- [ ] "component-definition-name-casing"
|
||||||
- [ ] "component-name-in-template-casing"
|
- [ ] "component-name-in-template-casing"
|
||||||
@ -561,7 +568,7 @@
|
|||||||
- [ ] "no-duplicate-attributes"
|
- [ ] "no-duplicate-attributes"
|
||||||
- [ ] "no-empty-pattern"
|
- [ ] "no-empty-pattern"
|
||||||
- [ ] "no-irregular-whitespace"
|
- [ ] "no-irregular-whitespace"
|
||||||
- [ ] "no-multi-spaces"
|
- [X] "no-multi-spaces"
|
||||||
- [ ] "no-parsing-error"
|
- [ ] "no-parsing-error"
|
||||||
- [ ] "no-reserved-component-names"
|
- [ ] "no-reserved-component-names"
|
||||||
- [ ] "no-reserved-keys"
|
- [ ] "no-reserved-keys"
|
||||||
@ -575,11 +582,12 @@
|
|||||||
- [ ] "no-textarea-mustache"
|
- [ ] "no-textarea-mustache"
|
||||||
- [ ] "no-unsupported-features"
|
- [ ] "no-unsupported-features"
|
||||||
- [ ] "no-unused-components"
|
- [ ] "no-unused-components"
|
||||||
- [ ] "no-unused-vars"
|
- [X] "no-unused-vars"
|
||||||
- [ ] "no-use-v-if-with-v-for"
|
- [ ] "no-use-v-if-with-v-for"
|
||||||
- [ ] "no-v-html"
|
- [ ] "no-v-html"
|
||||||
- [ ] "object-curly-spacing"
|
- [X] "object-curly-spacing"
|
||||||
- [ ] "order-in-components"
|
- [ ] "order-in-components"
|
||||||
|
- [X] "padding-line-between-blocks"
|
||||||
- [ ] "prop-name-casing"
|
- [ ] "prop-name-casing"
|
||||||
- [ ] "require-component-is"
|
- [ ] "require-component-is"
|
||||||
- [ ] "require-default-prop"
|
- [ ] "require-default-prop"
|
||||||
@ -593,7 +601,8 @@
|
|||||||
- [ ] "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] "sort-keys"
|
||||||
|
- [X] "space-infix-ops"
|
||||||
- [ ] "space-unary-ops"
|
- [ ] "space-unary-ops"
|
||||||
- [ ] "static-class-names-order"
|
- [ ] "static-class-names-order"
|
||||||
- [ ] "this-in-template"
|
- [ ] "this-in-template"
|
||||||
|
22
package.json
22
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@valentineus/eslint-config",
|
"name": "@valentineus/eslint-config",
|
||||||
"version": "0.0.6",
|
"version": "0.0.15",
|
||||||
"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",
|
||||||
@ -13,30 +13,30 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-json": "^4.0.2",
|
"@rollup/plugin-json": "^4.0.2",
|
||||||
"@rollup/plugin-typescript": "^3.0.0",
|
"@rollup/plugin-typescript": "^3.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^2.19.2",
|
"@typescript-eslint/eslint-plugin": "^2.26.0",
|
||||||
"@typescript-eslint/parser": "^2.19.2",
|
"@typescript-eslint/parser": "^2.26.0",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-plugin-eslint-comments": "^3.1.2",
|
"eslint-plugin-eslint-comments": "^3.1.2",
|
||||||
"eslint-plugin-import": "^2.20.1",
|
"eslint-plugin-import": "^2.20.2",
|
||||||
"eslint-plugin-security": "^1.4.0",
|
"eslint-plugin-security": "^1.4.0",
|
||||||
"eslint-plugin-sonarjs": "^0.5.0",
|
"eslint-plugin-sonarjs": "^0.5.0",
|
||||||
"eslint-plugin-unicorn": "^16.1.1",
|
"eslint-plugin-unicorn": "^18.0.1",
|
||||||
"eslint-plugin-vue": "^6.1.2",
|
"eslint-plugin-vue": "^6.2.2",
|
||||||
"rollup": "^1.31.1",
|
"rollup": "^1.31.1",
|
||||||
"rollup-plugin-terser": "^5.2.0",
|
"rollup-plugin-terser": "^5.2.0",
|
||||||
"tslib": "^1.10.0",
|
"tslib": "^1.10.0",
|
||||||
"typescript": "^3.7.5"
|
"typescript": "^3.7.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "^2.19.0",
|
"@typescript-eslint/eslint-plugin": "^2.26.0",
|
||||||
"@typescript-eslint/parser": "^2.19.0",
|
"@typescript-eslint/parser": "^2.26.0",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-plugin-eslint-comments": "^3.1.2",
|
"eslint-plugin-eslint-comments": "^3.1.2",
|
||||||
"eslint-plugin-import": "^2.20.1",
|
"eslint-plugin-import": "^2.20.2",
|
||||||
"eslint-plugin-security": "^1.4.0",
|
"eslint-plugin-security": "^1.4.0",
|
||||||
"eslint-plugin-sonarjs": "^0.5.0",
|
"eslint-plugin-sonarjs": "^0.5.0",
|
||||||
"eslint-plugin-unicorn": "^16.1.1",
|
"eslint-plugin-unicorn": "^18.0.1",
|
||||||
"eslint-plugin-vue": "^6.1.2"
|
"eslint-plugin-vue": "^6.2.2"
|
||||||
},
|
},
|
||||||
"dependencies": {}
|
"dependencies": {}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import rComments from "./rules/eslint-comments/default.json";
|
import rComments from "./rules/eslint-comments/default.json";
|
||||||
import rDefault from "./rules/javascript/default.json";
|
|
||||||
import rImport from "./rules/import/default.json";
|
import rImport from "./rules/import/default.json";
|
||||||
|
import rDefault from "./rules/javascript/default.json";
|
||||||
import rSecurity from "./rules/security/default.json";
|
import rSecurity from "./rules/security/default.json";
|
||||||
import rSonarJS from "./rules/sonarjs/default.json";
|
import rSonarJS from "./rules/sonarjs/default.json";
|
||||||
import rUnicorn from "./rules/unicorn/default.json";
|
import rUnicorn from "./rules/unicorn/default.json";
|
||||||
|
@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
@ -13,5 +13,30 @@
|
|||||||
],
|
],
|
||||||
"import/no-webpack-loader-syntax": [
|
"import/no-webpack-loader-syntax": [
|
||||||
"error"
|
"error"
|
||||||
|
],
|
||||||
|
"import/order": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"alphabetize": {
|
||||||
|
"caseInsensitive": false,
|
||||||
|
"order": "asc"
|
||||||
|
},
|
||||||
|
"groups": [
|
||||||
|
[
|
||||||
|
"builtin",
|
||||||
|
"external"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"internal",
|
||||||
|
"parent",
|
||||||
|
"sibling"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"index"
|
||||||
|
],
|
||||||
|
"unknown"
|
||||||
|
],
|
||||||
|
"newlines-between": "always"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -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": [],
|
||||||
@ -121,6 +121,10 @@
|
|||||||
"indent-legacy": [
|
"indent-legacy": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
"jsx-quotes": [
|
||||||
|
"error",
|
||||||
|
"prefer-double"
|
||||||
|
],
|
||||||
"key-spacing": [
|
"key-spacing": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
@ -173,6 +177,7 @@
|
|||||||
"code": 180,
|
"code": 180,
|
||||||
"comments": 72,
|
"comments": 72,
|
||||||
"ignoreComments": false,
|
"ignoreComments": false,
|
||||||
|
"ignorePattern": "eslint*",
|
||||||
"ignoreRegExpLiterals": false,
|
"ignoreRegExpLiterals": false,
|
||||||
"ignoreStrings": true,
|
"ignoreStrings": true,
|
||||||
"ignoreTemplateLiterals": true,
|
"ignoreTemplateLiterals": true,
|
||||||
@ -196,6 +201,12 @@
|
|||||||
"max-statements": [
|
"max-statements": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
"max-statements-per-line": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
"multiline-comment-style": [
|
"multiline-comment-style": [
|
||||||
"error",
|
"error",
|
||||||
"starred-block"
|
"starred-block"
|
||||||
@ -284,16 +295,7 @@
|
|||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
"no-magic-numbers": [
|
"no-magic-numbers": [
|
||||||
"warn",
|
"off"
|
||||||
{
|
|
||||||
"detectObjects": false,
|
|
||||||
"enforceConst": true,
|
|
||||||
"ignore": [
|
|
||||||
0,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
"ignoreArrayIndexes": false
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"no-mixed-spaces-and-tabs": [
|
"no-mixed-spaces-and-tabs": [
|
||||||
"error"
|
"error"
|
||||||
@ -337,9 +339,18 @@
|
|||||||
"no-octal-escape": [
|
"no-octal-escape": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"no-param-reassign": [
|
||||||
|
"warn",
|
||||||
|
{
|
||||||
|
"props": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"no-path-concat": [
|
"no-path-concat": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"no-process-env": [
|
||||||
|
"off"
|
||||||
|
],
|
||||||
"no-proto": [
|
"no-proto": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
@ -375,6 +386,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 +460,9 @@
|
|||||||
"no-var": [
|
"no-var": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"no-whitespace-before-property": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
"no-with": [
|
"no-with": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
@ -594,6 +615,12 @@
|
|||||||
"named": "never"
|
"named": "never"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"space-infix-ops": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"int32Hint": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"strict": [
|
"strict": [
|
||||||
"error",
|
"error",
|
||||||
"safe"
|
"safe"
|
||||||
|
@ -1 +1,80 @@
|
|||||||
{}
|
{
|
||||||
|
"sonarjs/cognitive-complexity": [
|
||||||
|
"warn",
|
||||||
|
25
|
||||||
|
],
|
||||||
|
"sonarjs/max-switch-cases": [
|
||||||
|
"warn",
|
||||||
|
30
|
||||||
|
],
|
||||||
|
"sonarjs/no-all-duplicated-branches": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-collapsible-if": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-collection-size-mischeck": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-duplicate-string": [
|
||||||
|
"warn",
|
||||||
|
5
|
||||||
|
],
|
||||||
|
"sonarjs/no-duplicated-branches": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-element-overwrite": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-extra-arguments": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-identical-conditions": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-identical-expressions": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-identical-functions": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-inverted-boolean-check": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-one-iteration-loop": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-redundant-boolean": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-redundant-jump": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-same-line-conditional": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-small-switch": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-unused-collection": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-use-of-empty-return-value": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/no-useless-catch": [
|
||||||
|
"warn"
|
||||||
|
],
|
||||||
|
"sonarjs/prefer-immediate-return": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/prefer-object-literal": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/prefer-single-boolean-return": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"sonarjs/prefer-while": [
|
||||||
|
"error"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
@ -2,6 +2,38 @@
|
|||||||
"@typescript-eslint/await-thenable": [
|
"@typescript-eslint/await-thenable": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/class-literal-property-style": [
|
||||||
|
"error",
|
||||||
|
"getters"
|
||||||
|
],
|
||||||
|
"@typescript-eslint/comma-spacing": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"after": true,
|
||||||
|
"before": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@typescript-eslint/explicit-function-return-type": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allowExpressions": false,
|
||||||
|
"allowHigherOrderFunctions": false,
|
||||||
|
"allowTypedFunctionExpressions": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@typescript-eslint/explicit-member-accessibility": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"accessibility": "explicit",
|
||||||
|
"overrides": {
|
||||||
|
"accessors": "explicit",
|
||||||
|
"constructors": "explicit",
|
||||||
|
"methods": "explicit",
|
||||||
|
"parameterProperties": "explicit",
|
||||||
|
"properties": "explicit"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"@typescript-eslint/indent": [
|
"@typescript-eslint/indent": [
|
||||||
"error",
|
"error",
|
||||||
"tab",
|
"tab",
|
||||||
@ -22,7 +54,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": [],
|
||||||
@ -36,6 +68,9 @@
|
|||||||
"prefixWithI": "always"
|
"prefixWithI": "always"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/no-base-to-string": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
"@typescript-eslint/no-empty-interface": [
|
"@typescript-eslint/no-empty-interface": [
|
||||||
"warn",
|
"warn",
|
||||||
{
|
{
|
||||||
@ -45,10 +80,13 @@
|
|||||||
"@typescript-eslint/no-explicit-any": [
|
"@typescript-eslint/no-explicit-any": [
|
||||||
"warn",
|
"warn",
|
||||||
{
|
{
|
||||||
"fixToUnknown": false,
|
"fixToUnknown": true,
|
||||||
"ignoreRestArgs": false
|
"ignoreRestArgs": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/no-extra-semi": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
"@typescript-eslint/no-implied-eval": [
|
"@typescript-eslint/no-implied-eval": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
@ -56,18 +94,13 @@
|
|||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
"@typescript-eslint/no-magic-numbers": [
|
"@typescript-eslint/no-magic-numbers": [
|
||||||
"warn",
|
"off"
|
||||||
{
|
|
||||||
"detectObjects": false,
|
|
||||||
"enforceConst": true,
|
|
||||||
"ignore": [
|
|
||||||
0,
|
|
||||||
1
|
|
||||||
],
|
],
|
||||||
"ignoreArrayIndexes": false,
|
"@typescript-eslint/no-misused-promises": [
|
||||||
"ignoreEnums": true,
|
"error",
|
||||||
"ignoreNumericLiteralTypes": true,
|
{
|
||||||
"ignoreReadonlyClassProperties": true
|
"checksConditionals": true,
|
||||||
|
"checksVoidReturn": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"@typescript-eslint/no-namespace": [
|
"@typescript-eslint/no-namespace": [
|
||||||
@ -77,8 +110,40 @@
|
|||||||
"allowDefinitionFiles": true
|
"allowDefinitionFiles": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"@typescript-eslint/no-untyped-public-signature": [
|
"@typescript-eslint/no-type-alias": [
|
||||||
"error",
|
"error",
|
||||||
|
{
|
||||||
|
"allowAliases": "in-unions-and-intersections",
|
||||||
|
"allowCallbacks": "always",
|
||||||
|
"allowConditionalTypes": "always",
|
||||||
|
"allowConstructors": "never",
|
||||||
|
"allowLiterals": "never",
|
||||||
|
"allowMappedTypes": "never",
|
||||||
|
"allowTupleTypes": "in-unions-and-intersections"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@typescript-eslint/no-unnecessary-condition": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allowConstantLoopConditions": false,
|
||||||
|
"checkArrayPredicates": true,
|
||||||
|
"ignoreRhs": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@typescript-eslint/no-unnecessary-type-assertion": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"@typescript-eslint/no-unsafe-call": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"@typescript-eslint/no-unsafe-member-access": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"@typescript-eslint/no-unsafe-return": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"@typescript-eslint/no-untyped-public-signature": [
|
||||||
|
"warn",
|
||||||
{
|
{
|
||||||
"ignoredMethods": [
|
"ignoredMethods": [
|
||||||
"constructor"
|
"constructor"
|
||||||
@ -113,6 +178,12 @@
|
|||||||
"@typescript-eslint/no-var-requires": [
|
"@typescript-eslint/no-var-requires": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/prefer-readonly-parameter-types": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"checkParameterProperties": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"@typescript-eslint/quotes": [
|
"@typescript-eslint/quotes": [
|
||||||
"error",
|
"error",
|
||||||
"double",
|
"double",
|
||||||
@ -131,6 +202,14 @@
|
|||||||
"omitLastInOneLineBlock": false
|
"omitLastInOneLineBlock": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/space-before-function-paren": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"anonymous": "always",
|
||||||
|
"asyncArrow": "always",
|
||||||
|
"named": "never"
|
||||||
|
}
|
||||||
|
],
|
||||||
"@typescript-eslint/strict-boolean-expressions": [
|
"@typescript-eslint/strict-boolean-expressions": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
@ -142,6 +221,8 @@
|
|||||||
"@typescript-eslint/type-annotation-spacing": [
|
"@typescript-eslint/type-annotation-spacing": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
"after": true,
|
||||||
|
"before": false,
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"arrow": {
|
"arrow": {
|
||||||
"after": true,
|
"after": true,
|
||||||
@ -150,6 +231,22 @@
|
|||||||
"colon": {
|
"colon": {
|
||||||
"after": true,
|
"after": true,
|
||||||
"before": false
|
"before": false
|
||||||
|
},
|
||||||
|
"parameter": {
|
||||||
|
"after": true,
|
||||||
|
"before": false
|
||||||
|
},
|
||||||
|
"property": {
|
||||||
|
"after": true,
|
||||||
|
"before": false
|
||||||
|
},
|
||||||
|
"returnType": {
|
||||||
|
"after": true,
|
||||||
|
"before": false
|
||||||
|
},
|
||||||
|
"variable": {
|
||||||
|
"after": true,
|
||||||
|
"before": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -163,16 +260,20 @@
|
|||||||
"objectDestructuring": true,
|
"objectDestructuring": true,
|
||||||
"parameter": true,
|
"parameter": true,
|
||||||
"propertyDeclaration": true,
|
"propertyDeclaration": true,
|
||||||
"variableDeclaration": true
|
"variableDeclaration": true,
|
||||||
|
"variableDeclarationIgnoreFunction": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"comma-spacing": [
|
||||||
|
"off"
|
||||||
|
],
|
||||||
"indent": [
|
"indent": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
"no-implied-eval": [
|
"no-extra-semi": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
"no-magic-numbers": [
|
"no-implied-eval": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
"no-unused-vars": [
|
"no-unused-vars": [
|
||||||
@ -192,5 +293,8 @@
|
|||||||
],
|
],
|
||||||
"semi": [
|
"semi": [
|
||||||
"off"
|
"off"
|
||||||
|
],
|
||||||
|
"space-before-function-paren": [
|
||||||
|
"off"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1 +1,44 @@
|
|||||||
{}
|
{
|
||||||
|
"unicorn/filename-case": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"cases": {
|
||||||
|
"kebabCase": true,
|
||||||
|
"pascalCase": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"unicorn/import-index": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"ignoreImports": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"unicorn/no-console-spaces": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"unicorn/prefer-number-properties": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"unicorn/prefer-set-has": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"unicorn/prevent-abbreviations": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"checkDefaultAndNamespaceImports": "internal",
|
||||||
|
"checkFilenames": true,
|
||||||
|
"checkProperties": true,
|
||||||
|
"checkShorthandImports": "internal",
|
||||||
|
"checkShorthandProperties": true,
|
||||||
|
"checkVariables": true,
|
||||||
|
"extendDefaultReplacements": true,
|
||||||
|
"extendDefaultWhitelist": true,
|
||||||
|
"replacements": {},
|
||||||
|
"whitelist": {}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"unicorn/string-content": [
|
||||||
|
"error"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
"vue/attributes-order": [
|
"vue/attributes-order": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
"alphabetical": true,
|
||||||
"order": [
|
"order": [
|
||||||
"DEFINITION",
|
"DEFINITION",
|
||||||
"LIST_RENDERING",
|
"LIST_RENDERING",
|
||||||
@ -17,6 +18,10 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"vue/comma-dangle": [
|
||||||
|
"error",
|
||||||
|
"always-multiline"
|
||||||
|
],
|
||||||
"vue/html-closing-bracket-newline": [
|
"vue/html-closing-bracket-newline": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
@ -44,7 +49,10 @@
|
|||||||
],
|
],
|
||||||
"vue/html-quotes": [
|
"vue/html-quotes": [
|
||||||
"error",
|
"error",
|
||||||
"double"
|
"double",
|
||||||
|
{
|
||||||
|
"avoidEscape": false
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"vue/html-self-closing": [
|
"vue/html-self-closing": [
|
||||||
"error",
|
"error",
|
||||||
@ -68,6 +76,27 @@
|
|||||||
"singleline": 8
|
"singleline": 8
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"vue/no-multi-spaces": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"ignoreProperties": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"vue/no-unused-vars": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"vue/object-curly-spacing": [
|
||||||
|
"error",
|
||||||
|
"always",
|
||||||
|
{
|
||||||
|
"arraysInObjects": false,
|
||||||
|
"objectsInObjects": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"vue/padding-line-between-blocks": [
|
||||||
|
"error",
|
||||||
|
"always"
|
||||||
|
],
|
||||||
"vue/script-indent": [
|
"vue/script-indent": [
|
||||||
"error",
|
"error",
|
||||||
"tab",
|
"tab",
|
||||||
@ -75,5 +104,45 @@
|
|||||||
"baseIndent": 0,
|
"baseIndent": 0,
|
||||||
"switchCase": 1
|
"switchCase": 1
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"vue/sort-keys": [
|
||||||
|
"warn",
|
||||||
|
"asc",
|
||||||
|
{
|
||||||
|
"caseSensitive": true,
|
||||||
|
"ignoreChildrenOf": [
|
||||||
|
"model"
|
||||||
|
],
|
||||||
|
"ignoreGrandchildrenOf": [
|
||||||
|
"activated",
|
||||||
|
"beforeCreate",
|
||||||
|
"beforeDestroy",
|
||||||
|
"beforeMount",
|
||||||
|
"beforeUpdate",
|
||||||
|
"components",
|
||||||
|
"computed",
|
||||||
|
"created",
|
||||||
|
"data",
|
||||||
|
"deactivated",
|
||||||
|
"destroyed",
|
||||||
|
"directives",
|
||||||
|
"errorCaptured",
|
||||||
|
"filters",
|
||||||
|
"methods",
|
||||||
|
"mounted",
|
||||||
|
"name",
|
||||||
|
"props",
|
||||||
|
"updated",
|
||||||
|
"watch"
|
||||||
|
],
|
||||||
|
"minKeys": 2,
|
||||||
|
"natural": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"vue/space-infix-ops": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"int32Hint": false
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
5
src/rules/vue/overrides.json
Normal file
5
src/rules/vue/overrides.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"sort-keys": [
|
||||||
|
"off"
|
||||||
|
]
|
||||||
|
}
|
@ -9,6 +9,9 @@ module.exports = {
|
|||||||
"plugin:import/typescript",
|
"plugin:import/typescript",
|
||||||
],
|
],
|
||||||
"parser": "@typescript-eslint/parser",
|
"parser": "@typescript-eslint/parser",
|
||||||
|
"parserOptions": {
|
||||||
|
createDefaultProgram: true,
|
||||||
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@typescript-eslint",
|
"@typescript-eslint",
|
||||||
],
|
],
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import rDefault from "./rules/vue/default.json";
|
import rDefault from "./rules/vue/default.json";
|
||||||
|
import rOverrides from "./rules/vue/overrides.json";
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
"extends": [
|
"extends": [
|
||||||
@ -8,6 +9,14 @@ module.exports = {
|
|||||||
"plugin:vue/recommended",
|
"plugin:vue/recommended",
|
||||||
"plugin:vue/strongly-recommended",
|
"plugin:vue/strongly-recommended",
|
||||||
],
|
],
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
files: [
|
||||||
|
"*.vue",
|
||||||
|
],
|
||||||
|
rules: { ...rOverrides },
|
||||||
|
},
|
||||||
|
],
|
||||||
"parser": "vue-eslint-parser",
|
"parser": "vue-eslint-parser",
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
extraFileExtensions: [
|
extraFileExtensions: [
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import rDefault from "./rules/vue/default.json";
|
import rDefault from "./rules/vue/default.json";
|
||||||
|
import rOverrides from "./rules/vue/overrides.json";
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
"extends": [
|
"extends": [
|
||||||
@ -8,8 +9,17 @@ module.exports = {
|
|||||||
"plugin:vue/recommended",
|
"plugin:vue/recommended",
|
||||||
"plugin:vue/strongly-recommended",
|
"plugin:vue/strongly-recommended",
|
||||||
],
|
],
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
files: [
|
||||||
|
"*.vue",
|
||||||
|
],
|
||||||
|
rules: { ...rOverrides },
|
||||||
|
},
|
||||||
|
],
|
||||||
"parser": "vue-eslint-parser",
|
"parser": "vue-eslint-parser",
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
|
createDefaultProgram: true,
|
||||||
extraFileExtensions: [
|
extraFileExtensions: [
|
||||||
".vue",
|
".vue",
|
||||||
],
|
],
|
||||||
|
143
yarn.lock
143
yarn.lock
@ -56,49 +56,49 @@
|
|||||||
integrity sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA==
|
integrity sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA==
|
||||||
|
|
||||||
"@types/node@*":
|
"@types/node@*":
|
||||||
version "13.7.1"
|
version "13.7.2"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.1.tgz#238eb34a66431b71d2aaddeaa7db166f25971a0d"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.2.tgz#50375b95b5845a34efda2ffb3a087c7becbc46c6"
|
||||||
integrity sha512-Zq8gcQGmn4txQEJeiXo/KiLpon8TzAl0kmKH4zdWctPj05nWwp1ClMdAVEloqrQKfaC48PNLdgN/aVaLqUrluA==
|
integrity sha512-uvilvAQbdJvnSBFcKJ2td4016urcGvsiR+N4dHGU87ml8O2Vl6l+ErOi9w0kXSPiwJ1AYlIW+0pDXDWWMOiWbw==
|
||||||
|
|
||||||
"@types/normalize-package-data@^2.4.0":
|
"@types/normalize-package-data@^2.4.0":
|
||||||
version "2.4.0"
|
version "2.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
|
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
|
||||||
integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==
|
integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==
|
||||||
|
|
||||||
"@typescript-eslint/eslint-plugin@^2.19.2":
|
"@typescript-eslint/eslint-plugin@^2.26.0":
|
||||||
version "2.19.2"
|
version "2.26.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.19.2.tgz#e279aaae5d5c1f2547b4cff99204e1250bc7a058"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.26.0.tgz#04c96560c8981421e5a9caad8394192363cc423f"
|
||||||
integrity sha512-HX2qOq2GOV04HNrmKnTpSIpHjfl7iwdXe3u/Nvt+/cpmdvzYvY0NHSiTkYN257jHnq4OM/yo+OsFgati+7LqJA==
|
integrity sha512-4yUnLv40bzfzsXcTAtZyTjbiGUXMrcIJcIMioI22tSOyAxpdXiZ4r7YQUU8Jj6XXrLz9d5aMHPQf5JFR7h27Nw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/experimental-utils" "2.19.2"
|
"@typescript-eslint/experimental-utils" "2.26.0"
|
||||||
eslint-utils "^1.4.3"
|
|
||||||
functional-red-black-tree "^1.0.1"
|
functional-red-black-tree "^1.0.1"
|
||||||
regexpp "^3.0.0"
|
regexpp "^3.0.0"
|
||||||
tsutils "^3.17.1"
|
tsutils "^3.17.1"
|
||||||
|
|
||||||
"@typescript-eslint/experimental-utils@2.19.2":
|
"@typescript-eslint/experimental-utils@2.26.0":
|
||||||
version "2.19.2"
|
version "2.26.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.19.2.tgz#4611d44cf0f0cb460c26aa7676fc0a787281e233"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.26.0.tgz#063390c404d9980767d76274df386c0aa675d91d"
|
||||||
integrity sha512-B88QuwT1wMJR750YvTJBNjMZwmiPpbmKYLm1yI7PCc3x0NariqPwqaPsoJRwU9DmUi0cd9dkhz1IqEnwfD+P1A==
|
integrity sha512-RELVoH5EYd+JlGprEyojUv9HeKcZqF7nZUGSblyAw1FwOGNnmQIU8kxJ69fttQvEwCsX5D6ECJT8GTozxrDKVQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/json-schema" "^7.0.3"
|
"@types/json-schema" "^7.0.3"
|
||||||
"@typescript-eslint/typescript-estree" "2.19.2"
|
"@typescript-eslint/typescript-estree" "2.26.0"
|
||||||
eslint-scope "^5.0.0"
|
eslint-scope "^5.0.0"
|
||||||
|
eslint-utils "^2.0.0"
|
||||||
|
|
||||||
"@typescript-eslint/parser@^2.19.2":
|
"@typescript-eslint/parser@^2.26.0":
|
||||||
version "2.19.2"
|
version "2.26.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.19.2.tgz#21f42c0694846367e7d6a907feb08ab2f89c0879"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.26.0.tgz#385463615818b33acb72a25b39c03579df93d76f"
|
||||||
integrity sha512-8uwnYGKqX9wWHGPGdLB9sk9+12sjcdqEEYKGgbS8A0IvYX59h01o8os5qXUHMq2na8vpDRaV0suTLM7S8wraTA==
|
integrity sha512-+Xj5fucDtdKEVGSh9353wcnseMRkPpEAOY96EEenN7kJVrLqy/EVwtIh3mxcUz8lsFXW1mT5nN5vvEam/a5HiQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/eslint-visitor-keys" "^1.0.0"
|
"@types/eslint-visitor-keys" "^1.0.0"
|
||||||
"@typescript-eslint/experimental-utils" "2.19.2"
|
"@typescript-eslint/experimental-utils" "2.26.0"
|
||||||
"@typescript-eslint/typescript-estree" "2.19.2"
|
"@typescript-eslint/typescript-estree" "2.26.0"
|
||||||
eslint-visitor-keys "^1.1.0"
|
eslint-visitor-keys "^1.1.0"
|
||||||
|
|
||||||
"@typescript-eslint/typescript-estree@2.19.2":
|
"@typescript-eslint/typescript-estree@2.26.0":
|
||||||
version "2.19.2"
|
version "2.26.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.19.2.tgz#67485b00172f400474d243c6c0be27581a579350"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.26.0.tgz#d8132cf1ee8a72234f996519a47d8a9118b57d56"
|
||||||
integrity sha512-Xu/qa0MDk6upQWqE4Qy2X16Xg8Vi32tQS2PR0AvnT/ZYS4YGDvtn2MStOh5y8Zy2mg4NuL06KUHlvCh95j9C6Q==
|
integrity sha512-3x4SyZCLB4zsKsjuhxDLeVJN6W29VwBnYpCsZ7vIdPel9ZqLfIZJgJXO47MNUkurGpQuIBALdPQKtsSnWpE1Yg==
|
||||||
dependencies:
|
dependencies:
|
||||||
debug "^4.1.1"
|
debug "^4.1.1"
|
||||||
eslint-visitor-keys "^1.1.0"
|
eslint-visitor-keys "^1.1.0"
|
||||||
@ -114,9 +114,9 @@ acorn-jsx@^5.1.0:
|
|||||||
integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==
|
integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==
|
||||||
|
|
||||||
acorn@^7.1.0:
|
acorn@^7.1.0:
|
||||||
version "7.1.0"
|
version "7.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"
|
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.1.tgz#e35668de0b402f359de515c5482a1ab9f89a69bf"
|
||||||
integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==
|
integrity sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==
|
||||||
|
|
||||||
ajv@^6.10.0, ajv@^6.10.2:
|
ajv@^6.10.0, ajv@^6.10.2:
|
||||||
version "6.11.0"
|
version "6.11.0"
|
||||||
@ -401,10 +401,10 @@ eslint-plugin-eslint-comments@^3.1.2:
|
|||||||
escape-string-regexp "^1.0.5"
|
escape-string-regexp "^1.0.5"
|
||||||
ignore "^5.0.5"
|
ignore "^5.0.5"
|
||||||
|
|
||||||
eslint-plugin-import@^2.20.1:
|
eslint-plugin-import@^2.20.2:
|
||||||
version "2.20.1"
|
version "2.20.2"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.20.1.tgz#802423196dcb11d9ce8435a5fc02a6d3b46939b3"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.20.2.tgz#91fc3807ce08be4837141272c8b99073906e588d"
|
||||||
integrity sha512-qQHgFOTjguR+LnYRoToeZWT62XM55MBVXObHM6SKFd1VzDcX/vqT1kAz8ssqigh5eMj8qXcRoXXGZpPP6RfdCw==
|
integrity sha512-FObidqpXrR8OnCh4iNsxy+WACztJLXAHBO5hK79T1Hc77PgQZkyDGA5Ag9xAvRpglvLNxhH/zSmZ70/pZ31dHg==
|
||||||
dependencies:
|
dependencies:
|
||||||
array-includes "^3.0.3"
|
array-includes "^3.0.3"
|
||||||
array.prototype.flat "^1.2.1"
|
array.prototype.flat "^1.2.1"
|
||||||
@ -431,33 +431,29 @@ eslint-plugin-sonarjs@^0.5.0:
|
|||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.5.0.tgz#ce17b2daba65a874c2862213a9e38e8986ad7d7d"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.5.0.tgz#ce17b2daba65a874c2862213a9e38e8986ad7d7d"
|
||||||
integrity sha512-XW5MnzlRjhXpIdbULC/qAdJYHWw3rRLws/DyawdlPU/IdVr9AmRK1r2LaCvabwKOAW2XYYSo3kDX58E4MrB7PQ==
|
integrity sha512-XW5MnzlRjhXpIdbULC/qAdJYHWw3rRLws/DyawdlPU/IdVr9AmRK1r2LaCvabwKOAW2XYYSo3kDX58E4MrB7PQ==
|
||||||
|
|
||||||
eslint-plugin-unicorn@^16.1.1:
|
eslint-plugin-unicorn@^18.0.1:
|
||||||
version "16.1.1"
|
version "18.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-16.1.1.tgz#012c598d71914ef30f5d386dd85110e59f2ef999"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-18.0.1.tgz#8d3285ffa57b2f6b07550b94e62228d93bf61813"
|
||||||
integrity sha512-IMxCsntb0T8s660Irc40gtzXtxuXHcOn36G9G8OYKfiseBD/kNrA1cNJhsJ0xQteDASGrFwqdzBsYEkUvczhOA==
|
integrity sha512-Y4bgygek4x4ogeMcSHr6MZi3frBPZ80eIpMOsxew7jAblb53OYflpRh0an62Z6jv/fw7D3TkXauqLOBWbT9adg==
|
||||||
dependencies:
|
dependencies:
|
||||||
ci-info "^2.0.0"
|
ci-info "^2.0.0"
|
||||||
clean-regexp "^1.0.0"
|
clean-regexp "^1.0.0"
|
||||||
eslint-ast-utils "^1.1.0"
|
eslint-ast-utils "^1.1.0"
|
||||||
eslint-template-visitor "^1.1.0"
|
eslint-template-visitor "^1.1.0"
|
||||||
import-modules "^2.0.0"
|
import-modules "^2.0.0"
|
||||||
lodash.camelcase "^4.3.0"
|
lodash "^4.17.15"
|
||||||
lodash.defaultsdeep "^4.6.1"
|
|
||||||
lodash.kebabcase "^4.1.1"
|
|
||||||
lodash.snakecase "^4.1.1"
|
|
||||||
lodash.upperfirst "^4.3.1"
|
|
||||||
read-pkg-up "^7.0.1"
|
read-pkg-up "^7.0.1"
|
||||||
regexp-tree "^0.1.17"
|
regexp-tree "^0.1.21"
|
||||||
regexpp "^3.0.0"
|
|
||||||
reserved-words "^0.1.2"
|
reserved-words "^0.1.2"
|
||||||
safe-regex "^2.1.1"
|
safe-regex "^2.1.1"
|
||||||
semver "^7.1.2"
|
semver "^7.1.3"
|
||||||
|
|
||||||
eslint-plugin-vue@^6.1.2:
|
eslint-plugin-vue@^6.2.2:
|
||||||
version "6.1.2"
|
version "6.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-6.1.2.tgz#4b05c28c83c0ec912669b64dbd998bb8bf692ef6"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-6.2.2.tgz#27fecd9a3a24789b0f111ecdd540a9e56198e0fe"
|
||||||
integrity sha512-M75oAB+2a/LNkLKRbeEaS07EjzjIUaV7/hYoHAfRFeeF8ZMmCbahUn8nQLsLP85mkar24+zDU3QW2iT1JRsACw==
|
integrity sha512-Nhc+oVAHm0uz/PkJAWscwIT4ijTrK5fqNqz9QB1D35SbbuMG1uB6Yr5AJpvPSWg+WOw7nYNswerYh0kOk64gqQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
|
natural-compare "^1.4.0"
|
||||||
semver "^5.6.0"
|
semver "^5.6.0"
|
||||||
vue-eslint-parser "^7.0.0"
|
vue-eslint-parser "^7.0.0"
|
||||||
|
|
||||||
@ -485,6 +481,13 @@ eslint-utils@^1.4.3:
|
|||||||
dependencies:
|
dependencies:
|
||||||
eslint-visitor-keys "^1.1.0"
|
eslint-visitor-keys "^1.1.0"
|
||||||
|
|
||||||
|
eslint-utils@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.0.0.tgz#7be1cc70f27a72a76cd14aa698bcabed6890e1cd"
|
||||||
|
integrity sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA==
|
||||||
|
dependencies:
|
||||||
|
eslint-visitor-keys "^1.1.0"
|
||||||
|
|
||||||
eslint-visitor-keys@^1.1.0:
|
eslint-visitor-keys@^1.1.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
|
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
|
||||||
@ -606,9 +609,9 @@ fast-levenshtein@~2.0.6:
|
|||||||
integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
|
integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
|
||||||
|
|
||||||
figures@^3.0.0:
|
figures@^3.0.0:
|
||||||
version "3.1.0"
|
version "3.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/figures/-/figures-3.1.0.tgz#4b198dd07d8d71530642864af2d45dd9e459c4ec"
|
resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af"
|
||||||
integrity sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg==
|
integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==
|
||||||
dependencies:
|
dependencies:
|
||||||
escape-string-regexp "^1.0.5"
|
escape-string-regexp "^1.0.5"
|
||||||
|
|
||||||
@ -928,45 +931,20 @@ locate-path@^5.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
p-locate "^4.1.0"
|
p-locate "^4.1.0"
|
||||||
|
|
||||||
lodash.camelcase@^4.3.0:
|
|
||||||
version "4.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6"
|
|
||||||
integrity sha1-soqmKIorn8ZRA1x3EfZathkDMaY=
|
|
||||||
|
|
||||||
lodash.defaultsdeep@^4.6.1:
|
|
||||||
version "4.6.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/lodash.defaultsdeep/-/lodash.defaultsdeep-4.6.1.tgz#512e9bd721d272d94e3d3a63653fa17516741ca6"
|
|
||||||
integrity sha512-3j8wdDzYuWO3lM3Reg03MuQR957t287Rpcxp1njpEa8oDrikb+FwGdW3n+FELh/A6qib6yPit0j/pv9G/yeAqA==
|
|
||||||
|
|
||||||
lodash.get@^4.4.2:
|
lodash.get@^4.4.2:
|
||||||
version "4.4.2"
|
version "4.4.2"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
|
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
|
||||||
integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=
|
integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=
|
||||||
|
|
||||||
lodash.kebabcase@^4.1.1:
|
|
||||||
version "4.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36"
|
|
||||||
integrity sha1-hImxyw0p/4gZXM7KRI/21swpXDY=
|
|
||||||
|
|
||||||
lodash.snakecase@^4.1.1:
|
|
||||||
version "4.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz#39d714a35357147837aefd64b5dcbb16becd8f8d"
|
|
||||||
integrity sha1-OdcUo1NXFHg3rv1ktdy7Fr7Nj40=
|
|
||||||
|
|
||||||
lodash.upperfirst@^4.3.1:
|
|
||||||
version "4.3.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz#1365edf431480481ef0d1c68957a5ed99d49f7ce"
|
|
||||||
integrity sha1-E2Xt9DFIBIHvDRxolXpe2Z1J984=
|
|
||||||
|
|
||||||
lodash.zip@^4.2.0:
|
lodash.zip@^4.2.0:
|
||||||
version "4.2.0"
|
version "4.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.zip/-/lodash.zip-4.2.0.tgz#ec6662e4896408ed4ab6c542a3990b72cc080020"
|
resolved "https://registry.yarnpkg.com/lodash.zip/-/lodash.zip-4.2.0.tgz#ec6662e4896408ed4ab6c542a3990b72cc080020"
|
||||||
integrity sha1-7GZi5IlkCO1KtsVCo5kLcswIACA=
|
integrity sha1-7GZi5IlkCO1KtsVCo5kLcswIACA=
|
||||||
|
|
||||||
lodash@^4.17.14, lodash@^4.17.15:
|
lodash@^4.17.14, lodash@^4.17.15:
|
||||||
version "4.17.15"
|
version "4.17.19"
|
||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
|
||||||
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
|
integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==
|
||||||
|
|
||||||
merge-stream@^2.0.0:
|
merge-stream@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
@ -1255,7 +1233,12 @@ read-pkg@^5.2.0:
|
|||||||
parse-json "^5.0.0"
|
parse-json "^5.0.0"
|
||||||
type-fest "^0.6.0"
|
type-fest "^0.6.0"
|
||||||
|
|
||||||
regexp-tree@^0.1.17, regexp-tree@~0.1.1:
|
regexp-tree@^0.1.21:
|
||||||
|
version "0.1.21"
|
||||||
|
resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.21.tgz#55e2246b7f7d36f1b461490942fa780299c400d7"
|
||||||
|
integrity sha512-kUUXjX4AnqnR8KRTCrayAo9PzYMRKmVoGgaz2tBuz0MF3g1ZbGebmtW0yFHfFK9CmBjQKeYIgoL22pFLBJY7sw==
|
||||||
|
|
||||||
|
regexp-tree@~0.1.1:
|
||||||
version "0.1.19"
|
version "0.1.19"
|
||||||
resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.19.tgz#9326e91d8d1d23298dd33a78cf5e788f57cdc359"
|
resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.19.tgz#9326e91d8d1d23298dd33a78cf5e788f57cdc359"
|
||||||
integrity sha512-mVeVLF/qg5qFbZSW0f7pXbuVX73dKIjuhOyC2JLKxzmpya75O4qLcvI9j0jp31Iz7IAkEVHa1UErDCAqaLKo5A==
|
integrity sha512-mVeVLF/qg5qFbZSW0f7pXbuVX73dKIjuhOyC2JLKxzmpya75O4qLcvI9j0jp31Iz7IAkEVHa1UErDCAqaLKo5A==
|
||||||
@ -1377,7 +1360,7 @@ semver@^6.1.2, semver@^6.3.0:
|
|||||||
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
|
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
|
||||||
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
|
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
|
||||||
|
|
||||||
semver@^7.1.2:
|
semver@^7.1.3:
|
||||||
version "7.1.3"
|
version "7.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/semver/-/semver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6"
|
resolved "https://registry.yarnpkg.com/semver/-/semver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6"
|
||||||
integrity sha512-ekM0zfiA9SCBlsKa2X1hxyxiI4L3B6EbVJkkdgQXnSEEaHlGdvyodMruTiulSRWMMB4NeIuYNMC9rTKTz97GxA==
|
integrity sha512-ekM0zfiA9SCBlsKa2X1hxyxiI4L3B6EbVJkkdgQXnSEEaHlGdvyodMruTiulSRWMMB4NeIuYNMC9rTKTz97GxA==
|
||||||
|
Loading…
x
Reference in New Issue
Block a user