This commit is contained in:
@@ -8,10 +8,19 @@ import tsPlugin from "typescript-eslint";
|
||||
|
||||
/** @type {import('eslint').Linter.Config[]} */
|
||||
export default [
|
||||
{
|
||||
ignores: [
|
||||
"node_modules/**",
|
||||
"dist/**",
|
||||
"build/**",
|
||||
"coverage/**",
|
||||
"*.min.js",
|
||||
"src/gen/**", // Exclude generated API files
|
||||
],
|
||||
},
|
||||
securityPlugin.configs.recommended,
|
||||
{
|
||||
files: ["**/*.ts"],
|
||||
ignores: ["src/gen/**"],
|
||||
files: ["src/**/*.ts"],
|
||||
},
|
||||
{
|
||||
languageOptions: { globals: globals.node },
|
||||
@@ -60,16 +69,7 @@ export default [
|
||||
"import/order": [
|
||||
"error",
|
||||
{
|
||||
groups: [
|
||||
"builtin",
|
||||
"external",
|
||||
"internal",
|
||||
"parent",
|
||||
"sibling",
|
||||
"index",
|
||||
"object",
|
||||
"type",
|
||||
],
|
||||
groups: ["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"],
|
||||
"newlines-between": "always",
|
||||
alphabetize: {
|
||||
order: "asc",
|
||||
|
||||
Reference in New Issue
Block a user