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