5 Commits

Author SHA1 Message Date
ac992249ae build(deps): Bump the npm_and_yarn group across 1 directory with 10 updates
Bumps the npm_and_yarn group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [ajv](https://github.com/ajv-validator/ajv) | `6.11.0` | `6.12.6` |
| [ansi-regex](https://github.com/chalk/ansi-regex) | `4.1.0` | `4.1.1` |
| [glob-parent](https://github.com/gulpjs/glob-parent) | `5.1.0` | `5.1.2` |
| [hosted-git-info](https://github.com/npm/hosted-git-info) | `2.8.5` | `2.8.9` |
| [lodash](https://github.com/lodash/lodash) | `4.17.19` | `4.17.21` |
| [minimatch](https://github.com/isaacs/minimatch) | `3.0.4` | `3.1.2` |
| [path-parse](https://github.com/jbgutierrez/path-parse) | `1.0.6` | `1.0.7` |
| [semver](https://github.com/npm/node-semver) | `5.7.1` | `5.7.2` |
| [terser](https://github.com/terser/terser) | `4.6.3` | `4.8.1` |
| [word-wrap](https://github.com/jonschlinkert/word-wrap) | `1.2.3` | `1.2.5` |



Updates `ajv` from 6.11.0 to 6.12.6
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.11.0...v6.12.6)

Updates `ansi-regex` from 4.1.0 to 4.1.1
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

Updates `glob-parent` from 5.1.0 to 5.1.2
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.0...v5.1.2)

Updates `hosted-git-info` from 2.8.5 to 2.8.9
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.5...v2.8.9)

Updates `lodash` from 4.17.19 to 4.17.21
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Updates `minimatch` from 3.0.4 to 3.1.2
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `path-parse` from 1.0.6 to 1.0.7
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

Updates `semver` from 5.7.1 to 5.7.2
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

Updates `terser` from 4.6.3 to 4.8.1
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.6.3...v4.8.1)

Updates `word-wrap` from 1.2.3 to 1.2.5
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: ansi-regex
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: glob-parent
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: hosted-git-info
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: lodash
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: minimatch
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: path-parse
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: semver
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: terser
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: word-wrap
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-29 14:13:55 +00:00
fe85ed91d7 Added mirror 2024-05-29 18:12:20 +04:00
6587de6ea8 Merge pull request #6 from valentineus/dependabot/npm_and_yarn/lodash-4.17.19
build(deps): Bump lodash from 4.17.15 to 4.17.19
2020-10-02 17:20:12 +04:00
354d343ce6 build(deps): Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 00:52:36 +00:00
c9e51ad9e8 Merge pull request #4 from valentineus/develop
Develop
2020-04-01 14:56:31 +04:00
13 changed files with 1752 additions and 2327 deletions

17
.github/workflows/main.yml vendored Normal file
View 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 }}

View File

@ -13,7 +13,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: '13.x'
- run: npm install
- run: npm run build
- run: yarn install
- run: yarn run build
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
- run: npm publish

8
.gitignore vendored
View File

@ -198,5 +198,9 @@ $RECYCLE.BIN/
### Project ###
# Resulting code
/*.js
/_tslib-*.js
/default-*.js
/javascript.js
/typescript.js
/vue-javascript.js
/vue-typescript.js

View File

@ -13,6 +13,7 @@
- [ ] "block-scoped-var"
- [ ] "block-spacing"
- [X] "brace-style"
- [X] "callback-return"
- [X] "camelcase"
- [ ] "capitalized-comments"
- [X] "class-methods-use-this"
@ -41,8 +42,10 @@
- [ ] "function-paren-newline"
- [ ] "generator-star-spacing"
- [ ] "getter-return"
- [ ] "global-require"
- [ ] "grouped-accessor-pairs"
- [ ] "guard-for-in"
- [X] "handle-callback-err"
- [ ] "id-blacklist"
- [X] "id-length"
- [ ] "id-match"
@ -135,10 +138,10 @@
- [X] "no-lone-blocks"
- [ ] "no-lonely-if"
- [ ] "no-loop-func"
- [ ] "no-loss-of-precision"
- [X] "no-magic-numbers"
- [ ] "no-misleading-character-class"
- [ ] "no-mixed-operators"
- [ ] "no-mixed-requires"
- [X] "no-mixed-spaces-and-tabs"
- [ ] "no-multi-assign"
- [X] "no-multi-spaces"
@ -151,13 +154,17 @@
- [ ] "no-new"
- [X] "no-new-func"
- [ ] "no-new-object"
- [X] "no-new-require"
- [ ] "no-new-symbol"
- [X] "no-new-wrappers"
- [ ] "no-obj-calls"
- [ ] "no-octal"
- [X] "no-octal-escape"
- [ ] "no-param-reassign"
- [X] "no-path-concat"
- [ ] "no-plusplus"
- [X] "no-process-env"
- [ ] "no-process-exit"
- [X] "no-proto"
- [ ] "no-prototype-builtins"
- [ ] "no-redeclare"
@ -165,6 +172,7 @@
- [ ] "no-restricted-exports"
- [ ] "no-restricted-globals"
- [ ] "no-restricted-imports"
- [ ] "no-restricted-modules"
- [X] "no-restricted-properties"
- [ ] "no-restricted-syntax"
- [ ] "no-return-assign"
@ -178,6 +186,7 @@
- [ ] "no-shadow-restricted-names"
- [X] "no-spaced-func"
- [ ] "no-sparse-arrays"
- [ ] "no-sync"
- [X] "no-tabs"
- [ ] "no-template-curly-in-string"
- [X] "no-ternary"
@ -282,7 +291,6 @@
- [X] "no-unused-disable"
- [X] "no-unused-enable"
- [X] "no-use"
- [ ] "require-description"
## Import
@ -308,7 +316,6 @@
- [ ] "no-dynamic-require"
- [ ] "no-extraneous-dependencies"
- [ ] "no-internal-modules"
- [ ] "no-loss-of-precision"
- [ ] "no-mutable-exports"
- [ ] "no-named-as-default"
- [ ] "no-named-as-default-member"
@ -378,31 +385,29 @@
- [ ] "array-type"
- [X] "await-thenable"
- [ ] "ban-ts-comment"
- [ ] "ban-tslint-comment"
- [ ] "ban-ts-ignore"
- [ ] "ban-types"
- [ ] "brace-style"
- [ ] "camelcase"
- [X] "class-literal-property-style"
- [ ] "class-name-casing"
- [X] "comma-spacing"
- [ ] "consistent-type-assertions"
- [ ] "consistent-type-definitions"
- [ ] "default-param-last"
- [ ] "dot-notation"
- [X] "explicit-function-return-type"
- [X] "explicit-member-accessibility"
- [ ] "explicit-module-boundary-types"
- [ ] "func-call-spacing"
- [ ] "generic-type-naming"
- [X] "indent"
- [ ] "init-declarations"
- [ ] "keyword-spacing"
- [ ] "lines-between-class-members"
- [X] "interface-name-prefix"
- [ ] "member-delimiter-style"
- [ ] "member-naming"
- [ ] "member-ordering"
- [X] "method-signature-style"
- [ ] "naming-convention"
- [ ] "no-array-constructor"
- [X] "no-base-to-string"
- [ ] "no-confusing-non-null-assertion"
- [ ] "no-dupe-class-members"
- [ ] "no-dynamic-delete"
- [ ] "no-empty-function"
@ -416,8 +421,6 @@
- [ ] "no-for-in-array"
- [X] "no-implied-eval"
- [X] "no-inferrable-types"
- [ ] "no-invalid-this"
- [ ] "no-invalid-void-type"
- [X] "no-magic-numbers"
- [ ] "no-misused-new"
- [X] "no-misused-promises"
@ -434,10 +437,10 @@
- [ ] "no-unnecessary-qualifier"
- [ ] "no-unnecessary-type-arguments"
- [X] "no-unnecessary-type-assertion"
- [ ] "no-unsafe-assignment"
- [X] "no-unsafe-call"
- [X] "no-unsafe-member-access"
- [X] "no-unsafe-return"
- [X] "no-untyped-public-signature"
- [ ] "no-unused-expressions"
- [X] "no-unused-vars"
- [X] "no-unused-vars-experimental"
@ -453,10 +456,8 @@
- [ ] "prefer-optional-chain"
- [ ] "prefer-readonly"
- [X] "prefer-readonly-parameter-types"
- [ ] "prefer-reduce-type-parameter"
- [ ] "prefer-regexp-exec"
- [ ] "prefer-string-starts-ends-with"
- [ ] "prefer-ts-expect-error"
- [ ] "promise-function-async"
- [X] "quotes"
- [ ] "require-array-sort-compare"
@ -496,17 +497,13 @@
- [ ] "no-keyword-prefix"
- [ ] "no-nested-ternary"
- [ ] "no-new-buffer"
- [ ] "no-null"
- [ ] "no-process-exit"
- [ ] "no-reduce"
- [ ] "no-unreadable-array-destructuring"
- [ ] "no-unsafe-regex"
- [ ] "no-unused-properties"
- [ ] "no-useless-undefined"
- [ ] "no-zero-fractions"
- [ ] "number-literal-case"
- [ ] "prefer-add-event-listener"
- [ ] "prefer-array-find"
- [ ] "prefer-dataset"
- [ ] "prefer-event-key"
- [ ] "prefer-exponentiation-operator"
@ -517,7 +514,6 @@
- [ ] "prefer-node-append"
- [ ] "prefer-node-remove"
- [X] "prefer-number-properties"
- [ ] "prefer-optional-catch-binding"
- [ ] "prefer-query-selector"
- [ ] "prefer-reflect-apply"
- [ ] "prefer-replace-all"
@ -529,7 +525,6 @@
- [ ] "prefer-trim-start-end"
- [ ] "prefer-type-error"
- [X] "prevent-abbreviations"
- [ ] "string-content"
- [ ] "throw-new-error"
## Vue

2233
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@valentineus/eslint-config",
"version": "0.0.16",
"version": "0.0.15",
"description": "Personal ESLint configuration",
"main": "index.js",
"repository": "git@code.valentineus.link:eslint-config.git",
@ -11,32 +11,31 @@
"build": "rollup --config rollup.config.js"
},
"devDependencies": {
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-typescript": "^4.1.2",
"@types/node": "^14.0.13",
"@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0",
"eslint": "^7.2.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.21.2",
"@rollup/plugin-json": "^4.0.2",
"@rollup/plugin-typescript": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"eslint": "^6.8.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-sonarjs": "^0.5.0",
"eslint-plugin-unicorn": "^20.1.0",
"eslint-plugin-unicorn": "^18.0.1",
"eslint-plugin-vue": "^6.2.2",
"rollup": "^2.17.0",
"rollup-plugin-terser": "^6.1.0",
"tslib": "^2.0.0",
"typescript": "^3.9.5"
"rollup": "^1.31.1",
"rollup-plugin-terser": "^5.2.0",
"tslib": "^1.10.0",
"typescript": "^3.7.5"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0",
"eslint": "^7.2.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.21.2",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"eslint": "^6.8.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-sonarjs": "^0.5.0",
"eslint-plugin-unicorn": "^20.1.0",
"eslint-plugin-unicorn": "^18.0.1",
"eslint-plugin-vue": "^6.2.2"
},
"dependencies": {}

View File

@ -1,6 +1,6 @@
import { terser } from "rollup-plugin-terser";
import json from "@rollup/plugin-json";
import typescript from "@rollup/plugin-typescript";
import { terser } from "rollup-plugin-terser";
module.exports = {
input: {
@ -25,6 +25,7 @@ module.exports = {
output: {
comments: false,
},
sourcemap: false,
}),
],
};

View File

@ -2,8 +2,7 @@
"array-callback-return": [
"error",
{
"allowImplicit": false,
"checkForEach": true
"allowImplicit": false
}
],
"arrow-parens": [
@ -24,6 +23,9 @@
"allowSingleLine": false
}
],
"callback-return": [
"warn"
],
"camelcase": [
"error",
{
@ -51,7 +53,10 @@
],
"comma-style": [
"error",
"last"
"last",
{
"exceptions": {}
}
],
"curly": [
"error",
@ -75,6 +80,9 @@
"error",
"consistent"
],
"handle-callback-err": [
"error"
],
"id-length": [
"warn",
{
@ -106,7 +114,7 @@
"VariableDeclarator": 1,
"flatTernaryExpressions": true,
"ignoreComments": false,
"offsetTernaryExpressions": true,
"ignoredNodes": [],
"outerIIFEBody": 1
}
],
@ -322,6 +330,9 @@
"no-new-func": [
"error"
],
"no-new-require": [
"error"
],
"no-new-wrappers": [
"error"
],
@ -334,6 +345,12 @@
"props": true
}
],
"no-path-concat": [
"error"
],
"no-process-env": [
"off"
],
"no-proto": [
"error"
],
@ -452,22 +469,9 @@
"object-curly-newline": [
"error",
{
"ExportDeclaration": {
"consistent": true,
"minProperties": 1,
"multiline": true
},
"ImportDeclaration": "never",
"ObjectExpression": {
"consistent": true,
"minProperties": 1,
"multiline": true
},
"ObjectPattern": {
"consistent": true,
"minProperties": 1,
"multiline": true
}
"consistent": true,
"minProperties": 5,
"multiline": true
}
],
"object-curly-spacing": [
@ -638,4 +642,4 @@
"onlyEquality": false
}
]
}
}

View File

@ -16,7 +16,6 @@
"@typescript-eslint/explicit-function-return-type": [
"error",
{
"allowConciseArrowFunctionExpressionsStartingWithVoid": false,
"allowExpressions": false,
"allowHigherOrderFunctions": false,
"allowTypedFunctionExpressions": false
@ -62,9 +61,12 @@
"outerIIFEBody": 1
}
],
"@typescript-eslint/method-signature-style": [
"@typescript-eslint/interface-name-prefix": [
"error",
"property"
{
"allowUnderscorePrefix": false,
"prefixWithI": "always"
}
],
"@typescript-eslint/no-base-to-string": [
"error"
@ -123,7 +125,9 @@
"@typescript-eslint/no-unnecessary-condition": [
"error",
{
"allowConstantLoopConditions": false
"allowConstantLoopConditions": false,
"checkArrayPredicates": true,
"ignoreRhs": true
}
],
"@typescript-eslint/no-unnecessary-type-assertion": [
@ -138,6 +142,14 @@
"@typescript-eslint/no-unsafe-return": [
"error"
],
"@typescript-eslint/no-untyped-public-signature": [
"warn",
{
"ignoredMethods": [
"constructor"
]
}
],
"@typescript-eslint/no-unused-vars": [
"error",
{
@ -201,13 +213,9 @@
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
"allowAny": false,
"allowNullableBoolean": false,
"allowNullableNumber": false,
"allowNullableObject": false,
"allowNullableString": false,
"allowNumber": false,
"allowString": false
"allowNullable": false,
"allowSafe": false,
"ignoreRhs": false
}
],
"@typescript-eslint/type-annotation-spacing": [
@ -289,4 +297,4 @@
"space-before-function-paren": [
"off"
]
}
}

View File

@ -3,6 +3,7 @@ import rDefault from "./rules/typescript/default.json";
module.exports = {
"extends": [
"./javascript",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:import/typescript",
@ -14,7 +15,5 @@ module.exports = {
"plugins": [
"@typescript-eslint",
],
"rules": {
...rDefault,
},
"rules": { ...rDefault },
};

View File

@ -14,9 +14,7 @@ module.exports = {
files: [
"*.vue",
],
rules: {
...rOverrides,
},
rules: { ...rOverrides },
},
],
"parser": "vue-eslint-parser",
@ -26,7 +24,5 @@ module.exports = {
],
},
"plugins": ["vue"],
"rules": {
...rDefault,
},
"rules": { ...rDefault },
};

View File

@ -14,9 +14,7 @@ module.exports = {
files: [
"*.vue",
],
rules: {
...rOverrides,
},
rules: { ...rOverrides },
},
],
"parser": "vue-eslint-parser",
@ -28,7 +26,5 @@ module.exports = {
parser: "@typescript-eslint/parser",
},
"plugins": ["vue"],
"rules": {
...rDefault,
},
"rules": { ...rDefault },
};

1639
yarn.lock Normal file

File diff suppressed because it is too large Load Diff