mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-21 04:52:00 +02:00
Initial commit: Core packages
This commit is contained in:
commit
12c29a983b
9512 changed files with 8379910 additions and 0 deletions
48
odoo-bringout-oca-ocb-web/web/tooling/_eslintrc.json
Normal file
48
odoo-bringout-oca-ocb-web/web/tooling/_eslintrc.json
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
|
||||
"parserOptions": {
|
||||
"sourceType": "module",
|
||||
"ecmaVersion": 2019
|
||||
},
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2017": true,
|
||||
"qunit": true
|
||||
},
|
||||
"rules": {
|
||||
"prettier/prettier": "error",
|
||||
"no-undef": "error",
|
||||
"no-restricted-globals": ["error", "event", "self"],
|
||||
"no-const-assign": ["error"],
|
||||
"no-debugger": ["error"],
|
||||
"no-dupe-class-members": ["error"],
|
||||
"no-unsafe-negation": ["error"],
|
||||
"no-duplicate-imports": ["error"],
|
||||
"valid-typeof": ["error"],
|
||||
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": false, "caughtErrors": "all", "caughtErrorsIgnorePattern": "^_" }],
|
||||
"curly": ["error", "all"],
|
||||
"prefer-const": ["error", {
|
||||
"destructuring": "all",
|
||||
"ignoreReadBeforeAssign": true
|
||||
}]
|
||||
},
|
||||
"globals": {
|
||||
"owl": "readonly",
|
||||
"odoo": "readonly",
|
||||
"$": "readonly",
|
||||
"jQuery": "readonly",
|
||||
"_": "readonly",
|
||||
"Chart": "readonly",
|
||||
"fuzzy": "readonly",
|
||||
"QWeb2": "readonly",
|
||||
"Popover": "readonly",
|
||||
"StackTrace": "readonly",
|
||||
"QUnit": "readonly",
|
||||
"luxon": "readonly",
|
||||
"moment": "readonly",
|
||||
"py": "readonly",
|
||||
"FullCalendar": "readonly",
|
||||
"ClipboardJS": "readonly",
|
||||
"globalThis": "readonly"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue