Skip to content

Commit 21fabc9

Browse files
author
Arvid Paeglit
committed
first almost working version of the plugin using new 'tsc'
1 parent f08cc9e commit 21fabc9

33 files changed

Lines changed: 1048 additions & 8059 deletions

.eslintrc.js

Lines changed: 0 additions & 75 deletions
This file was deleted.

.eslintrc.json

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"plugins": ["@typescript-eslint", "prettier", "import"],
3+
"extends": [
4+
"eslint:recommended",
5+
"airbnb-base",
6+
"plugin:@typescript-eslint/recommended",
7+
"plugin:@typescript-eslint/recommended-requiring-type-checking",
8+
"plugin:prettier/recommended",
9+
"prettier",
10+
"prettier/@typescript-eslint"
11+
],
12+
"globals": {
13+
"Atomics": "readonly",
14+
"SharedArrayBuffer": "readonly"
15+
},
16+
"parser": "@typescript-eslint/parser",
17+
"parserOptions": {
18+
"ecmaVersion": 2018,
19+
"project": "./tsconfig.json"
20+
},
21+
"env": {
22+
"es6": true,
23+
"node": true
24+
},
25+
"rules": {
26+
"no-console": "off",
27+
"no-debugger": "off",
28+
"arrow-parens": ["error", "as-needed"],
29+
"require-jsdoc": "off",
30+
"space-before-function-paren": "off",
31+
"comma-dangle": "off",
32+
"object-curly-spacing": "warn",
33+
"padded-blocks": "off",
34+
"camelcase": "warn",
35+
"object-property-newline": "off",
36+
"prefer-const": "warn",
37+
"import/no-absolute-path": "off",
38+
"no-prototype-builtins": "off",
39+
"indent": "warn",
40+
"quote-props": ["warn", "as-needed"],
41+
"lines-between-class-members": "off",
42+
"import/extensions": [
43+
"error",
44+
"ignorePackages",
45+
{
46+
"js": "never",
47+
"mjs": "never",
48+
"jsx": "never",
49+
"ts": "never",
50+
"tsx": "never"
51+
}
52+
],
53+
"no-restricted-syntax": "off",
54+
"no-await-in-loop": "warn",
55+
"no-underscore-dangle": "off",
56+
"max-classes-per-file": "off",
57+
"no-use-before-define": "off",
58+
"no-continue": "off",
59+
"@typescript-eslint/restrict-template-expressions": "off",
60+
"@typescript-eslint/no-unsafe-assignment": "warn"
61+
},
62+
"settings": {
63+
"import/resolver": {
64+
"node": {
65+
"extensions": [".js", ".jsx", ".ts", ".tsx", ".json", ".vue"]
66+
}
67+
}
68+
}
69+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
out
22
build
33
node_modules
4+
.yalc
45
.vscode-test
56
*.vsix
67
yarn-error.log

.vscodeignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ src/**
55
.gitignore
66
vsc-extension-quickstart.md
77
**/tsconfig.json
8-
**/.eslintrc.js
8+
**/.eslintrc.json
99
**/*.map
1010
**/*.ts
1111
**/webpack.config.js

0 commit comments

Comments
 (0)