From 8d975a192dad38f3555f5acd289e227da5c06972 Mon Sep 17 00:00:00 2001 From: aidenlx Date: Sat, 22 Jan 2022 20:45:05 +0800 Subject: [PATCH] Revert "style: fix indent in non-ts files" This reverts commit 772be85e67947507d4c415ad688049cbac62c163. --- .eslintrc | 42 ++++++++++++++++++++++-------------------- styles.css | 2 +- tsconfig.json | 35 +++++++++++++++++++++-------------- 3 files changed, 44 insertions(+), 35 deletions(-) diff --git a/.eslintrc b/.eslintrc index 7fc8ba5..0807290 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,21 +1,23 @@ { - "root": true, - "parser": "@typescript-eslint/parser", - "env": { "node": true }, - "plugins": ["@typescript-eslint"], - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/eslint-recommended", - "plugin:@typescript-eslint/recommended" - ], - "parserOptions": { - "sourceType": "module" - }, - "rules": { - "no-unused-vars": "off", - "@typescript-eslint/no-unused-vars": ["error", { "args": "none" }], - "@typescript-eslint/ban-ts-comment": "off", - "no-prototype-builtins": "off", - "@typescript-eslint/no-empty-function": "off" - } -} + "root": true, + "parser": "@typescript-eslint/parser", + "env": { "node": true }, + "plugins": [ + "@typescript-eslint" + ], + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/eslint-recommended", + "plugin:@typescript-eslint/recommended" + ], + "parserOptions": { + "sourceType": "module" + }, + "rules": { + "no-unused-vars": "off", + "@typescript-eslint/no-unused-vars": ["error", { "args": "none" }], + "@typescript-eslint/ban-ts-comment": "off", + "no-prototype-builtins": "off", + "@typescript-eslint/no-empty-function": "off" + } + } \ No newline at end of file diff --git a/styles.css b/styles.css index e026c13..cfd0fd7 100644 --- a/styles.css +++ b/styles.css @@ -1,4 +1,4 @@ /* Sets all the text color to red! */ body { - color: red; + color: red; } diff --git a/tsconfig.json b/tsconfig.json index c796542..b50f455 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,16 +1,23 @@ { - "compilerOptions": { - "baseUrl": ".", - "inlineSourceMap": true, - "inlineSources": true, - "module": "ESNext", - "target": "ES6", - "allowJs": true, - "noImplicitAny": true, - "moduleResolution": "node", - "importHelpers": true, - "isolatedModules": true, - "lib": ["DOM", "ES5", "ES6", "ES7"] - }, - "include": ["**/*.ts"] + "compilerOptions": { + "baseUrl": ".", + "inlineSourceMap": true, + "inlineSources": true, + "module": "ESNext", + "target": "ES6", + "allowJs": true, + "noImplicitAny": true, + "moduleResolution": "node", + "importHelpers": true, + "isolatedModules": true, + "lib": [ + "DOM", + "ES5", + "ES6", + "ES7" + ] + }, + "include": [ + "**/*.ts" + ] }