almighty-tool 0.0.113 → 0.0.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +17 -17
- package/.editorconfig +13 -13
- package/.eslintignore +7 -7
- package/.eslintrc.js +5 -5
- package/.nvmrc +1 -1
- package/.opencode/agents/code-reviewer.md +57 -57
- package/.opencode/agents/docs-specialist.md +49 -49
- package/.opencode/agents/test-runner.md +45 -45
- package/.opencode/commands/review.md +25 -25
- package/.opencode/commands/test.md +27 -27
- package/.opencode/skills/cryptography-dev.md +108 -108
- package/.opencode/skills/typescript-library-dev.md +94 -94
- package/.prettierrc.js +1 -1
- package/.yarnrc +11 -11
- package/AGENTS.md +69 -69
- package/CHANGELOG.md +7 -7
- package/README.md +11 -11
- package/bun.lock +2836 -2836
- package/bunfig.toml +7 -7
- package/jest.config.js +1 -1
- package/lib/utils/basic.util.d.ts +5 -0
- package/lib/utils/basic.util.js +64 -0
- package/lib/utils/basic.util.js.map +1 -1
- package/lib/utils/string.util.d.ts +51 -0
- package/lib/utils/string.util.js +98 -0
- package/lib/utils/string.util.js.map +1 -1
- package/lib/utils/validate.util.d.ts +6 -0
- package/lib/utils/validate.util.js +70 -0
- package/lib/utils/validate.util.js.map +1 -1
- package/opencode.json +60 -60
- package/package.json +122 -122
- package/scripts/code.util.ts +135 -135
- package/templates/eslints/eggjs.project.js +15 -15
- package/templates/eslints/element-ui.project.js +4 -4
- package/templates/eslints/recommended.js +26 -26
- package/templates/eslints/rules/recommended.js +26 -26
- package/templates/eslints/rules/vue.js +12 -12
- package/templates/eslints/server.project.js +18 -18
- package/templates/eslints/uni-app-v8.project.js +43 -43
- package/templates/eslints/uni-app.project.js +45 -45
- package/templates/eslints/vue.project.js +39 -39
- package/templates/jest/element-ui.project.js +1 -1
- package/templates/jest/recommended.js +22 -22
- package/templates/jest/vue.project.js +44 -44
- package/templates/postcss/recommended.js +4 -4
- package/templates/postcss/uni-app.js +11 -11
- package/templates/prettiers/recommended.js +26 -26
- package/templates/stylelint/recommended.js +42 -42
- package/templates/stylelint/rules/recommended.js +22 -22
- package/templates/stylelint/uni-app.project.js +11 -11
- package/templates/tsconfigs/eggjs.json +31 -31
- package/templates/tsconfigs/element-ui.json +3 -3
- package/templates/tsconfigs/lib.json +15 -15
- package/templates/tsconfigs/quasar.json +25 -25
- package/templates/tsconfigs/recommended.json +23 -23
- package/templates/tsconfigs/server.json +23 -23
- package/templates/tsconfigs/uni-app.json +39 -39
- package/templates/tsconfigs/vue.json +45 -45
- package/templates/tslints/recommended.json +13 -13
- package/test-duration.js +33 -33
- package/tsconfig.json +9 -9
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* almighty eslint推荐vue.project
|
|
3
|
-
*/
|
|
4
|
-
module.exports = {
|
|
5
|
-
root: true,
|
|
6
|
-
parserOptions: {
|
|
7
|
-
parser: '@typescript-eslint/parser',
|
|
8
|
-
sourceType: 'module',
|
|
9
|
-
ecmaVersion: 2020,
|
|
10
|
-
ecmaFeatures: {
|
|
11
|
-
legacyDecorators: true,
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
env: {
|
|
16
|
-
node: true,
|
|
17
|
-
browser: true,
|
|
18
|
-
jest: true,
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
plugins: ['import', 'jest', 'node', 'prettier', 'promise', 'standard', 'vue', 'html'],
|
|
22
|
-
|
|
23
|
-
extends: [
|
|
24
|
-
'eslint:recommended',
|
|
25
|
-
'standard',
|
|
26
|
-
'plugin:vue/essential',
|
|
27
|
-
'@vue/standard',
|
|
28
|
-
'@vue/typescript',
|
|
29
|
-
'plugin:@typescript-eslint/recommended',
|
|
30
|
-
'plugin:vue/strongly-recommended',
|
|
31
|
-
'plugin:vue-scoped-css/recommended',
|
|
32
|
-
'plugin:prettier/recommended',
|
|
33
|
-
'prettier',
|
|
34
|
-
],
|
|
35
|
-
|
|
36
|
-
rules: {
|
|
37
|
-
...require('./rules/vue'),
|
|
38
|
-
},
|
|
39
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* almighty eslint推荐vue.project
|
|
3
|
+
*/
|
|
4
|
+
module.exports = {
|
|
5
|
+
root: true,
|
|
6
|
+
parserOptions: {
|
|
7
|
+
parser: '@typescript-eslint/parser',
|
|
8
|
+
sourceType: 'module',
|
|
9
|
+
ecmaVersion: 2020,
|
|
10
|
+
ecmaFeatures: {
|
|
11
|
+
legacyDecorators: true,
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
|
|
15
|
+
env: {
|
|
16
|
+
node: true,
|
|
17
|
+
browser: true,
|
|
18
|
+
jest: true,
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
plugins: ['import', 'jest', 'node', 'prettier', 'promise', 'standard', 'vue', 'html'],
|
|
22
|
+
|
|
23
|
+
extends: [
|
|
24
|
+
'eslint:recommended',
|
|
25
|
+
'standard',
|
|
26
|
+
'plugin:vue/essential',
|
|
27
|
+
'@vue/standard',
|
|
28
|
+
'@vue/typescript',
|
|
29
|
+
'plugin:@typescript-eslint/recommended',
|
|
30
|
+
'plugin:vue/strongly-recommended',
|
|
31
|
+
'plugin:vue-scoped-css/recommended',
|
|
32
|
+
'plugin:prettier/recommended',
|
|
33
|
+
'prettier',
|
|
34
|
+
],
|
|
35
|
+
|
|
36
|
+
rules: {
|
|
37
|
+
...require('./rules/vue'),
|
|
38
|
+
},
|
|
39
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports = require('./vue.project');
|
|
1
|
+
module.exports = require('./vue.project');
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
testEnvironment: 'node',
|
|
3
|
-
moduleNameMapper: {
|
|
4
|
-
'^@/(.*)$': '<rootDir>/src/$1',
|
|
5
|
-
// '^vue$': 'vue/dist/vue.common.js',
|
|
6
|
-
},
|
|
7
|
-
// moduleFileExtensions: ['ts', 'js', 'vue', 'json'],
|
|
8
|
-
moduleFileExtensions: ['ts', 'js', 'json'],
|
|
9
|
-
transform: {
|
|
10
|
-
'^.+\\.ts$': 'ts-jest',
|
|
11
|
-
'^.+\\.js$': 'babel-jest',
|
|
12
|
-
// '.*\\.(vue)$': 'vue-jest',
|
|
13
|
-
},
|
|
14
|
-
transformIgnorePatterns: [
|
|
15
|
-
'node_modules/(?!(lodash-es)/)',
|
|
16
|
-
],
|
|
17
|
-
collectCoverage: true,
|
|
18
|
-
collectCoverageFrom: [
|
|
19
|
-
// '<rootDir>/components/**/*.vue',
|
|
20
|
-
// '<rootDir>/pages/**/*.vue',
|
|
21
|
-
],
|
|
22
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
testEnvironment: 'node',
|
|
3
|
+
moduleNameMapper: {
|
|
4
|
+
'^@/(.*)$': '<rootDir>/src/$1',
|
|
5
|
+
// '^vue$': 'vue/dist/vue.common.js',
|
|
6
|
+
},
|
|
7
|
+
// moduleFileExtensions: ['ts', 'js', 'vue', 'json'],
|
|
8
|
+
moduleFileExtensions: ['ts', 'js', 'json'],
|
|
9
|
+
transform: {
|
|
10
|
+
'^.+\\.ts$': 'ts-jest',
|
|
11
|
+
'^.+\\.js$': 'babel-jest',
|
|
12
|
+
// '.*\\.(vue)$': 'vue-jest',
|
|
13
|
+
},
|
|
14
|
+
transformIgnorePatterns: [
|
|
15
|
+
'node_modules/(?!(lodash-es)/)',
|
|
16
|
+
],
|
|
17
|
+
collectCoverage: true,
|
|
18
|
+
collectCoverageFrom: [
|
|
19
|
+
// '<rootDir>/components/**/*.vue',
|
|
20
|
+
// '<rootDir>/pages/**/*.vue',
|
|
21
|
+
],
|
|
22
|
+
};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
globals: {
|
|
3
|
-
'ts-jest': {
|
|
4
|
-
babelConfig: true,
|
|
5
|
-
},
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
moduleFileExtensions: [
|
|
9
|
-
'ts',
|
|
10
|
-
'tsx',
|
|
11
|
-
'js',
|
|
12
|
-
'jsx',
|
|
13
|
-
'json',
|
|
14
|
-
// tell Jest to handle *.vue files
|
|
15
|
-
'vue',
|
|
16
|
-
],
|
|
17
|
-
|
|
18
|
-
transform: {
|
|
19
|
-
// process *.vue files with vue-jest
|
|
20
|
-
'^.+\\.vue$': require.resolve('vue-jest'),
|
|
21
|
-
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': require.resolve('jest-transform-stub'),
|
|
22
|
-
'^.+\\.jsx?$': require.resolve('babel-jest'),
|
|
23
|
-
'^.+\\.tsx?$': require.resolve('ts-jest'),
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
transformIgnorePatterns: ['/node_modules/(?!(almighty-ele|almighty-tool)/)'],
|
|
27
|
-
|
|
28
|
-
// support the same @ -> src alias mapping in source code
|
|
29
|
-
moduleNameMapper: {
|
|
30
|
-
'^@/(.*)$': '<rootDir>/src/$1',
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
testEnvironment: 'jest-environment-jsdom-fifteen',
|
|
34
|
-
|
|
35
|
-
// serializer for snapshots
|
|
36
|
-
snapshotSerializers: ['jest-serializer-vue'],
|
|
37
|
-
|
|
38
|
-
testMatch: ['**/tests/unit/**/*.spec.[jt]s?(x)', '**/__tests__/*.[jt]s?(x)'],
|
|
39
|
-
|
|
40
|
-
// https://github.com/facebook/jest/issues/6766
|
|
41
|
-
testURL: 'http://localhost/',
|
|
42
|
-
|
|
43
|
-
watchPlugins: [require.resolve('jest-watch-typeahead/filename'), require.resolve('jest-watch-typeahead/testname')],
|
|
44
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
globals: {
|
|
3
|
+
'ts-jest': {
|
|
4
|
+
babelConfig: true,
|
|
5
|
+
},
|
|
6
|
+
},
|
|
7
|
+
|
|
8
|
+
moduleFileExtensions: [
|
|
9
|
+
'ts',
|
|
10
|
+
'tsx',
|
|
11
|
+
'js',
|
|
12
|
+
'jsx',
|
|
13
|
+
'json',
|
|
14
|
+
// tell Jest to handle *.vue files
|
|
15
|
+
'vue',
|
|
16
|
+
],
|
|
17
|
+
|
|
18
|
+
transform: {
|
|
19
|
+
// process *.vue files with vue-jest
|
|
20
|
+
'^.+\\.vue$': require.resolve('vue-jest'),
|
|
21
|
+
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': require.resolve('jest-transform-stub'),
|
|
22
|
+
'^.+\\.jsx?$': require.resolve('babel-jest'),
|
|
23
|
+
'^.+\\.tsx?$': require.resolve('ts-jest'),
|
|
24
|
+
},
|
|
25
|
+
|
|
26
|
+
transformIgnorePatterns: ['/node_modules/(?!(almighty-ele|almighty-tool)/)'],
|
|
27
|
+
|
|
28
|
+
// support the same @ -> src alias mapping in source code
|
|
29
|
+
moduleNameMapper: {
|
|
30
|
+
'^@/(.*)$': '<rootDir>/src/$1',
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
testEnvironment: 'jest-environment-jsdom-fifteen',
|
|
34
|
+
|
|
35
|
+
// serializer for snapshots
|
|
36
|
+
snapshotSerializers: ['jest-serializer-vue'],
|
|
37
|
+
|
|
38
|
+
testMatch: ['**/tests/unit/**/*.spec.[jt]s?(x)', '**/__tests__/*.[jt]s?(x)'],
|
|
39
|
+
|
|
40
|
+
// https://github.com/facebook/jest/issues/6766
|
|
41
|
+
testURL: 'http://localhost/',
|
|
42
|
+
|
|
43
|
+
watchPlugins: [require.resolve('jest-watch-typeahead/filename'), require.resolve('jest-watch-typeahead/testname')],
|
|
44
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
parser: require('postcss-comment'),
|
|
3
|
-
plugins: [require('postcss-import'), require('autoprefixer')],
|
|
4
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
parser: require('postcss-comment'),
|
|
3
|
+
plugins: [require('postcss-import'), require('autoprefixer')],
|
|
4
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
2
|
-
module.exports = {
|
|
3
|
-
parser: require('postcss-comment'),
|
|
4
|
-
plugins: [
|
|
5
|
-
require('postcss-import'),
|
|
6
|
-
require('autoprefixer')({
|
|
7
|
-
remove: process.env.UNI_PLATFORM !== 'h5',
|
|
8
|
-
}),
|
|
9
|
-
require('@dcloudio/vue-cli-plugin-uni/packages/postcss'),
|
|
10
|
-
],
|
|
11
|
-
};
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
2
|
+
module.exports = {
|
|
3
|
+
parser: require('postcss-comment'),
|
|
4
|
+
plugins: [
|
|
5
|
+
require('postcss-import'),
|
|
6
|
+
require('autoprefixer')({
|
|
7
|
+
remove: process.env.UNI_PLATFORM !== 'h5',
|
|
8
|
+
}),
|
|
9
|
+
require('@dcloudio/vue-cli-plugin-uni/packages/postcss'),
|
|
10
|
+
],
|
|
11
|
+
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
// 参考资料:
|
|
2
|
-
//
|
|
3
|
-
// - <https://juejin.im/post/5a7d70496fb9a063317c47f1>
|
|
4
|
-
//
|
|
5
|
-
module.exports = {
|
|
6
|
-
/** tab的宽度 */
|
|
7
|
-
tabWidth: 2,
|
|
8
|
-
/** 使用tab进行缩进 */
|
|
9
|
-
useTabs: false,
|
|
10
|
-
/** 单行宽度 */
|
|
11
|
-
printWidth: 130,
|
|
12
|
-
/** 将多行JSX元素的 > 放在最后一行的末尾,而不是单独放在下一行(不适用于自闭元素) */
|
|
13
|
-
jsxBracketSameLine: false,
|
|
14
|
-
/** 尾随逗号 */
|
|
15
|
-
trailingComma: 'all',
|
|
16
|
-
/** 在语句的末尾打印分号 */
|
|
17
|
-
semi: true,
|
|
18
|
-
/** 使用单引号 */
|
|
19
|
-
singleQuote: true,
|
|
20
|
-
/** 方法名与括号间是否有空格 */
|
|
21
|
-
spaceBeforeFunctionParen: false,
|
|
22
|
-
/** 结尾符问题统一 */
|
|
23
|
-
endOfLine: 'auto',
|
|
24
|
-
/** 箭头函数的参数括起来 */
|
|
25
|
-
arrowParens: 'always',
|
|
26
|
-
};
|
|
1
|
+
// 参考资料:
|
|
2
|
+
//
|
|
3
|
+
// - <https://juejin.im/post/5a7d70496fb9a063317c47f1>
|
|
4
|
+
//
|
|
5
|
+
module.exports = {
|
|
6
|
+
/** tab的宽度 */
|
|
7
|
+
tabWidth: 2,
|
|
8
|
+
/** 使用tab进行缩进 */
|
|
9
|
+
useTabs: false,
|
|
10
|
+
/** 单行宽度 */
|
|
11
|
+
printWidth: 130,
|
|
12
|
+
/** 将多行JSX元素的 > 放在最后一行的末尾,而不是单独放在下一行(不适用于自闭元素) */
|
|
13
|
+
jsxBracketSameLine: false,
|
|
14
|
+
/** 尾随逗号 */
|
|
15
|
+
trailingComma: 'all',
|
|
16
|
+
/** 在语句的末尾打印分号 */
|
|
17
|
+
semi: true,
|
|
18
|
+
/** 使用单引号 */
|
|
19
|
+
singleQuote: true,
|
|
20
|
+
/** 方法名与括号间是否有空格 */
|
|
21
|
+
spaceBeforeFunctionParen: false,
|
|
22
|
+
/** 结尾符问题统一 */
|
|
23
|
+
endOfLine: 'auto',
|
|
24
|
+
/** 箭头函数的参数括起来 */
|
|
25
|
+
arrowParens: 'always',
|
|
26
|
+
};
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* package.json
|
|
3
|
-
"eslint": "8.19.0",
|
|
4
|
-
"eslint-config-prettier": "8.5.0",
|
|
5
|
-
"eslint-config-standard": "17.0.0",
|
|
6
|
-
"eslint-friendly-formatter": "4.0.1",
|
|
7
|
-
"eslint-loader": "4.0.2",
|
|
8
|
-
"eslint-plugin-html": "6.2.0",
|
|
9
|
-
"eslint-plugin-import": "2.25.4",
|
|
10
|
-
"eslint-plugin-jest": "26.5.3",
|
|
11
|
-
"eslint-plugin-n": "15.2.4",
|
|
12
|
-
"eslint-plugin-node": "11.1.0",
|
|
13
|
-
"eslint-plugin-prettier": "4.2.1",
|
|
14
|
-
"eslint-plugin-promise": "6.0.0",
|
|
15
|
-
"eslint-plugin-standard": "5.0.0",
|
|
16
|
-
"eslint-plugin-vue": "9.1.1",
|
|
17
|
-
"eslint-plugin-vue-scoped-css": "2.2.0",
|
|
18
|
-
"node-sass": "4.14.1",
|
|
19
|
-
"postcss": "8.4.14",
|
|
20
|
-
"postcss-comment": "2.0.0",
|
|
21
|
-
"postcss-css-variables": "0.17.0",
|
|
22
|
-
"postcss-html": "1.4.1",
|
|
23
|
-
"postcss-scss": "4.0.4",
|
|
24
|
-
"sass-loader": "10.0.4",
|
|
25
|
-
"stylelint": "14.9.1",
|
|
26
|
-
"stylelint-config-rational-order": "0.1.2",
|
|
27
|
-
"stylelint-config-standard": "26.0.0",
|
|
28
|
-
"stylelint-config-standard-scss": "4.0.0",
|
|
29
|
-
"stylelint-order": "5.0.0",
|
|
30
|
-
"stylelint-scss": "4.2.0",
|
|
31
|
-
*/
|
|
32
|
-
module.exports = {
|
|
33
|
-
extends: ['stylelint-config-standard', 'stylelint-config-standard-scss', 'stylelint-config-rational-order'],
|
|
34
|
-
plugins: ['stylelint-scss', 'stylelint-order'],
|
|
35
|
-
overrides: [
|
|
36
|
-
{
|
|
37
|
-
files: ['**/*.{vue,html}'],
|
|
38
|
-
customSyntax: 'postcss-html',
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
rules: require('./rules/recommended'),
|
|
42
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* package.json
|
|
3
|
+
"eslint": "8.19.0",
|
|
4
|
+
"eslint-config-prettier": "8.5.0",
|
|
5
|
+
"eslint-config-standard": "17.0.0",
|
|
6
|
+
"eslint-friendly-formatter": "4.0.1",
|
|
7
|
+
"eslint-loader": "4.0.2",
|
|
8
|
+
"eslint-plugin-html": "6.2.0",
|
|
9
|
+
"eslint-plugin-import": "2.25.4",
|
|
10
|
+
"eslint-plugin-jest": "26.5.3",
|
|
11
|
+
"eslint-plugin-n": "15.2.4",
|
|
12
|
+
"eslint-plugin-node": "11.1.0",
|
|
13
|
+
"eslint-plugin-prettier": "4.2.1",
|
|
14
|
+
"eslint-plugin-promise": "6.0.0",
|
|
15
|
+
"eslint-plugin-standard": "5.0.0",
|
|
16
|
+
"eslint-plugin-vue": "9.1.1",
|
|
17
|
+
"eslint-plugin-vue-scoped-css": "2.2.0",
|
|
18
|
+
"node-sass": "4.14.1",
|
|
19
|
+
"postcss": "8.4.14",
|
|
20
|
+
"postcss-comment": "2.0.0",
|
|
21
|
+
"postcss-css-variables": "0.17.0",
|
|
22
|
+
"postcss-html": "1.4.1",
|
|
23
|
+
"postcss-scss": "4.0.4",
|
|
24
|
+
"sass-loader": "10.0.4",
|
|
25
|
+
"stylelint": "14.9.1",
|
|
26
|
+
"stylelint-config-rational-order": "0.1.2",
|
|
27
|
+
"stylelint-config-standard": "26.0.0",
|
|
28
|
+
"stylelint-config-standard-scss": "4.0.0",
|
|
29
|
+
"stylelint-order": "5.0.0",
|
|
30
|
+
"stylelint-scss": "4.2.0",
|
|
31
|
+
*/
|
|
32
|
+
module.exports = {
|
|
33
|
+
extends: ['stylelint-config-standard', 'stylelint-config-standard-scss', 'stylelint-config-rational-order'],
|
|
34
|
+
plugins: ['stylelint-scss', 'stylelint-order'],
|
|
35
|
+
overrides: [
|
|
36
|
+
{
|
|
37
|
+
files: ['**/*.{vue,html}'],
|
|
38
|
+
customSyntax: 'postcss-html',
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
rules: require('./rules/recommended'),
|
|
42
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
'unit-no-unknown': null,
|
|
3
|
-
'selector-type-no-unknown': null,
|
|
4
|
-
'font-family-no-missing-generic-family-keyword': null,
|
|
5
|
-
'no-descending-specificity': null,
|
|
6
|
-
'scss/at-import-partial-extension': null,
|
|
7
|
-
'function-url-quotes': null,
|
|
8
|
-
'selector-class-pattern': null,
|
|
9
|
-
'color-function-notation': 'legacy',
|
|
10
|
-
'selector-pseudo-element-no-unknown': null,
|
|
11
|
-
'alpha-value-notation': null,
|
|
12
|
-
'scss/dollar-variable-pattern': null,
|
|
13
|
-
'no-invalid-position-at-import-rule': null,
|
|
14
|
-
'selector-pseudo-class-no-unknown': null,
|
|
15
|
-
'scss/no-global-function-names': null,
|
|
16
|
-
'scss/operator-no-unspaced': null,
|
|
17
|
-
'property-no-unknown': null,
|
|
18
|
-
'selector-pseudo-element-colon-notation': null,
|
|
19
|
-
'at-rule-no-unknown': null,
|
|
20
|
-
'property-case': null,
|
|
21
|
-
'max-line-length': null,
|
|
22
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
'unit-no-unknown': null,
|
|
3
|
+
'selector-type-no-unknown': null,
|
|
4
|
+
'font-family-no-missing-generic-family-keyword': null,
|
|
5
|
+
'no-descending-specificity': null,
|
|
6
|
+
'scss/at-import-partial-extension': null,
|
|
7
|
+
'function-url-quotes': null,
|
|
8
|
+
'selector-class-pattern': null,
|
|
9
|
+
'color-function-notation': 'legacy',
|
|
10
|
+
'selector-pseudo-element-no-unknown': null,
|
|
11
|
+
'alpha-value-notation': null,
|
|
12
|
+
'scss/dollar-variable-pattern': null,
|
|
13
|
+
'no-invalid-position-at-import-rule': null,
|
|
14
|
+
'selector-pseudo-class-no-unknown': null,
|
|
15
|
+
'scss/no-global-function-names': null,
|
|
16
|
+
'scss/operator-no-unspaced': null,
|
|
17
|
+
'property-no-unknown': null,
|
|
18
|
+
'selector-pseudo-element-colon-notation': null,
|
|
19
|
+
'at-rule-no-unknown': null,
|
|
20
|
+
'property-case': null,
|
|
21
|
+
'max-line-length': null,
|
|
22
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
extends: ['stylelint-config-standard', 'stylelint-config-standard-scss'],
|
|
3
|
-
plugins: ['stylelint-scss'],
|
|
4
|
-
overrides: [
|
|
5
|
-
{
|
|
6
|
-
files: ['**/*.{vue,html}'],
|
|
7
|
-
customSyntax: 'postcss-html',
|
|
8
|
-
},
|
|
9
|
-
],
|
|
10
|
-
rules: require('./rules/recommended'),
|
|
11
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
extends: ['stylelint-config-standard', 'stylelint-config-standard-scss'],
|
|
3
|
+
plugins: ['stylelint-scss'],
|
|
4
|
+
overrides: [
|
|
5
|
+
{
|
|
6
|
+
files: ['**/*.{vue,html}'],
|
|
7
|
+
customSyntax: 'postcss-html',
|
|
8
|
+
},
|
|
9
|
+
],
|
|
10
|
+
rules: require('./rules/recommended'),
|
|
11
|
+
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compileOnSave": true,
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "es2017",
|
|
5
|
-
"module": "commonjs",
|
|
6
|
-
"strict": true,
|
|
7
|
-
"noImplicitAny": false,
|
|
8
|
-
"resolveJsonModule": true,
|
|
9
|
-
"experimentalDecorators": true,
|
|
10
|
-
"emitDecoratorMetadata": true,
|
|
11
|
-
"charset": "utf8",
|
|
12
|
-
"allowJs": false,
|
|
13
|
-
"pretty": true,
|
|
14
|
-
"noEmitOnError": false,
|
|
15
|
-
"noUnusedLocals": true,
|
|
16
|
-
"noUnusedParameters": true,
|
|
17
|
-
"allowUnreachableCode": false,
|
|
18
|
-
"allowUnusedLabels": false,
|
|
19
|
-
"strictPropertyInitialization": false,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"skipLibCheck": true,
|
|
22
|
-
"skipDefaultLibCheck": true,
|
|
23
|
-
"inlineSourceMap": true,
|
|
24
|
-
"importHelpers": true
|
|
25
|
-
},
|
|
26
|
-
"exclude": [
|
|
27
|
-
"app/public",
|
|
28
|
-
"app/views",
|
|
29
|
-
"node_modules*"
|
|
30
|
-
]
|
|
31
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compileOnSave": true,
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "es2017",
|
|
5
|
+
"module": "commonjs",
|
|
6
|
+
"strict": true,
|
|
7
|
+
"noImplicitAny": false,
|
|
8
|
+
"resolveJsonModule": true,
|
|
9
|
+
"experimentalDecorators": true,
|
|
10
|
+
"emitDecoratorMetadata": true,
|
|
11
|
+
"charset": "utf8",
|
|
12
|
+
"allowJs": false,
|
|
13
|
+
"pretty": true,
|
|
14
|
+
"noEmitOnError": false,
|
|
15
|
+
"noUnusedLocals": true,
|
|
16
|
+
"noUnusedParameters": true,
|
|
17
|
+
"allowUnreachableCode": false,
|
|
18
|
+
"allowUnusedLabels": false,
|
|
19
|
+
"strictPropertyInitialization": false,
|
|
20
|
+
"noFallthroughCasesInSwitch": true,
|
|
21
|
+
"skipLibCheck": true,
|
|
22
|
+
"skipDefaultLibCheck": true,
|
|
23
|
+
"inlineSourceMap": true,
|
|
24
|
+
"importHelpers": true
|
|
25
|
+
},
|
|
26
|
+
"exclude": [
|
|
27
|
+
"app/public",
|
|
28
|
+
"app/views",
|
|
29
|
+
"node_modules*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./vue.json"
|
|
3
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "./vue.json"
|
|
3
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./recommended.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "ES5",
|
|
5
|
-
"module": "commonjs",
|
|
6
|
-
"outDir": "./lib",
|
|
7
|
-
"baseUrl": ".",
|
|
8
|
-
"strictNullChecks": true,
|
|
9
|
-
"declaration": true,
|
|
10
|
-
"noImplicitAny": true,
|
|
11
|
-
"sourceMap": true
|
|
12
|
-
},
|
|
13
|
-
"include": ["src"],
|
|
14
|
-
"exclude": ["node_modules", "test"]
|
|
15
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "./recommended.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "ES5",
|
|
5
|
+
"module": "commonjs",
|
|
6
|
+
"outDir": "./lib",
|
|
7
|
+
"baseUrl": ".",
|
|
8
|
+
"strictNullChecks": true,
|
|
9
|
+
"declaration": true,
|
|
10
|
+
"noImplicitAny": true,
|
|
11
|
+
"sourceMap": true
|
|
12
|
+
},
|
|
13
|
+
"include": ["src"],
|
|
14
|
+
"exclude": ["node_modules", "test"]
|
|
15
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
|
-
"esModuleInterop": true,
|
|
5
|
-
"module": "esnext",
|
|
6
|
-
"moduleResolution": "node",
|
|
7
|
-
"noEmit": true,
|
|
8
|
-
"resolveJsonModule": true,
|
|
9
|
-
"experimentalDecorators": true,
|
|
10
|
-
"sourceMap": true,
|
|
11
|
-
"strict": true,
|
|
12
|
-
"target": "es6",
|
|
13
|
-
"paths": {
|
|
14
|
-
"src/*": ["src/*"],
|
|
15
|
-
"app/*": ["*"],
|
|
16
|
-
"components/*": ["src/components/*"],
|
|
17
|
-
"layouts/*": ["src/layouts/*"],
|
|
18
|
-
"pages/*": ["src/pages/*"],
|
|
19
|
-
"assets/*": ["src/assets/*"],
|
|
20
|
-
"boot/*": ["src/boot/*"]
|
|
21
|
-
},
|
|
22
|
-
"types": ["quasar"]
|
|
23
|
-
},
|
|
24
|
-
"exclude": ["/dist", ".quasar", "node_modules"]
|
|
25
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"allowJs": true,
|
|
4
|
+
"esModuleInterop": true,
|
|
5
|
+
"module": "esnext",
|
|
6
|
+
"moduleResolution": "node",
|
|
7
|
+
"noEmit": true,
|
|
8
|
+
"resolveJsonModule": true,
|
|
9
|
+
"experimentalDecorators": true,
|
|
10
|
+
"sourceMap": true,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"target": "es6",
|
|
13
|
+
"paths": {
|
|
14
|
+
"src/*": ["src/*"],
|
|
15
|
+
"app/*": ["*"],
|
|
16
|
+
"components/*": ["src/components/*"],
|
|
17
|
+
"layouts/*": ["src/layouts/*"],
|
|
18
|
+
"pages/*": ["src/pages/*"],
|
|
19
|
+
"assets/*": ["src/assets/*"],
|
|
20
|
+
"boot/*": ["src/boot/*"]
|
|
21
|
+
},
|
|
22
|
+
"types": ["quasar"]
|
|
23
|
+
},
|
|
24
|
+
"exclude": ["/dist", ".quasar", "node_modules"]
|
|
25
|
+
}
|