mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
55 lines
1.2 KiB
JavaScript
55 lines
1.2 KiB
JavaScript
module.exports = {
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": "tsconfig.json",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{
|
|
"args": "none"
|
|
}
|
|
],
|
|
"@typescript-eslint/prefer-namespace-keyword": "error",
|
|
"@typescript-eslint/quotes": [
|
|
"error",
|
|
"double",
|
|
{
|
|
"avoidEscape": true,
|
|
"allowTemplateLiterals": true
|
|
}
|
|
],
|
|
"@typescript-eslint/semi": [
|
|
"error"
|
|
],
|
|
"@typescript-eslint/type-annotation-spacing": "error",
|
|
"eqeqeq": [
|
|
"error",
|
|
"smart"
|
|
],
|
|
"id-blacklist": [
|
|
"error",
|
|
"any",
|
|
"Number",
|
|
"number",
|
|
"String",
|
|
"string",
|
|
"Boolean",
|
|
"boolean",
|
|
"Undefined",
|
|
"undefined"
|
|
],
|
|
"id-match": "error",
|
|
"no-eval": "error",
|
|
"no-redeclare": "error",
|
|
"no-var": "error"
|
|
}
|
|
};
|