From 535c9acff036437f2b50043f3babb808b5e461fb Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Wed, 17 Jul 2024 07:40:00 -0600 Subject: [PATCH] Revert to .eslintrc.js Converting to eslint.config.js is desired but is more than just renaming the file --- eslint.config.js => .eslintrc.js | 8 +------- package.json | 4 ++-- 2 files changed, 3 insertions(+), 9 deletions(-) rename eslint.config.js => .eslintrc.js (97%) diff --git a/eslint.config.js b/.eslintrc.js similarity index 97% rename from eslint.config.js rename to .eslintrc.js index 7515532ee0..801918ca30 100644 --- a/eslint.config.js +++ b/.eslintrc.js @@ -1,11 +1,5 @@ module.exports = { - ignorePatterns: [ - 'node_modules', - 'dist', - 'i18n', - 'typings_manual', - '.github', - ], + ignorePatterns: ["node_modules", "dist", "i18n", "typings_manual", ".github"], env: { browser: true, es6: true, diff --git a/package.json b/package.json index 08e25f7f3f..04783c451f 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "prettier:check": "prettier --check \"src/**/*.{ts,tsx}\"", "webpack": "webpack", "webpack-watch": "webpack --watch --progress --color", - "lint": "eslint src/ --ext=.ts,.tsx -c eslint.config.js", - "lint:fix": "eslint --fix src/ --ext=.ts,.tsx -c eslint.config.js", + "lint": "eslint src/ --ext=.ts,.tsx -c .eslintrc.js", + "lint:fix": "eslint --fix src/ --ext=.ts,.tsx -c .eslintrc.js", "test": "jest", "fresh-test": "clear && jest", "gulp": "gulp",