Olá galera!
Estou tendo problemas quando vou buildar o meu projeto:
webinar-frontend@ build /opt/atlassian/pipelines/agent/build/app
NODE_OPTIONS="--max-old-space-size=8128" craco build
craco: *** Cannot find ESLint loader (eslint-loader).
Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
github.com/browserslist/browserslist#browsers-data-updating
@babel/polyfill` is deprecated. Please, use required parts of `core-js
and `regenerator-runtime/runtime` separately
Failed to compile.
Failed to load config "standard" to extend from.
Referenced from: /opt/atlassian/pipelines/agent/build/app/.eslintrc.json
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! webinar-frontend@ build: `NODE_OPTIONS="--max-old-space-size=8128" craco build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the webinar-frontend@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-10-04T20_22_12_651Z-debug.log
Isso começou a acontecer logo depois que eu adicionei ESLint, meu .eslintrc.json está assim:
{
"env": {
"browser": true,
"es2020": true,
"node": true,
"jest": true
},
"extends": [
"plugin:react/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"space-before-function-paren": "off",
"no-use-before-define": "off",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off"
},
"root": true
}