From a28f16ce8065d7e27921059c54d53425e4ce1271 Mon Sep 17 00:00:00 2001 From: Sergey Linev Date: Mon, 9 Sep 2024 13:50:25 +0200 Subject: [PATCH] Fix migration to @stylistic/js --- eslint.config.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 32fa811da..4ef2a82b5 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -11,17 +11,17 @@ export default [ }, ignores: ["modules/base/zstd.mjs", "modules/base/lzma.mjs", "modules/d3.mjs", "modules/svg2pdf.mjs", "modules/jspdf.mjs", "modules/three.mjs", "modules/three_addons.mjs", "modules/gui/lil-gui.mjs", "modules/r162/**"], rules: { - semi: "warn", - quotes: ["warn", "single"], - indent: "off", - camelcase: "off", - "prefer-const": "warn", - eqeqeq: "warn", - curly: ["warn", "multi-or-nest"], - "one-var": ["warn", "consecutive"], - "no-new-func": "off", + camelcase: 'off', + 'prefer-const': 'warn', + eqeqeq: 'warn', + curly: ['warn', 'multi-or-nest'], + 'one-var': ['warn', 'consecutive'], + 'no-new-func': 'off', - // deprecated, no idea how to replace + // moved to @stylistic/js + '@stylistic/js/semi': 'warn', + '@stylistic/js/quotes': ['warn', 'single'], + '@stylistic/js/indent': 'off', '@stylistic/js/array-bracket-spacing': 'warn', '@stylistic/js/comma-spacing': 'warn', '@stylistic/js/keyword-spacing': 'warn',