1
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
botw-hundo-dupl/.eslintrc.json
2022-06-19 03:52:08 -07:00

96 lines
1.9 KiB
JSON

{
"env": {
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"indent": [
"warn",
"tab",
{
"SwitchCase": 1
}
],
"linebreak-style": [
"warn",
"unix"
],
"quotes": [
"warn",
"double"
],
"semi": [
"warn",
"always"
],
"no-multiple-empty-lines": [
"warn",
{
"max": 1
}
],
"no-console": [
"warn",
{
"allow": [
"error"
]
}
],
"no-extra-parens": [
"warn"
],
"no-unreachable-loop": [
"error"
],
"curly": [
"warn",
"all"
],
"dot-notation": [
"warn",
{
"allowKeywords": false
}
],
"camelcase": [
"warn",
{
"allow":[
"reinterpret_cast",
"nonnull_cast"
]
}
],
"@typescript-eslint/ban-types": [
"error",
{
"types": {}
}
],
"@typescript-eslint/no-unused-vars":[
"warn",
{
"varsIgnorePattern": "_",
"argsIgnorePattern": "_"
}
]
}
}