How to use the @sumup/foundry/eslint.overwritePresets function in @sumup/foundry

To help you get started, we’ve selected a few @sumup/foundry examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github connor-baer / rich-text-to-jsx / .eslintrc.js View on Github external
const {
  react: baseConfig,
  overwritePresets
} = require('@sumup/foundry/eslint');

const customConfig = {
  rules: {
    'notice/notice': 'off'
  }
};

module.exports = overwritePresets(baseConfig, customConfig);
github sumup-oss / circuit-ui / .eslintrc.js View on Github external
render: true,
        renderToHtml: true,
        axe: true,
        act: true,
        fireEvent: true,
        userEvent: true,
        wait: true
      },
      env: {
        'jest/globals': true
      }
    }
  ]
};

module.exports = overwritePresets(baseConfig, customConfig);

@sumup/foundry

A toolkit for JavaScript + TypeScript applications by SumUp.

Apache-2.0
Latest version published 6 months ago

Package Health Score

66 / 100
Full package analysis

Similar packages