优化 eslint 配置

pull/37/head
smallbun 2023-08-26 10:31:06 +08:00
parent 6b83fd5b95
commit 27b6c66bd3
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
module.exports = {
extends: [require.resolve('@umijs/lint/dist/config/eslint')],
extends: [require.resolve('@umijs/max/eslint')],
globals: {
page: true,
REACT_APP_ENV: true,

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
module.exports = {
extends: [require.resolve('@umijs/lint/dist/config/eslint')],
extends: [require.resolve('@umijs/max/eslint')],
globals: {
page: true,
REACT_APP_ENV: true,