Skip to content

@sumup-oss/eslint-plugin-circuit-ui@5.0.0

Compare
Choose a tag to compare
@connor-baer connor-baer released this 30 Oct 16:26
· 42 commits to main since this release
6772c78

Major Changes

  • #2707 f8016eb Thanks @sirineJ! - Raised the minimum Node.js version to 20+.

  • #2648 f583d05 Thanks @connor-baer! - Renamed the package scope from @sumup to @sumup-oss. Replace @sumup/eslint-plugin-circuit-ui with @sumup-oss/eslint-plugin-circuit-ui in your package.json file, then update the plugin and rule names in your ESLint config:

    // .eslintrc.js
    
    module.exports = {
    -  plugins: ['@sumup/circuit-ui'],
    +  plugins: ['@sumup-oss/circuit-ui'],
      rules: {
    -    '@sumup/circuit-ui/component-lifecycle-imports': 'error',
    +    '@sumup-oss/circuit-ui/component-lifecycle-imports': 'error',
      },
    };

Minor Changes

  • #2653 33435cf Thanks @connor-baer! - Added a migration for the Display (formerly Title), Headline and Body components' size prop to the circuit-ui/no-renamed-props rule.

  • #2653 33435cf Thanks @connor-baer! - Added circuit-ui/no-deprecated-custom-properties rule to flag uses of deprecated custom properties.

  • #2713 00727aa Thanks @sirineJ! - Updated the component-lifecycle-imports ESLint rule to flag imports of the now stable Calendar, ColorInput, PhoneNumberInput, Tooltip and Toggletip components from @sumup-oss/circuit-ui/experimental.

  • #2648 f583d05 Thanks @connor-baer! - Added circuit-ui/renamed-package-scope rule to update imports for design system packages that have moved from the @sumup to the @sumup-oss scope.