mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 05:01:43 +00:00
Enable lint command
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
parent
eaa8fd7d92
commit
19b11aac2c
@ -11,8 +11,5 @@ node_modules/
|
|||||||
dist
|
dist
|
||||||
dist-pkg
|
dist-pkg
|
||||||
.DS_Store
|
.DS_Store
|
||||||
dynamic-importer.js
|
pkg/harvester/index.ts
|
||||||
ksconfig.json
|
pkg/harvester/store/*
|
||||||
nuxt.config.js
|
|
||||||
shell/utils/dynamic-importer.js
|
|
||||||
shell/assets/fonts
|
|
||||||
|
|||||||
225
.eslintrc.default.js
Normal file
225
.eslintrc.default.js
Normal file
@ -0,0 +1,225 @@
|
|||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
browser: true,
|
||||||
|
node: true
|
||||||
|
},
|
||||||
|
globals: {
|
||||||
|
NodeJS: true,
|
||||||
|
Timer: true
|
||||||
|
},
|
||||||
|
plugins: [
|
||||||
|
'jest',
|
||||||
|
'@typescript-eslint'
|
||||||
|
],
|
||||||
|
extends: [
|
||||||
|
'standard',
|
||||||
|
'eslint:recommended',
|
||||||
|
'plugin:@typescript-eslint/recommended',
|
||||||
|
'plugin:vue/vue3-recommended',
|
||||||
|
],
|
||||||
|
rules: {
|
||||||
|
'semi-spacing': 'off',
|
||||||
|
'space-in-parens': 'off',
|
||||||
|
'array-bracket-spacing': 'warn',
|
||||||
|
'arrow-parens': 'warn',
|
||||||
|
'arrow-spacing': [
|
||||||
|
'warn',
|
||||||
|
{
|
||||||
|
before: true,
|
||||||
|
after: true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'block-spacing': [
|
||||||
|
'warn',
|
||||||
|
'always'
|
||||||
|
],
|
||||||
|
'brace-style': [
|
||||||
|
'warn',
|
||||||
|
'1tbs'
|
||||||
|
],
|
||||||
|
'comma-dangle': [
|
||||||
|
'warn',
|
||||||
|
'only-multiline'
|
||||||
|
],
|
||||||
|
'comma-spacing': 'warn',
|
||||||
|
indent: [
|
||||||
|
'warn',
|
||||||
|
2
|
||||||
|
],
|
||||||
|
'keyword-spacing': 'warn',
|
||||||
|
'newline-per-chained-call': [
|
||||||
|
'warn',
|
||||||
|
{ ignoreChainWithDepth: 4 }
|
||||||
|
],
|
||||||
|
'no-trailing-spaces': 'warn',
|
||||||
|
'func-call-spacing': [
|
||||||
|
'warn',
|
||||||
|
'never'
|
||||||
|
],
|
||||||
|
'wrap-iife': 'off',
|
||||||
|
'lines-between-class-members': [
|
||||||
|
'warn',
|
||||||
|
'always',
|
||||||
|
{ exceptAfterSingleLine: true }
|
||||||
|
],
|
||||||
|
'multiline-ternary': [
|
||||||
|
'warn',
|
||||||
|
'never'
|
||||||
|
],
|
||||||
|
'no-whitespace-before-property': 'warn',
|
||||||
|
'object-curly-spacing': [
|
||||||
|
'warn',
|
||||||
|
'always'
|
||||||
|
],
|
||||||
|
'object-property-newline': 'warn',
|
||||||
|
'object-shorthand': 'warn',
|
||||||
|
'padded-blocks': [
|
||||||
|
'warn',
|
||||||
|
'never'
|
||||||
|
],
|
||||||
|
'quote-props': 'warn',
|
||||||
|
'rest-spread-spacing': 'warn',
|
||||||
|
semi: [
|
||||||
|
'warn',
|
||||||
|
'always'
|
||||||
|
],
|
||||||
|
'space-before-function-paren': [
|
||||||
|
'warn',
|
||||||
|
'never'
|
||||||
|
],
|
||||||
|
'space-infix-ops': 'warn',
|
||||||
|
'spaced-comment': 'warn',
|
||||||
|
'switch-colon-spacing': 'warn',
|
||||||
|
'template-curly-spacing': [
|
||||||
|
'warn',
|
||||||
|
'always'
|
||||||
|
],
|
||||||
|
'yield-star-spacing': [
|
||||||
|
'warn',
|
||||||
|
'both'
|
||||||
|
],
|
||||||
|
'key-spacing': [
|
||||||
|
'warn',
|
||||||
|
{
|
||||||
|
align: {
|
||||||
|
beforeColon: false,
|
||||||
|
afterColon: true,
|
||||||
|
on: 'value',
|
||||||
|
mode: 'strict'
|
||||||
|
},
|
||||||
|
multiLine: {
|
||||||
|
beforeColon: false,
|
||||||
|
afterColon: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'object-curly-newline': [
|
||||||
|
'warn',
|
||||||
|
{
|
||||||
|
ObjectExpression: {
|
||||||
|
multiline: true,
|
||||||
|
minProperties: 3
|
||||||
|
},
|
||||||
|
ObjectPattern: {
|
||||||
|
multiline: true,
|
||||||
|
minProperties: 4
|
||||||
|
},
|
||||||
|
ImportDeclaration: {
|
||||||
|
multiline: true,
|
||||||
|
minProperties: 5
|
||||||
|
},
|
||||||
|
ExportDeclaration: {
|
||||||
|
multiline: true,
|
||||||
|
minProperties: 3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'padding-line-between-statements': [
|
||||||
|
'warn',
|
||||||
|
{
|
||||||
|
blankLine: 'always',
|
||||||
|
prev: '*',
|
||||||
|
next: 'return'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
blankLine: 'always',
|
||||||
|
prev: 'function',
|
||||||
|
next: 'function'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
blankLine: 'always',
|
||||||
|
prev: [
|
||||||
|
'const',
|
||||||
|
'let',
|
||||||
|
'var'
|
||||||
|
],
|
||||||
|
next: '*'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
blankLine: 'any',
|
||||||
|
prev: [
|
||||||
|
'const',
|
||||||
|
'let',
|
||||||
|
'var'
|
||||||
|
],
|
||||||
|
next: [
|
||||||
|
'const',
|
||||||
|
'let',
|
||||||
|
'var'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
quotes: [
|
||||||
|
'warn',
|
||||||
|
'single',
|
||||||
|
{
|
||||||
|
avoidEscape: true,
|
||||||
|
allowTemplateLiterals: true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'space-unary-ops': [
|
||||||
|
'warn',
|
||||||
|
{
|
||||||
|
words: true,
|
||||||
|
nonwords: false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'vue/one-component-per-file': 'off',
|
||||||
|
'vue/no-deprecated-slot-attribute': 'off',
|
||||||
|
'vue/require-explicit-emits': 'error',
|
||||||
|
'vue/v-on-event-hyphenation': 'off'
|
||||||
|
},
|
||||||
|
overrides: [
|
||||||
|
{
|
||||||
|
files: [
|
||||||
|
'**/*.{js,ts,vue}'
|
||||||
|
],
|
||||||
|
rules: {
|
||||||
|
'@typescript-eslint/no-empty-function': 'off',
|
||||||
|
'@typescript-eslint/ban-types': 'off'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files: [
|
||||||
|
'**/*.test.{js,ts}',
|
||||||
|
'**/__tests__/**/*.{js,ts}',
|
||||||
|
'**/__mocks__/**/*.{js,ts}'
|
||||||
|
],
|
||||||
|
rules: {
|
||||||
|
'@typescript-eslint/no-empty-function': 'off',
|
||||||
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
||||||
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
||||||
|
'jest/prefer-expect-assertions': 'off'
|
||||||
|
},
|
||||||
|
extends: [
|
||||||
|
'plugin:jest/all'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files: [
|
||||||
|
'**/*.{js,vue}'
|
||||||
|
],
|
||||||
|
rules: { '@typescript-eslint/explicit-module-boundary-types': 'off' }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
};
|
||||||
393
.eslintrc.js
393
.eslintrc.js
@ -1,247 +1,244 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
"root": true,
|
root: true,
|
||||||
"env": {
|
env: {
|
||||||
"browser": true,
|
browser: true,
|
||||||
"node": true
|
node: true
|
||||||
},
|
},
|
||||||
"globals": {
|
globals: {
|
||||||
"NodeJS": true,
|
NodeJS: true,
|
||||||
"Timer": true
|
Timer: true
|
||||||
},
|
},
|
||||||
"extends": [
|
extends: [
|
||||||
"standard",
|
'.eslintrc.default.js'
|
||||||
"eslint:recommended",
|
|
||||||
"@nuxtjs/eslint-config-typescript",
|
|
||||||
"plugin:cypress/recommended"
|
|
||||||
],
|
],
|
||||||
"rules": {
|
rules: {
|
||||||
"dot-notation": "off",
|
'dot-notation': 'off',
|
||||||
"generator-star-spacing": "off",
|
'generator-star-spacing': 'off',
|
||||||
"guard-for-in": "off",
|
'guard-for-in': 'off',
|
||||||
"linebreak-style": "off",
|
'linebreak-style': 'off',
|
||||||
"new-cap": "off",
|
'new-cap': 'off',
|
||||||
"no-empty": "off",
|
'no-empty': 'off',
|
||||||
"no-extra-boolean-cast": "off",
|
'no-extra-boolean-cast': 'off',
|
||||||
"no-new": "off",
|
'no-new': 'off',
|
||||||
"no-plusplus": "off",
|
'no-plusplus': 'off',
|
||||||
"no-useless-escape": "off",
|
'no-useless-escape': 'off',
|
||||||
"nuxt/no-cjs-in-config": "off",
|
'nuxt/no-cjs-in-config': 'off',
|
||||||
"semi-spacing": "off",
|
'semi-spacing': 'off',
|
||||||
"space-in-parens": "off",
|
'space-in-parens': 'off',
|
||||||
"strict": "off",
|
strict: 'off',
|
||||||
"unicorn/no-new-buffer": "off",
|
'unicorn/no-new-buffer': 'off',
|
||||||
"vue/html-self-closing": "off",
|
'vue/html-self-closing': 'off',
|
||||||
"vue/multi-word-component-names": "off",
|
'vue/multi-word-component-names': 'off',
|
||||||
"vue/no-reserved-component-names": "off",
|
'vue/no-reserved-component-names': 'off',
|
||||||
"vue/no-unused-components": "warn",
|
'vue/no-deprecated-v-on-native-modifier': 'off',
|
||||||
"vue/no-v-html": "error",
|
'vue/no-useless-template-attributes': 'off',
|
||||||
"wrap-iife": "off",
|
'vue/no-unused-components': 'warn',
|
||||||
"array-bracket-spacing": "warn",
|
'vue/no-v-html': 'error',
|
||||||
"arrow-parens": "warn",
|
'wrap-iife': 'off',
|
||||||
"arrow-spacing": [
|
'array-bracket-spacing': 'warn',
|
||||||
"warn",
|
'arrow-parens': 'warn',
|
||||||
|
'arrow-spacing': [
|
||||||
|
'warn',
|
||||||
{
|
{
|
||||||
"before": true,
|
before: true,
|
||||||
"after": true
|
after: true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"block-spacing": [
|
'block-spacing': [
|
||||||
"warn",
|
'warn',
|
||||||
"always"
|
'always'
|
||||||
],
|
],
|
||||||
"brace-style": [
|
'brace-style': [
|
||||||
"warn",
|
'warn',
|
||||||
"1tbs"
|
'1tbs'
|
||||||
],
|
],
|
||||||
"comma-dangle": [
|
'comma-dangle': [
|
||||||
"warn",
|
'warn',
|
||||||
"only-multiline"
|
'only-multiline'
|
||||||
],
|
],
|
||||||
"comma-spacing": "warn",
|
'comma-spacing': 'warn',
|
||||||
"curly": "warn",
|
curly: 'warn',
|
||||||
"eqeqeq": "warn",
|
eqeqeq: 'warn',
|
||||||
"func-call-spacing": [
|
'func-call-spacing': [
|
||||||
"warn",
|
'warn',
|
||||||
"never"
|
'never'
|
||||||
],
|
],
|
||||||
"implicit-arrow-linebreak": "warn",
|
'implicit-arrow-linebreak': 'warn',
|
||||||
"indent": [
|
indent: [
|
||||||
"warn",
|
'warn',
|
||||||
2
|
2
|
||||||
],
|
],
|
||||||
"keyword-spacing": "warn",
|
'keyword-spacing': 'warn',
|
||||||
"lines-between-class-members": [
|
'lines-between-class-members': [
|
||||||
"warn",
|
'warn',
|
||||||
"always",
|
'always',
|
||||||
|
{ exceptAfterSingleLine: true }
|
||||||
|
],
|
||||||
|
'multiline-ternary': [
|
||||||
|
'warn',
|
||||||
|
'never'
|
||||||
|
],
|
||||||
|
'newline-per-chained-call': [
|
||||||
|
'warn',
|
||||||
|
{ ignoreChainWithDepth: 4 }
|
||||||
|
],
|
||||||
|
'no-caller': 'warn',
|
||||||
|
'no-cond-assign': [
|
||||||
|
'warn',
|
||||||
|
'except-parens'
|
||||||
|
],
|
||||||
|
'no-console': 'warn',
|
||||||
|
'no-debugger': 'warn',
|
||||||
|
'no-eq-null': 'warn',
|
||||||
|
'no-eval': 'warn',
|
||||||
|
'no-trailing-spaces': 'warn',
|
||||||
|
'no-undef': 'warn',
|
||||||
|
'no-unused-vars': 'warn',
|
||||||
|
'no-whitespace-before-property': 'warn',
|
||||||
|
'object-curly-spacing': [
|
||||||
|
'warn',
|
||||||
|
'always'
|
||||||
|
],
|
||||||
|
'object-property-newline': 'warn',
|
||||||
|
'object-shorthand': 'warn',
|
||||||
|
'padded-blocks': [
|
||||||
|
'warn',
|
||||||
|
'never'
|
||||||
|
],
|
||||||
|
'prefer-arrow-callback': 'warn',
|
||||||
|
'prefer-template': 'warn',
|
||||||
|
'quote-props': 'warn',
|
||||||
|
'rest-spread-spacing': 'warn',
|
||||||
|
semi: [
|
||||||
|
'warn',
|
||||||
|
'always'
|
||||||
|
],
|
||||||
|
'space-before-function-paren': [
|
||||||
|
'warn',
|
||||||
|
'never'
|
||||||
|
],
|
||||||
|
'space-infix-ops': 'warn',
|
||||||
|
'spaced-comment': 'warn',
|
||||||
|
'switch-colon-spacing': 'warn',
|
||||||
|
'template-curly-spacing': [
|
||||||
|
'warn',
|
||||||
|
'always'
|
||||||
|
],
|
||||||
|
'yield-star-spacing': [
|
||||||
|
'warn',
|
||||||
|
'both'
|
||||||
|
],
|
||||||
|
'key-spacing': [
|
||||||
|
'warn',
|
||||||
{
|
{
|
||||||
"exceptAfterSingleLine": true
|
align: {
|
||||||
}
|
beforeColon: false,
|
||||||
],
|
afterColon: true,
|
||||||
"multiline-ternary": [
|
on: 'value',
|
||||||
"warn",
|
mode: 'minimum'
|
||||||
"never"
|
|
||||||
],
|
|
||||||
"newline-per-chained-call": [
|
|
||||||
"warn",
|
|
||||||
{
|
|
||||||
"ignoreChainWithDepth": 4
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"no-caller": "warn",
|
|
||||||
"no-cond-assign": [
|
|
||||||
"warn",
|
|
||||||
"except-parens"
|
|
||||||
],
|
|
||||||
"no-console": "warn",
|
|
||||||
"no-debugger": "warn",
|
|
||||||
"no-eq-null": "warn",
|
|
||||||
"no-eval": "warn",
|
|
||||||
"no-trailing-spaces": "warn",
|
|
||||||
"no-undef": "warn",
|
|
||||||
"no-unused-vars": "warn",
|
|
||||||
"no-whitespace-before-property": "warn",
|
|
||||||
"object-curly-spacing": [
|
|
||||||
"warn",
|
|
||||||
"always"
|
|
||||||
],
|
|
||||||
"object-property-newline": "warn",
|
|
||||||
"object-shorthand": "warn",
|
|
||||||
"padded-blocks": [
|
|
||||||
"warn",
|
|
||||||
"never"
|
|
||||||
],
|
|
||||||
"prefer-arrow-callback": "warn",
|
|
||||||
"prefer-template": "warn",
|
|
||||||
"quote-props": "warn",
|
|
||||||
"rest-spread-spacing": "warn",
|
|
||||||
"semi": [
|
|
||||||
"warn",
|
|
||||||
"always"
|
|
||||||
],
|
|
||||||
"space-before-function-paren": [
|
|
||||||
"warn",
|
|
||||||
"never"
|
|
||||||
],
|
|
||||||
"space-infix-ops": "warn",
|
|
||||||
"spaced-comment": "warn",
|
|
||||||
"switch-colon-spacing": "warn",
|
|
||||||
"template-curly-spacing": [
|
|
||||||
"warn",
|
|
||||||
"always"
|
|
||||||
],
|
|
||||||
"yield-star-spacing": [
|
|
||||||
"warn",
|
|
||||||
"both"
|
|
||||||
],
|
|
||||||
"key-spacing": [
|
|
||||||
"warn",
|
|
||||||
{
|
|
||||||
"align": {
|
|
||||||
"beforeColon": false,
|
|
||||||
"afterColon": true,
|
|
||||||
"on": "value",
|
|
||||||
"mode": "minimum"
|
|
||||||
},
|
},
|
||||||
"multiLine": {
|
multiLine: {
|
||||||
"beforeColon": false,
|
beforeColon: false,
|
||||||
"afterColon": true
|
afterColon: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"object-curly-newline": [
|
'object-curly-newline': [
|
||||||
"warn",
|
'warn',
|
||||||
{
|
{
|
||||||
"ObjectExpression": {
|
ObjectExpression: {
|
||||||
"multiline": true,
|
multiline: true,
|
||||||
"minProperties": 3
|
minProperties: 3
|
||||||
},
|
},
|
||||||
"ObjectPattern": {
|
ObjectPattern: {
|
||||||
"multiline": true,
|
multiline: true,
|
||||||
"minProperties": 4
|
minProperties: 4
|
||||||
},
|
},
|
||||||
"ImportDeclaration": {
|
ImportDeclaration: {
|
||||||
"multiline": true,
|
multiline: true,
|
||||||
"minProperties": 5
|
minProperties: 5
|
||||||
},
|
},
|
||||||
"ExportDeclaration": {
|
ExportDeclaration: {
|
||||||
"multiline": true,
|
multiline: true,
|
||||||
"minProperties": 3
|
minProperties: 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"padding-line-between-statements": [
|
'padding-line-between-statements': [
|
||||||
"warn",
|
'warn',
|
||||||
{
|
{
|
||||||
"blankLine": "always",
|
blankLine: 'always',
|
||||||
"prev": "*",
|
prev: '*',
|
||||||
"next": "return"
|
next: 'return'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blankLine": "always",
|
blankLine: 'always',
|
||||||
"prev": "function",
|
prev: 'function',
|
||||||
"next": "function"
|
next: 'function'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blankLine": "always",
|
blankLine: 'always',
|
||||||
"prev": [
|
prev: [
|
||||||
"const",
|
'const',
|
||||||
"let",
|
'let',
|
||||||
"var"
|
'var'
|
||||||
],
|
],
|
||||||
"next": "*"
|
next: '*'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"blankLine": "any",
|
blankLine: 'any',
|
||||||
"prev": [
|
prev: [
|
||||||
"const",
|
'const',
|
||||||
"let",
|
'let',
|
||||||
"var"
|
'var'
|
||||||
],
|
],
|
||||||
"next": [
|
next: [
|
||||||
"const",
|
'const',
|
||||||
"let",
|
'let',
|
||||||
"var"
|
'var'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"quotes": [
|
quotes: [
|
||||||
"warn",
|
'warn',
|
||||||
"single",
|
'single',
|
||||||
{
|
{
|
||||||
"avoidEscape": true,
|
avoidEscape: true,
|
||||||
"allowTemplateLiterals": true
|
allowTemplateLiterals: true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"space-unary-ops": [
|
'space-unary-ops': [
|
||||||
"warn",
|
'warn',
|
||||||
{
|
{
|
||||||
"words": true,
|
words: true,
|
||||||
"nonwords": false
|
nonwords: false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"vue/order-in-components": "off",
|
'vue/order-in-components': 'off',
|
||||||
"vue/no-lone-template": "off",
|
'vue/no-lone-template': 'off',
|
||||||
"vue/v-slot-style": "off",
|
'vue/v-slot-style': 'off',
|
||||||
"vue/component-tags-order": "off",
|
'vue/component-tags-order': 'off',
|
||||||
"vue/no-mutating-props": "off",
|
'vue/no-mutating-props': 'off',
|
||||||
"@typescript-eslint/no-unused-vars": "off",
|
'@typescript-eslint/no-unused-vars': 'off',
|
||||||
"array-callback-return": "off",
|
'@typescript-eslint/no-var-requires': 'off',
|
||||||
"vue/one-component-per-file": "off",
|
'@typescript-eslint/no-this-alias': 'off',
|
||||||
"vue/no-deprecated-slot-attribute": "off",
|
'array-callback-return': 'off',
|
||||||
"vue/require-explicit-emits": "off",
|
'vue/one-component-per-file': 'off',
|
||||||
"vue/v-on-event-hyphenation": "off"
|
'vue/no-deprecated-slot-attribute': 'off',
|
||||||
|
'vue/require-explicit-emits': 'off',
|
||||||
|
'vue/v-on-event-hyphenation': 'off'
|
||||||
},
|
},
|
||||||
"overrides": [
|
overrides: [
|
||||||
{
|
{
|
||||||
"files": [
|
files: [
|
||||||
"*.js"
|
'*.js'
|
||||||
],
|
],
|
||||||
"rules": {
|
rules: {
|
||||||
"prefer-regex-literals": "off",
|
'prefer-regex-literals': 'off',
|
||||||
"vue/component-definition-name-casing": "off",
|
'vue/component-definition-name-casing': 'off',
|
||||||
"no-unreachable-loop": "off",
|
'no-unreachable-loop': 'off',
|
||||||
"computed-property-spacing": "off"
|
'computed-property-spacing': 'off'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
};
|
||||||
|
|||||||
@ -36,9 +36,14 @@
|
|||||||
"dev": "NODE_ENV=dev ./node_modules/.bin/vue-cli-service serve",
|
"dev": "NODE_ENV=dev ./node_modules/.bin/vue-cli-service serve",
|
||||||
"build": "./node_modules/.bin/vue-cli-service build",
|
"build": "./node_modules/.bin/vue-cli-service build",
|
||||||
"clean": "./node_modules/@rancher/shell/scripts/clean",
|
"clean": "./node_modules/@rancher/shell/scripts/clean",
|
||||||
|
"lint": "./node_modules/.bin/eslint --max-warnings 0 --ext .js,.ts,.vue .",
|
||||||
"build-pkg": "./node_modules/@rancher/shell/scripts/build-pkg.sh",
|
"build-pkg": "./node_modules/@rancher/shell/scripts/build-pkg.sh",
|
||||||
"serve-pkgs": "./node_modules/@rancher/shell/scripts/serve-pkgs",
|
"serve-pkgs": "./node_modules/@rancher/shell/scripts/serve-pkgs",
|
||||||
"publish-pkgs": "./node_modules/@rancher/shell/scripts/extension/publish",
|
"publish-pkgs": "./node_modules/@rancher/shell/scripts/extension/publish",
|
||||||
"parse-tag-name": "./node_modules/@rancher/shell/scripts/extension/parse-tag-name"
|
"parse-tag-name": "./node_modules/@rancher/shell/scripts/extension/parse-tag-name"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^7.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
27
yarn.lock
27
yarn.lock
@ -7481,6 +7481,14 @@ eslint-plugin-cypress@2.12.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
globals "^11.12.0"
|
globals "^11.12.0"
|
||||||
|
|
||||||
|
eslint-plugin-es@^3.0.0:
|
||||||
|
version "3.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz#75a7cdfdccddc0589934aeeb384175f221c57893"
|
||||||
|
integrity sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==
|
||||||
|
dependencies:
|
||||||
|
eslint-utils "^2.0.0"
|
||||||
|
regexpp "^3.0.0"
|
||||||
|
|
||||||
eslint-plugin-es@^4.1.0:
|
eslint-plugin-es@^4.1.0:
|
||||||
version "4.1.0"
|
version "4.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz#f0822f0c18a535a97c3e714e89f88586a7641ec9"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz#f0822f0c18a535a97c3e714e89f88586a7641ec9"
|
||||||
@ -7531,6 +7539,23 @@ eslint-plugin-n@15.2.0:
|
|||||||
resolve "^1.10.1"
|
resolve "^1.10.1"
|
||||||
semver "^6.3.0"
|
semver "^6.3.0"
|
||||||
|
|
||||||
|
eslint-plugin-node@^11.1.0:
|
||||||
|
version "11.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz#c95544416ee4ada26740a30474eefc5402dc671d"
|
||||||
|
integrity sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==
|
||||||
|
dependencies:
|
||||||
|
eslint-plugin-es "^3.0.0"
|
||||||
|
eslint-utils "^2.0.0"
|
||||||
|
ignore "^5.1.1"
|
||||||
|
minimatch "^3.0.4"
|
||||||
|
resolve "^1.10.1"
|
||||||
|
semver "^6.1.0"
|
||||||
|
|
||||||
|
eslint-plugin-promise@^7.1.0:
|
||||||
|
version "7.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-7.1.0.tgz#06b3ad6d36b3c3ef3ec201c8a8d97049cf5dbb20"
|
||||||
|
integrity sha512-8trNmPxdAy3W620WKDpaS65NlM5yAumod6XeC4LOb+jxlkG4IVcp68c6dXY2ev+uT4U1PtG57YDV6EGAXN0GbQ==
|
||||||
|
|
||||||
eslint-plugin-vue@9.10.0:
|
eslint-plugin-vue@9.10.0:
|
||||||
version "9.10.0"
|
version "9.10.0"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-9.10.0.tgz#bb6423166e6eab800344245b6eef6ce9480c78a7"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-9.10.0.tgz#bb6423166e6eab800344245b6eef6ce9480c78a7"
|
||||||
@ -12401,7 +12426,7 @@ semver-compare@^1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc"
|
resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc"
|
||||||
integrity sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==
|
integrity sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==
|
||||||
|
|
||||||
"semver@2 || 3 || 4 || 5", semver@7.5.4, semver@^5.5.0, semver@^5.7.1, semver@^6.0.0, semver@^6.3.0, semver@^6.3.1, semver@^7.0.0, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.6, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4, semver@~7.0.0:
|
"semver@2 || 3 || 4 || 5", semver@7.5.4, semver@^5.5.0, semver@^5.7.1, semver@^6.0.0, semver@^6.1.0, semver@^6.3.0, semver@^6.3.1, semver@^7.0.0, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.6, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4, semver@~7.0.0:
|
||||||
version "7.5.4"
|
version "7.5.4"
|
||||||
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
|
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
|
||||||
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
|
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user