1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-25 09:44:22 +03:00
leon/.eslintrc.json
2022-09-03 19:12:41 +08:00

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"]
}
}