如何关闭eslint?

时间:2019-03-18 08:33:46

标签: reactjs eslint prettier

我继承了create-react-app,无法弄清楚eslint的设置方式,因此我可以(暂时)将其关闭。当我运行应用程序时,出现此错误:

./src/redux/store.js
      Line 22:  Replace `⏎··rootReducer,⏎··defaultState,⏎··applyMiddleware(...middlewares)⏎` with `rootReducer,·defaultState,·applyMiddleware(...middlewares)`  prettier/prettier

Search for the keywords to learn more about each error.

也没有运行vscode扩展。如何关闭eslint / prettier?

0 个答案:

没有答案