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",