mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-25 09:44:22 +03:00
29 lines
645 B
JSON
29 lines
645 B
JSON
{
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"env": {
|
|
"node": true,
|
|
"browser": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2021
|
|
},
|
|
"globals": {
|
|
"io": true
|
|
},
|
|
"plugins": ["@typescript-eslint"],
|
|
"ignorePatterns": "*.spec.js",
|
|
"rules": {
|
|
"no-async-promise-executor": ["off"],
|
|
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
|
|
"prefer-destructuring": ["error"],
|
|
"comma-dangle": ["error", "never"],
|
|
"semi": ["error", "never"],
|
|
"object-curly-spacing": ["error", "always"]
|
|
}
|
|
}
|