mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-20 00:32:03 +02:00
vanilla 17.0
This commit is contained in:
parent
d72e748793
commit
a9bcec8e91
1986 changed files with 1613876 additions and 568976 deletions
|
|
@ -2,47 +2,66 @@
|
|||
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
|
||||
"parserOptions": {
|
||||
"sourceType": "module",
|
||||
"ecmaVersion": 2019
|
||||
"ecmaVersion": 2022
|
||||
},
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2017": true,
|
||||
"es2022": true,
|
||||
"qunit": true
|
||||
},
|
||||
"rules": {
|
||||
"prettier/prettier": "error",
|
||||
"prettier/prettier": ["error", {
|
||||
"tabWidth": 4,
|
||||
"semi": true,
|
||||
"singleQuote": false,
|
||||
"printWidth": 100,
|
||||
"endOfLine": "auto"
|
||||
}],
|
||||
"no-undef": "error",
|
||||
"no-restricted-globals": ["error", "event", "self"],
|
||||
"no-const-assign": ["error"],
|
||||
"no-debugger": ["error"],
|
||||
"no-dupe-class-members": ["error"],
|
||||
"no-dupe-keys": ["error"],
|
||||
"no-dupe-args": ["error"],
|
||||
"no-dupe-else-if": ["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": "^_" }],
|
||||
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": false, "caughtErrors": "all" }],
|
||||
"curly": ["error", "all"],
|
||||
"no-restricted-syntax": ["error", "PrivateIdentifier"],
|
||||
"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"
|
||||
"globalThis": "readonly",
|
||||
"ScrollSpy": "readonly",
|
||||
"module": "readonly",
|
||||
"chai": "readonly",
|
||||
"describe": "readonly",
|
||||
"it": "readonly",
|
||||
"mocha": "readonly",
|
||||
"DOMPurify": "readonly",
|
||||
|
||||
"Alert": "readonly",
|
||||
"Collapse": "readonly",
|
||||
"Dropdown": "readonly",
|
||||
"Modal": "readonly",
|
||||
"Offcanvas": "readonly",
|
||||
"Popover": "readonly",
|
||||
"Tooltip": "readonly"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue