generator-code 1.11.1 → 1.11.2
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/generators/app/dependencyVersions/package.json +11 -11
- package/generators/app/generate-command-js.js +1 -1
- package/generators/app/generate-command-ts.js +1 -1
- package/generators/app/generate-command-web.js +1 -1
- package/generators/app/generate-notebook-renderer.js +1 -1
- package/generators/app/templates/ext-colortheme/vsc-extension-quickstart.md +1 -1
- package/generators/app/templates/ext-command-js/.vscodeignore +1 -1
- package/generators/app/templates/ext-command-js/eslint.config.mjs +25 -0
- package/generators/app/templates/ext-command-js/package.json +0 -1
- package/generators/app/templates/ext-command-js/vsc-extension-quickstart.md +1 -0
- package/generators/app/templates/ext-command-ts/.vscodeignore +1 -1
- package/generators/app/templates/ext-command-ts/eslint.config.mjs +28 -0
- package/generators/app/templates/ext-command-ts/package.json +1 -1
- package/generators/app/templates/ext-command-ts/vsc-extension-quickstart.md +1 -0
- package/generators/app/templates/ext-command-ts/vscode-esbuild/.vscodeignore +1 -1
- package/generators/app/templates/ext-command-ts/vscode-esbuild/package.json +1 -1
- package/generators/app/templates/ext-command-ts/vscode-webpack/.vscodeignore +1 -1
- package/generators/app/templates/ext-command-ts/vscode-webpack/package.json +1 -1
- package/generators/app/templates/ext-command-web/.vscodeignore +1 -1
- package/generators/app/templates/ext-command-web/esbuild-package.json +1 -1
- package/generators/app/templates/ext-command-web/eslint.config.mjs +28 -0
- package/generators/app/templates/ext-command-web/webpack-package.json +1 -1
- package/generators/app/templates/ext-notebook-renderer/.vscodeignore +1 -1
- package/generators/app/templates/ext-notebook-renderer/eslint.config.mjs +28 -0
- package/generators/app/templates/ext-notebook-renderer/package.json +1 -1
- package/package.json +4 -4
- package/generators/app/templates/ext-command-js/.eslintrc.json +0 -25
- package/generators/app/templates/ext-command-ts/.eslintrc.json +0 -30
- package/generators/app/templates/ext-command-web/.eslintrc.json +0 -22
- package/generators/app/templates/ext-notebook-renderer/.eslintrc.json +0 -22
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
"@types/mocha": "^10.0.7",
|
|
8
8
|
"@types/node": "20.x",
|
|
9
9
|
"@types/assert": "^1.5.10",
|
|
10
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
11
|
-
"@typescript-eslint/parser": "^
|
|
12
|
-
"eslint": "^
|
|
13
|
-
"glob": "^
|
|
14
|
-
"mocha": "^10.
|
|
15
|
-
"typescript": "^5.4
|
|
16
|
-
"@vscode/test-cli": "^0.0.
|
|
17
|
-
"@vscode/test-electron": "^2.4.
|
|
18
|
-
"@vscode/test-web": "^0.0.
|
|
10
|
+
"@typescript-eslint/eslint-plugin": "^8.3.0",
|
|
11
|
+
"@typescript-eslint/parser": "^8.3.0",
|
|
12
|
+
"eslint": "^9.9.1",
|
|
13
|
+
"glob": "^11.0.0",
|
|
14
|
+
"mocha": "^10.7.3",
|
|
15
|
+
"typescript": "^5.5.4",
|
|
16
|
+
"@vscode/test-cli": "^0.0.10",
|
|
17
|
+
"@vscode/test-electron": "^2.4.1",
|
|
18
|
+
"@vscode/test-web": "^0.0.58",
|
|
19
19
|
"@types/webpack-env": "^1.18.5",
|
|
20
20
|
"@types/vscode-notebook-renderer": "^1.72.3",
|
|
21
21
|
"concurrently": "^8.2.2",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"ts-loader": "^9.5.1",
|
|
26
26
|
"vscode-dts": "^0.3.3",
|
|
27
27
|
"vscode-notebook-error-overlay": "^1.0.1",
|
|
28
|
-
"webpack": "^5.
|
|
28
|
+
"webpack": "^5.94.0",
|
|
29
29
|
"util": "^0.12.5",
|
|
30
30
|
"webpack-cli": "^5.1.4",
|
|
31
31
|
"webpack-dev-server": "^5.0.4",
|
|
32
32
|
"assert": "^2.1.0",
|
|
33
33
|
"process": "^0.11.10",
|
|
34
34
|
"npm-run-all": "^4.1.5",
|
|
35
|
-
"esbuild": "^0.
|
|
35
|
+
"esbuild": "^0.23.1",
|
|
36
36
|
"@esbuild-plugins/node-globals-polyfill": "^0.2.3"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -63,7 +63,7 @@ export default {
|
|
|
63
63
|
generator.fs.copyTpl(generator.templatePath('extension.js'), generator.destinationPath('extension.js'), extensionConfig);
|
|
64
64
|
generator.fs.copyTpl(generator.templatePath('package.json'), generator.destinationPath('package.json'), extensionConfig);
|
|
65
65
|
generator.fs.copy(generator.templatePath('.vscode-test.mjs'), generator.destinationPath('.vscode-test.mjs'));
|
|
66
|
-
generator.fs.copyTpl(generator.templatePath('.
|
|
66
|
+
generator.fs.copyTpl(generator.templatePath('eslint.config.mjs'), generator.destinationPath('eslint.config.mjs'), extensionConfig);
|
|
67
67
|
|
|
68
68
|
if (extensionConfig.pkgManager === 'yarn') {
|
|
69
69
|
generator.fs.copyTpl(generator.templatePath('.yarnrc'), generator.destinationPath('.yarnrc'), extensionConfig);
|
|
@@ -64,7 +64,7 @@ export default {
|
|
|
64
64
|
generator.fs.copyTpl(generator.templatePath('src/extension.ts'), generator.destinationPath('src/extension.ts'), extensionConfig);
|
|
65
65
|
generator.fs.copy(generator.templatePath('src/test'), generator.destinationPath('src/test'));
|
|
66
66
|
generator.fs.copy(generator.templatePath('.vscode-test.mjs'), generator.destinationPath('.vscode-test.mjs'));
|
|
67
|
-
generator.fs.copy(generator.templatePath('.
|
|
67
|
+
generator.fs.copy(generator.templatePath('eslint.config.mjs'), generator.destinationPath('eslint.config.mjs'));
|
|
68
68
|
|
|
69
69
|
if (extensionConfig.pkgManager === 'yarn') {
|
|
70
70
|
generator.fs.copyTpl(generator.templatePath('.yarnrc'), generator.destinationPath('.yarnrc'), extensionConfig);
|
|
@@ -65,7 +65,7 @@ export default {
|
|
|
65
65
|
generator.fs.copy(generator.templatePath('src/web/test/suite/webpack-mochaTestRunner.ts'), generator.destinationPath('src/web/test/suite/index.ts'));
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
generator.fs.copy(generator.templatePath('.
|
|
68
|
+
generator.fs.copy(generator.templatePath('eslint.config.mjs'), generator.destinationPath('eslint.config.mjs'));
|
|
69
69
|
|
|
70
70
|
if (extensionConfig.pkgManager === 'yarn') {
|
|
71
71
|
generator.fs.copyTpl(generator.templatePath('.yarnrc'), generator.destinationPath('.yarnrc'), extensionConfig);
|
|
@@ -41,7 +41,7 @@ export default {
|
|
|
41
41
|
generator.fs.copy(generator.templatePath('tsconfig.json'), generator.destinationPath('tsconfig.json'));
|
|
42
42
|
generator.fs.copy(generator.templatePath('.vscodeignore'), generator.destinationPath('.vscodeignore'));
|
|
43
43
|
generator.fs.copy(generator.templatePath('webpack.config.js'), generator.destinationPath('webpack.config.js'));
|
|
44
|
-
generator.fs.copy(generator.templatePath('.
|
|
44
|
+
generator.fs.copy(generator.templatePath('eslint.config.mjs'), generator.destinationPath('eslint.config.mjs'));
|
|
45
45
|
generator.fs.copy(generator.templatePath('.vscode-test.mjs'), generator.destinationPath('.vscode-test.mjs'));
|
|
46
46
|
|
|
47
47
|
generator.fs.copyTpl(generator.templatePath('package.json'), generator.destinationPath('package.json'), extensionConfig);
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
## Get up and running straight away
|
|
10
10
|
|
|
11
11
|
* Press `F5` to open a new window with your extension loaded.
|
|
12
|
-
* Open `File > Preferences > Color
|
|
12
|
+
* Open the color theme picker with the `File > Preferences > Theme > Color Theme` menu item, or use the `Preferences: Color Theme command (Ctrl+K Ctrl+T)` and pick your theme
|
|
13
13
|
* Open a file that has a language associated. The languages' configured grammar will tokenize the text and assign 'scopes' to the tokens. To examine these scopes, invoke the `Developer: Inspect Editor Tokens and Scopes` command from the Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac).
|
|
14
14
|
|
|
15
15
|
## Make changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import globals from "globals";
|
|
2
|
+
|
|
3
|
+
export default [{
|
|
4
|
+
files: ["**/*.js"],
|
|
5
|
+
languageOptions: {
|
|
6
|
+
globals: {
|
|
7
|
+
...globals.commonjs,
|
|
8
|
+
...globals.node,
|
|
9
|
+
...globals.mocha,
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
ecmaVersion: 2022,
|
|
13
|
+
sourceType: "module",
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
rules: {
|
|
17
|
+
"no-const-assign": "warn",
|
|
18
|
+
"no-this-before-super": "warn",
|
|
19
|
+
"no-undef": "warn",
|
|
20
|
+
"no-unreachable": "warn",
|
|
21
|
+
"no-unused-vars": "warn",
|
|
22
|
+
"constructor-super": "warn",
|
|
23
|
+
"valid-typeof": "warn",
|
|
24
|
+
},
|
|
25
|
+
}];
|
|
@@ -39,3 +39,4 @@
|
|
|
39
39
|
* [Follow UX guidelines](https://code.visualstudio.com/api/ux-guidelines/overview) to create extensions that seamlessly integrate with VS Code's native interface and patterns.
|
|
40
40
|
* [Publish your extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VS Code extension marketplace.
|
|
41
41
|
* Automate builds by setting up [Continuous Integration](https://code.visualstudio.com/api/working-with-extensions/continuous-integration).
|
|
42
|
+
* Integrate to the [report issue](https://code.visualstudio.com/api/get-started/wrapping-up#issue-reporting) flow to get issue and feature requests reported by users.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import typescriptEslint from "@typescript-eslint/eslint-plugin";
|
|
2
|
+
import tsParser from "@typescript-eslint/parser";
|
|
3
|
+
|
|
4
|
+
export default [{
|
|
5
|
+
files: ["**/*.ts"],
|
|
6
|
+
}, {
|
|
7
|
+
plugins: {
|
|
8
|
+
"@typescript-eslint": typescriptEslint,
|
|
9
|
+
},
|
|
10
|
+
|
|
11
|
+
languageOptions: {
|
|
12
|
+
parser: tsParser,
|
|
13
|
+
ecmaVersion: 2022,
|
|
14
|
+
sourceType: "module",
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
rules: {
|
|
18
|
+
"@typescript-eslint/naming-convention": ["warn", {
|
|
19
|
+
selector: "import",
|
|
20
|
+
format: ["camelCase", "PascalCase"],
|
|
21
|
+
}],
|
|
22
|
+
|
|
23
|
+
curly: "warn",
|
|
24
|
+
eqeqeq: "warn",
|
|
25
|
+
"no-throw-literal": "warn",
|
|
26
|
+
semi: "warn",
|
|
27
|
+
},
|
|
28
|
+
}];
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"compile": "tsc -p ./",
|
|
26
26
|
"watch": "tsc -watch -p ./",
|
|
27
27
|
"pretest": "<%= pkgManager %> run compile && <%= pkgManager %> run lint",
|
|
28
|
-
"lint": "eslint src
|
|
28
|
+
"lint": "eslint src",
|
|
29
29
|
"test": "vscode-test"<% if (insiders) { %>,
|
|
30
30
|
"update-proposed-api": "vscode-dts dev"<% } %>
|
|
31
31
|
},
|
|
@@ -41,3 +41,4 @@
|
|
|
41
41
|
* Reduce the extension size and improve the startup time by [bundling your extension](https://code.visualstudio.com/api/working-with-extensions/bundling-extension).
|
|
42
42
|
* [Publish your extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VS Code extension marketplace.
|
|
43
43
|
* Automate builds by setting up [Continuous Integration](https://code.visualstudio.com/api/working-with-extensions/continuous-integration).
|
|
44
|
+
* Integrate to the [report issue](https://code.visualstudio.com/api/get-started/wrapping-up#issue-reporting) flow to get issue and feature requests reported by users.
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"watch-tests": "tsc -p . -w --outDir out",
|
|
32
32
|
"pretest": "<%= pkgManager %> run compile-tests && <%= pkgManager %> run compile && <%= pkgManager %> run lint",
|
|
33
33
|
"check-types": "tsc --noEmit",
|
|
34
|
-
"lint": "eslint src
|
|
34
|
+
"lint": "eslint src",
|
|
35
35
|
"test": "vscode-test"<% if (insiders) { %>,
|
|
36
36
|
"update-proposed-api": "vscode-dts dev"<% } %>
|
|
37
37
|
},
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"compile-tests": "tsc -p . --outDir out",
|
|
29
29
|
"watch-tests": "tsc -p . -w --outDir out",
|
|
30
30
|
"pretest": "<%= pkgManager %> run compile-tests && <%= pkgManager %> run compile && <%= pkgManager %> run lint",
|
|
31
|
-
"lint": "eslint src
|
|
31
|
+
"lint": "eslint src",
|
|
32
32
|
"test": "vscode-test"<% if (insiders) { %>,
|
|
33
33
|
"update-proposed-api": "vscode-dts dev"<% } %>
|
|
34
34
|
},
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"watch-web:tsc": "tsc --noEmit --watch --project tsconfig.json",
|
|
30
30
|
"package-web": "<%= pkgManager %> run check-types && <%= pkgManager %> run lint && node esbuild.js --production",
|
|
31
31
|
"check-types": "tsc --noEmit",
|
|
32
|
-
"lint": "eslint src
|
|
32
|
+
"lint": "eslint src",
|
|
33
33
|
"run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ."
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import typescriptEslint from "@typescript-eslint/eslint-plugin";
|
|
2
|
+
import tsParser from "@typescript-eslint/parser";
|
|
3
|
+
|
|
4
|
+
export default [{
|
|
5
|
+
files: ["**/*.ts"],
|
|
6
|
+
}, {
|
|
7
|
+
plugins: {
|
|
8
|
+
"@typescript-eslint": typescriptEslint,
|
|
9
|
+
},
|
|
10
|
+
|
|
11
|
+
languageOptions: {
|
|
12
|
+
parser: tsParser,
|
|
13
|
+
ecmaVersion: 2022,
|
|
14
|
+
sourceType: "module",
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
rules: {
|
|
18
|
+
"@typescript-eslint/naming-convention": ["warn", {
|
|
19
|
+
selector: "import",
|
|
20
|
+
format: ["camelCase", "PascalCase"],
|
|
21
|
+
}],
|
|
22
|
+
|
|
23
|
+
curly: "warn",
|
|
24
|
+
eqeqeq: "warn",
|
|
25
|
+
"no-throw-literal": "warn",
|
|
26
|
+
semi: "warn",
|
|
27
|
+
},
|
|
28
|
+
}];
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"compile-web": "webpack",
|
|
27
27
|
"watch-web": "webpack --watch",
|
|
28
28
|
"package-web": "webpack --mode production --devtool hidden-source-map",
|
|
29
|
-
"lint": "eslint src
|
|
29
|
+
"lint": "eslint src",
|
|
30
30
|
"run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ."
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import typescriptEslint from "@typescript-eslint/eslint-plugin";
|
|
2
|
+
import tsParser from "@typescript-eslint/parser";
|
|
3
|
+
|
|
4
|
+
export default [{
|
|
5
|
+
files: ["**/*.ts"],
|
|
6
|
+
}, {
|
|
7
|
+
plugins: {
|
|
8
|
+
"@typescript-eslint": typescriptEslint,
|
|
9
|
+
},
|
|
10
|
+
|
|
11
|
+
languageOptions: {
|
|
12
|
+
parser: tsParser,
|
|
13
|
+
ecmaVersion: 2022,
|
|
14
|
+
sourceType: "module",
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
rules: {
|
|
18
|
+
"@typescript-eslint/naming-convention": ["warn", {
|
|
19
|
+
selector: "import",
|
|
20
|
+
format: ["camelCase", "PascalCase"],
|
|
21
|
+
}],
|
|
22
|
+
|
|
23
|
+
curly: "warn",
|
|
24
|
+
eqeqeq: "warn",
|
|
25
|
+
"no-throw-literal": "warn",
|
|
26
|
+
semi: "warn",
|
|
27
|
+
},
|
|
28
|
+
}];
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"scripts": {
|
|
29
29
|
"vscode:prepublish": "<%= pkgManager %> run compile",
|
|
30
30
|
"compile": "webpack --mode production",
|
|
31
|
-
"lint": "eslint src
|
|
31
|
+
"lint": "eslint src",
|
|
32
32
|
"watch": "webpack --mode development --watch",
|
|
33
33
|
"pretest": "webpack --mode development && <%= pkgManager %> run lint",
|
|
34
34
|
"test": "vscode-test"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-code",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.2",
|
|
4
4
|
"description": "Yeoman generator for Visual Studio Code extensions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yeoman-generator",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"chalk": "^5.3.0",
|
|
39
39
|
"fast-plist": "^0.1.3",
|
|
40
|
-
"request-light": "^0.
|
|
40
|
+
"request-light": "^0.8.0",
|
|
41
41
|
"which": "^4.0.0",
|
|
42
42
|
"yeoman-generator": "^7.3.2",
|
|
43
43
|
"yosay": "^3.0.0"
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/mocha": "^10.0.7",
|
|
47
47
|
"@types/node": "^18.19.39",
|
|
48
|
-
"mocha": "^10.
|
|
48
|
+
"mocha": "^10.7.3",
|
|
49
49
|
"yeoman-environment": "^4.4.1",
|
|
50
|
-
"yeoman-test": "^
|
|
50
|
+
"yeoman-test": "^9.0.0"
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"env": {
|
|
3
|
-
"browser": false,
|
|
4
|
-
"commonjs": true,
|
|
5
|
-
"es6": true,
|
|
6
|
-
"node": true,
|
|
7
|
-
"mocha": true
|
|
8
|
-
},
|
|
9
|
-
"parserOptions": {
|
|
10
|
-
"ecmaVersion": 2018,
|
|
11
|
-
"ecmaFeatures": {
|
|
12
|
-
"jsx": true
|
|
13
|
-
},
|
|
14
|
-
"sourceType": "module"
|
|
15
|
-
},
|
|
16
|
-
"rules": {
|
|
17
|
-
"no-const-assign": "warn",
|
|
18
|
-
"no-this-before-super": "warn",
|
|
19
|
-
"no-undef": "warn",
|
|
20
|
-
"no-unreachable": "warn",
|
|
21
|
-
"no-unused-vars": "warn",
|
|
22
|
-
"constructor-super": "warn",
|
|
23
|
-
"valid-typeof": "warn"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"parser": "@typescript-eslint/parser",
|
|
4
|
-
"parserOptions": {
|
|
5
|
-
"ecmaVersion": 6,
|
|
6
|
-
"sourceType": "module"
|
|
7
|
-
},
|
|
8
|
-
"plugins": [
|
|
9
|
-
"@typescript-eslint"
|
|
10
|
-
],
|
|
11
|
-
"rules": {
|
|
12
|
-
"@typescript-eslint/naming-convention": [
|
|
13
|
-
"warn",
|
|
14
|
-
{
|
|
15
|
-
"selector": "import",
|
|
16
|
-
"format": [ "camelCase", "PascalCase" ]
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"@typescript-eslint/semi": "warn",
|
|
20
|
-
"curly": "warn",
|
|
21
|
-
"eqeqeq": "warn",
|
|
22
|
-
"no-throw-literal": "warn",
|
|
23
|
-
"semi": "off"
|
|
24
|
-
},
|
|
25
|
-
"ignorePatterns": [
|
|
26
|
-
"out",
|
|
27
|
-
"dist",
|
|
28
|
-
"**/*.d.ts"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"parser": "@typescript-eslint/parser",
|
|
4
|
-
"parserOptions": {
|
|
5
|
-
"ecmaVersion": 6,
|
|
6
|
-
"sourceType": "module"
|
|
7
|
-
},
|
|
8
|
-
"plugins": [
|
|
9
|
-
"@typescript-eslint"
|
|
10
|
-
],
|
|
11
|
-
"rules": {
|
|
12
|
-
"@typescript-eslint/naming-convention": "warn",
|
|
13
|
-
"@typescript-eslint/semi": "warn",
|
|
14
|
-
"curly": "warn",
|
|
15
|
-
"eqeqeq": "warn",
|
|
16
|
-
"no-throw-literal": "warn",
|
|
17
|
-
"semi": "off"
|
|
18
|
-
},
|
|
19
|
-
"ignorePatterns": [
|
|
20
|
-
"**/*.d.ts"
|
|
21
|
-
]
|
|
22
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"parser": "@typescript-eslint/parser",
|
|
4
|
-
"parserOptions": {
|
|
5
|
-
"ecmaVersion": 6,
|
|
6
|
-
"sourceType": "module"
|
|
7
|
-
},
|
|
8
|
-
"plugins": [
|
|
9
|
-
"@typescript-eslint"
|
|
10
|
-
],
|
|
11
|
-
"rules": {
|
|
12
|
-
"@typescript-eslint/naming-convention": "warn",
|
|
13
|
-
"@typescript-eslint/semi": "warn",
|
|
14
|
-
"curly": "warn",
|
|
15
|
-
"eqeqeq": "warn",
|
|
16
|
-
"no-throw-literal": "warn",
|
|
17
|
-
"semi": "off"
|
|
18
|
-
},
|
|
19
|
-
"ignorePatterns": [
|
|
20
|
-
"**/*.d.ts"
|
|
21
|
-
]
|
|
22
|
-
}
|