mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
23 lines
662 B
JavaScript
23 lines
662 B
JavaScript
module.exports = {
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/strict-type-checked",
|
|
"plugin:@typescript-eslint/stylistic",
|
|
"plugin:prettier/recommended",
|
|
],
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
project: "./tsconfig.json",
|
|
},
|
|
ignorePatterns: ["node_modules/", "dist/", ".eslintrc.cjs"],
|
|
plugins: ["@typescript-eslint"],
|
|
root: true,
|
|
rules: {
|
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
"@typescript-eslint/no-unsafe-argument": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/consistent-type-exports": "error",
|
|
"@typescript-eslint/consistent-type-imports": "error"
|
|
},
|
|
};
|