47 lines
No EOL
1.1 KiB
Text
47 lines
No EOL
1.1 KiB
Text
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"jsx": true,
|
|
"useJSXTextNode": true,
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"ignorePatterns": [
|
|
"/out"
|
|
],
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"roblox-ts"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:roblox-ts/recommended"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/ban-types": "error",
|
|
"@typescript-eslint/explicit-function-return-type": "warn",
|
|
"@typescript-eslint/explicit-module-boundary-types": "warn",
|
|
"@typescript-eslint/no-array-constructor": "error",
|
|
"@typescript-eslint/no-empty-function": "error",
|
|
"@typescript-eslint/no-empty-interface": "error",
|
|
"@typescript-eslint/no-namespace": "error",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"varsIgnorePattern": "^_",
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"@typescript-eslint/no-var-requires": "error",
|
|
"@typescript-eslint/semi": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"@typescript-eslint/comma-dangle": [
|
|
"error",
|
|
"never"
|
|
]
|
|
}
|
|
} |