update lại thư mục cấu trúc mới của server nodejs và python
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
import js from "@eslint/js";
|
||||
import globals from "globals";
|
||||
import tseslint from "typescript-eslint";
|
||||
import { defineConfig, globalIgnores } from "eslint/config";
|
||||
|
||||
export default defineConfig([
|
||||
{
|
||||
files: ["**/*.{js,ts}"],
|
||||
plugins: { js },
|
||||
extends: ["js/recommended"],
|
||||
languageOptions: { globals: globals.node },
|
||||
},
|
||||
tseslint.configs.recommended,
|
||||
{
|
||||
rules: {
|
||||
"@typescript-eslint/consistent-type-imports": "error",
|
||||
"no-extra-boolean-cast": "off",
|
||||
},
|
||||
},
|
||||
globalIgnores(["dist/*"]),
|
||||
]);
|
||||
Reference in New Issue
Block a user