From 39baadf3507ec33529344e7191984ae30b22a5e0 Mon Sep 17 00:00:00 2001 From: drill-lancer Date: Thu, 28 Sep 2023 16:27:00 +0900 Subject: [PATCH] lint --- .eslintrc.js | 1 + .node-version | 2 +- languages/vk-blocks-pro.pot | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 70f1ba5b2..6d4a73569 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -7,5 +7,6 @@ module.exports = { camelcase: 'off', '@wordpress/no-unsafe-wp-apis': 'off', '@wordpress/i18n-translator-comments': 'off', + 'react-hooks/exhaustive-deps': 'off', }, }; diff --git a/.node-version b/.node-version index 285152276..02c8b485e 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -14.20.1 +18.18.0 diff --git a/languages/vk-blocks-pro.pot b/languages/vk-blocks-pro.pot index a827e486d..fef4359d4 100644 --- a/languages/vk-blocks-pro.pot +++ b/languages/vk-blocks-pro.pot @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-09-28T07:17:25+00:00\n" +"POT-Creation-Date: 2023-09-28T07:21:44+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.8.1\n" "X-Domain: vk-blocks-pro\n" diff --git a/package.json b/package.json index 68c19a48e..18e5ad6a9 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "stop": "wp-env stop", "destroy": "wp-env destroy", "watch": "npm run build && concurrently \"wp-scripts start\" \"npx gulp watch\"", - "update": "npx ncu -u -x '@wordpress/env sass react react-dom' && rimraf node_modules/ package-lock.json && npm install && npm run build", + "update": "ncu -u -x '@wordpress/env sass react react-dom' && rimraf node_modules/ package-lock.json && npm install && npm run build", "dist": "npm run build && composer install --no-dev && gulp dist && composer install", "prebuild": "rimraf ./inc/vk-blocks/build/*", "build:dev": "composer install && gulp text-domain-pro && wp-scripts build --webpack-copy-php --config webpack.config.js --progress --mode=development && gulp build:dev:pro",