mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Polish Component model example
This commit is contained in:
6
wasm-component-model/.eslintignore
Normal file
6
wasm-component-model/.eslintignore
Normal file
@ -0,0 +1,6 @@
|
||||
node_modules/**
|
||||
client/node_modules/**
|
||||
client/out/**
|
||||
server/node_modules/**
|
||||
server/out/**
|
||||
bin
|
||||
21
wasm-component-model/.eslintrc.js
Normal file
21
wasm-component-model/.eslintrc.js
Normal file
@ -0,0 +1,21 @@
|
||||
/**@type {import('eslint').Linter.Config} */
|
||||
// eslint-disable-next-line no-undef
|
||||
module.exports = {
|
||||
root: true,
|
||||
parser: '@typescript-eslint/parser',
|
||||
plugins: [
|
||||
'@typescript-eslint',
|
||||
],
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
],
|
||||
rules: {
|
||||
'semi': [2, "always"],
|
||||
'@typescript-eslint/no-unused-vars': 0,
|
||||
'@typescript-eslint/no-explicit-any': 0,
|
||||
'@typescript-eslint/explicit-module-boundary-types': 0,
|
||||
'@typescript-eslint/no-non-null-assertion': 0,
|
||||
'@typescript-eslint/no-namespace': "off"
|
||||
}
|
||||
};
|
||||
@ -7,7 +7,6 @@
|
||||
"webworker"
|
||||
],
|
||||
"types": [
|
||||
"node",
|
||||
"vscode"
|
||||
],
|
||||
"module": "Node16",
|
||||
|
||||
Reference in New Issue
Block a user