Revert "style: fix indent in non-ts files"
This reverts commit 772be85e67
.
This commit is contained in:
parent
e015abefd9
commit
8d975a192d
42
.eslintrc
42
.eslintrc
|
@ -1,21 +1,23 @@
|
||||||
{
|
{
|
||||||
"root": true,
|
"root": true,
|
||||||
"parser": "@typescript-eslint/parser",
|
"parser": "@typescript-eslint/parser",
|
||||||
"env": { "node": true },
|
"env": { "node": true },
|
||||||
"plugins": ["@typescript-eslint"],
|
"plugins": [
|
||||||
"extends": [
|
"@typescript-eslint"
|
||||||
"eslint:recommended",
|
],
|
||||||
"plugin:@typescript-eslint/eslint-recommended",
|
"extends": [
|
||||||
"plugin:@typescript-eslint/recommended"
|
"eslint:recommended",
|
||||||
],
|
"plugin:@typescript-eslint/eslint-recommended",
|
||||||
"parserOptions": {
|
"plugin:@typescript-eslint/recommended"
|
||||||
"sourceType": "module"
|
],
|
||||||
},
|
"parserOptions": {
|
||||||
"rules": {
|
"sourceType": "module"
|
||||||
"no-unused-vars": "off",
|
},
|
||||||
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }],
|
"rules": {
|
||||||
"@typescript-eslint/ban-ts-comment": "off",
|
"no-unused-vars": "off",
|
||||||
"no-prototype-builtins": "off",
|
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }],
|
||||||
"@typescript-eslint/no-empty-function": "off"
|
"@typescript-eslint/ban-ts-comment": "off",
|
||||||
}
|
"no-prototype-builtins": "off",
|
||||||
}
|
"@typescript-eslint/no-empty-function": "off"
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
/* Sets all the text color to red! */
|
/* Sets all the text color to red! */
|
||||||
body {
|
body {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,23 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"inlineSourceMap": true,
|
"inlineSourceMap": true,
|
||||||
"inlineSources": true,
|
"inlineSources": true,
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"target": "ES6",
|
"target": "ES6",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"lib": ["DOM", "ES5", "ES6", "ES7"]
|
"lib": [
|
||||||
},
|
"DOM",
|
||||||
"include": ["**/*.ts"]
|
"ES5",
|
||||||
|
"ES6",
|
||||||
|
"ES7"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"**/*.ts"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue