mirror of https://gitee.com/topiam/eiam
⚡ 优化 eslint 配置
parent
6b83fd5b95
commit
27b6c66bd3
|
@ -16,7 +16,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: [require.resolve('@umijs/lint/dist/config/eslint')],
|
extends: [require.resolve('@umijs/max/eslint')],
|
||||||
globals: {
|
globals: {
|
||||||
page: true,
|
page: true,
|
||||||
REACT_APP_ENV: true,
|
REACT_APP_ENV: true,
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: [require.resolve('@umijs/lint/dist/config/eslint')],
|
extends: [require.resolve('@umijs/max/eslint')],
|
||||||
globals: {
|
globals: {
|
||||||
page: true,
|
page: true,
|
||||||
REACT_APP_ENV: true,
|
REACT_APP_ENV: true,
|
||||||
|
|
Loading…
Reference in New Issue