mirror of
https://github.com/g00dfe11ow/Shai-Hulud-Open-Source.git
synced 2026-06-11 09:01:21 +00:00
Shai-Hulud: A Gift From TeamPCP
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import simpleImportSort from "eslint-plugin-simple-import-sort";
|
||||
|
||||
export default [
|
||||
// Global ignores MUST be alone in their own object to apply project-wide.
|
||||
{
|
||||
ignores: [
|
||||
"dist/**",
|
||||
"build/**",
|
||||
"coverage/**",
|
||||
"node_modules/**",
|
||||
"**/*.d.ts",
|
||||
],
|
||||
},
|
||||
|
||||
// Actual lint config for TS/TSX files.
|
||||
{
|
||||
files: ["**/*.ts", "**/*.tsx"],
|
||||
languageOptions: {
|
||||
parser: (await import("@typescript-eslint/parser")).default,
|
||||
},
|
||||
plugins: { "simple-import-sort": simpleImportSort },
|
||||
rules: {
|
||||
"simple-import-sort/imports": "error",
|
||||
"simple-import-sort/exports": "error",
|
||||
},
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user