Skip to content

Latest commit

 

History

History
137 lines (75 loc) · 13 KB

File metadata and controls

137 lines (75 loc) · 13 KB

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

5.1.1

Patch Changes

5.1.0

Minor Changes

  • #2755 93f12f2 Thanks @sirineJ! - Added a fixer method to the no-deprecated-custom-properties ESlint rule.

5.0.0

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.

4.1.0

Minor Changes

  • #2358 947340b6 Thanks @connor-baer! - Deprecated the ProgressBar's variant prop. The ProgressBar will always be black in the future.

4.0.0

Minor Changes

  • #2307 a51de39c Thanks @connor-baer! - Added a migration for the IconButton's icon and label props to the circuit-ui/no-renamed-props rule.

  • #2311 39466c05 Thanks @connor-baer! - Added migrations for the Avatar, Button, CloseButton, Hamburger, IconButton, ProgressBar, Selector and Spinner size values to the circuit-ui/no-renamed-props rule.

Patch Changes

3.1.0

Minor Changes

  • #2236 3fc4ef44 Thanks @connor-baer! - Re-exported the RadioButton and Selector components as legacy components. They will be removed again in the next major release.

3.0.0

Major Changes

  • #2164 e1db8492 Thanks @connor-baer! - Added circuit-ui/component-lifecycle-imports rule to update component imports when they move to a different lifecycle stage.

Minor Changes

  • #2158 415c73dd Thanks @connor-baer! - Added circuit-ui/prefer-custom-properties rule to replace the Emotion.js theme with CSS custom properties.

Patch Changes

2.1.0

Minor Changes

  • #2175 8292173e Thanks @connor-baer! - Added support for flagging and fixing setToast calls to the circuit-ui/no-renamed-props rule.

2.0.1

Patch Changes

2.0.0

Major Changes

Minor Changes

  • #2171 1afb4ad9 Thanks @connor-baer! - Added circuit-ui/no-deprecated-props rule to warn when using deprecated component props.

  • #2171 1afb4ad9 Thanks @connor-baer! - Added circuit-ui/no-renamed-props rule to update renamed component prop names and values.

  • #2171 1afb4ad9 Thanks @connor-baer! - Added circuit-ui/no-deprecated-components rule to warn when using deprecated components.

1.0.0

Major Changes

0.1.0

Minor Changes

  • #2040 fc006c27 Thanks @connor-baer! - Imported the valid custom properties from @sumup/design-tokens which is now a required peer dependency.

0.0.2

Patch Changes

0.0.1

Patch Changes