.eslintrc

    0

    0

    This code relies on the eslint-recommended and prettier plugins. The eslint:recommended plugin enables some recommended rules, while the prettier plugin prettifies the code.

    // eslint-disable-next-line no-undef
    module.exports = {
      env: {
        browser: true,
        es2021: true,
      },
      extends: [
        'eslint:recommended',
        'plugin:react/recommended',
        'plugin:prettier/recommended',
      ],
      plugins: ['prettier'],
      parserOptions: {
        ecmaVersion: 12,
        sourceType: 'module',
      },
      rules: {
        'no-undef': 'off',
        'prettier/prettier': 'error',
        'react/prop-types': 0,
        'react/no-unescaped-entities': 0,
      },
    }
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.