title: How to disable prettier errors in reactjs project and also no-unsued-vars error
body: <p>I keep getting these errors when i am trying to run a reactjs project</p>
  <pre><code>prettier/prettier
    Line 23:39:  Replace `'react-toastify'` with `&quot;react-toastify&quot;`                                                                                                                                                                                                                                                                                                          prettier/prettier
    Line 29:59:  Delete `⏎`                                                                                                                                                                                                                                                                                                                                                  prettier/prettier
  </code></pre>
  <p>And following is my <code>.eslintrc.js</code></p>
  <pre><code>module.exports = {
    parser: &quot;babel-eslint&quot;,
    env: {
      es6: true,
      node: true,
      browser: true,
    },
    parserOptions: {
      ecmaVersion: 6,
      sourceType: &quot;module&quot;,
      ecmaFeatures: {
        jsx: true,
      },
    },
    plugins: [&quot;react&quot;],
    extends: [
      &quot;eslint:recommended&quot;,
      &quot;plugin:react/recommended&quot;,
      &quot;plugin:prettier/recommended&quot;,
    ]
  };
  
  </code></pre>
  <p>and following is the package.json</p>
  <pre><code>{
    &quot;name&quot;: &quot;material-dashboard-react&quot;,
    &quot;version&quot;: &quot;1.10.0&quot;,
    &quot;description&quot;: &quot;Material Dashboard React. Coded by Creative Tim&quot;,
    &quot;private&quot;: false,
    &quot;main&quot;: &quot;dist/index.js&quot;,
    &quot;dependencies&quot;: {
      &quot;@material-ui/core&quot;: &quot;4.11.4&quot;,
      &quot;@material-ui/icons&quot;: &quot;4.11.2&quot;,
      &quot;axios&quot;: &quot;^0.21.1&quot;,
      &quot;chartist&quot;: &quot;0.10.1&quot;,
      &quot;classnames&quot;: &quot;2.3.1&quot;,
      &quot;history&quot;: &quot;5.0.0&quot;,
      &quot;perfect-scrollbar&quot;: &quot;1.5.1&quot;,
      &quot;prop-types&quot;: &quot;15.7.2&quot;,
      &quot;react&quot;: &quot;17.0.2&quot;,
      &quot;react-chartist&quot;: &quot;0.14.4&quot;,
      &quot;react-dom&quot;: &quot;17.0.2&quot;,
      &quot;react-router-dom&quot;: &quot;5.2.0&quot;,
      &quot;react-scripts&quot;: &quot;4.0.3&quot;,
      &quot;react-swipeable-views&quot;: &quot;0.14.0&quot;,
      &quot;react-toastify&quot;: &quot;^7.0.4&quot;
    },
    &quot;scripts&quot;: {
      &quot;start&quot;: &quot;react-scripts start&quot;,
      &quot;build&quot;: &quot;react-scripts build&quot;,
      &quot;test&quot;: &quot;react-scripts test --env=jsdom&quot;,
      &quot;eject&quot;: &quot;react-scripts eject&quot;,
      &quot;install:clean&quot;: &quot;rm -rf node_modules/ &amp;&amp; rm -rf package-lock.json &amp;&amp; npm install &amp;&amp; npm start&quot;,
      &quot;lint:check&quot;: &quot;eslint . --ext=js,jsx;  exit 0&quot;,
      &quot;lint:fix&quot;: &quot;eslint . --ext=js,jsx --fix;  exit 0&quot;,
      &quot;build-package-css&quot;: &quot;cp src/assets/css/material-dashboard-react.css dist/material-dashboard-react.css&quot;,
      &quot;build-package&quot;: &quot;npm run build-package-css &amp;&amp; babel src --out-dir dist&quot;
    },
    &quot;repository&quot;: {
      &quot;type&quot;: &quot;git&quot;,
      &quot;url&quot;: &quot;git+https://github.com/creativetimofficial/material-dashboard-react.git&quot;
    },
    &quot;keywords&quot;: [],
    &quot;author&quot;: &quot;Creative Tim &lt;hello@creative-tim.com&gt; (https://www.creative-tim.com/)&quot;,
    &quot;license&quot;: &quot;MIT&quot;,
    &quot;bugs&quot;: {
      &quot;url&quot;: &quot;https://github.com/creativetimofficial/material-dashboard-react/issues&quot;
    },
    &quot;homepage&quot;: &quot;https://creativetimofficial.github.io/material-dashboard-react/#/dashboard&quot;,
    &quot;optionalDependencies&quot;: {
      &quot;@babel/core&quot;: &quot;7.14.0&quot;,
      &quot;typescript&quot;: &quot;4.2.4&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;eslint-config-prettier&quot;: &quot;8.3.0&quot;,
      &quot;eslint-plugin-prettier&quot;: &quot;3.4.0&quot;,
      &quot;gulp&quot;: &quot;4.0.2&quot;,
      &quot;gulp-append-prepend&quot;: &quot;1.0.9&quot;,
      &quot;prettier&quot;: &quot;2.2.1&quot;
    },
    &quot;browserslist&quot;: {
      &quot;production&quot;: [
        &quot;&gt;0.2%&quot;,
        &quot;not dead&quot;,
        &quot;not op_mini all&quot;
      ],
      &quot;development&quot;: []
    }
  }
  
  </code></pre>