mirror of https://github.com/OCA/web.git
commit
67283758d3
|
@ -1,5 +1,5 @@
|
|||
# Do NOT update manually; changes here will be overwritten by Copier
|
||||
_commit: v1.29
|
||||
_commit: v1.30
|
||||
_src_path: git+https://github.com/OCA/oca-addons-repo-template
|
||||
additional_ruff_rules: []
|
||||
ci: GitHub
|
||||
|
|
|
@ -95,6 +95,7 @@ repos:
|
|||
additional_dependencies:
|
||||
- "eslint@9.12.0"
|
||||
- "eslint-plugin-jsdoc@50.3.1"
|
||||
- "globals@16.0.0"
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.6.0
|
||||
hooks:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
var globals = require('globals');
|
||||
jsdoc = require("eslint-plugin-jsdoc");
|
||||
|
||||
const config = [{
|
||||
|
@ -16,6 +17,7 @@ const config = [{
|
|||
openerp: "readonly",
|
||||
owl: "readonly",
|
||||
luxon: "readonly",
|
||||
...globals.browser,
|
||||
},
|
||||
|
||||
ecmaVersion: 2024,
|
||||
|
|
|
@ -2,8 +2,6 @@ import {Component, xml} from "@odoo/owl";
|
|||
import {useBus, useService} from "@web/core/utils/hooks";
|
||||
import {registry} from "@web/core/registry";
|
||||
|
||||
const {document} = globalThis;
|
||||
|
||||
export class WebEnvironmentRibbon extends Component {
|
||||
setup() {
|
||||
this.orm = useService("orm");
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* global document */
|
||||
import {markup, onMounted, onPatched, onWillStart, useRef} from "@odoo/owl";
|
||||
import {CharField, charField} from "@web/views/fields/char/char_field";
|
||||
import {loadJS} from "@web/core/assets";
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* global document,console */
|
||||
import {Component, markup, onMounted, onPatched, onWillStart, useRef} from "@odoo/owl";
|
||||
import {loadJS} from "@web/core/assets";
|
||||
import {registry} from "@web/core/registry";
|
||||
|
|
Loading…
Reference in New Issue