mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 18:19:08 -05:00
c85b1c06a9
Original: b04fda30c8
36 lines
962 B
JSON
36 lines
962 B
JSON
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"plugins": ["@typescript-eslint"],
|
|
"extends": [
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier",
|
|
"prettier/@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/array-type": ["error", "array-simple"],
|
|
"@typescript-eslint/explicit-member-accessibility": ["off"],
|
|
"@typescript-eslint/no-non-null-assertion": ["off"],
|
|
"@typescript-eslint/no-parameter-properties": ["off"],
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "_" }
|
|
],
|
|
"max-len": [
|
|
"error",
|
|
{
|
|
"code": 80,
|
|
"tabWidth": 2,
|
|
"comments": 80,
|
|
"ignoreTrailingComments": false,
|
|
"ignoreUrls": true,
|
|
"ignoreStrings": false,
|
|
"ignoreTemplateLiterals": false,
|
|
"ignoreRegExpLiterals": false
|
|
}
|
|
]
|
|
}
|
|
}
|