Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-seek

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-seek - npm Package Versions

1
10

13.0.0

Diff

Changelog

Source

13.0.0

Major Changes

  • Upgrade Typescript Eslint to 7.2.0 to support Typescript 5.4. (#136)

    This bumps the minimum required versions of Node.js to 18.18.0, Eslint to 8.56.0 and Typescript to 4.7.5 due to a breaking change introduced by Typescript Eslint in 7.0.0.

seek-oss-ci
published 0.0.0-pr-136-20240313053421 •

seek-oss-ci
published 12.1.1 •

Changelog

Source

12.1.1

Patch Changes

  • Prevents the new curly-brace-presence rule from affecting children. (#133)

    In the previous version, react/jsx-curly-brace-presence was added to the eslint rules. This was primarily intended to catch unnecessarily using braces around string props.

    - <Stack space={'medium'}>
    + <Stack space="medium">
    

    Because of the configuration we provided, this had the unintended side effect of removing curly braces inside child text that were being used to prevent the unescaped entities rule.

    - <Text>The available props are {'"up"'} and {'"down"'}</Text>
    + <Text>The available props are "up" and "down"</Text>
    // This is now an unescaped entity error
    

    To fix this, the curly brace rule will now ignore children, and only alert on prop values.

seek-oss-ci
published 0.0.0-fix-curly-braces-20231115033054 •

seek-oss-ci
published 12.1.0 •

Changelog

Source

12.1.0

Minor Changes

  • Adds react/jsx-curly-brace-presence as an error. (#130) This removes unnecessary braces around strings in props and children.

    It also enforces braces around expressions in props and children.

    Examples

    // Unecessary braces around string prop
    - <Column width={'content'}>
    + <Column width="content">
    
    // Unecessary braces around string child
    - <Text>{'Hello'}</Text>
    + <Text>Hello</Text>
    
    // Mandatory braces around prop expression
    - <Button icon=<IconSearch />>
    + <Button icon={<IconSearch />}>
    
seek-oss-ci
published 12.0.1 •

Changelog

Source

12.0.1

Patch Changes

  • Fix array-type rule (#128)
seek-oss-ci
published 12.0.0 •

Changelog

Source

12.0.0

Major Changes

  • Bump up typescript-eslint monorepo to ^6.0.0. (#125)

    This requires eslint 7+.

    This change also includes a number of rule changes to the default configuration. Read the release notes for more information.

seek-oss-ci
published 11.3.1 •

Changelog

Source

11.3.1

Patch Changes

  • Add a temporary override until everybody removes the React import (#122)
seek-oss-ci
published 11.3.0 •

Changelog

Source

11.3.0

Minor Changes

Patch Changes

  • Update dependencies (#120)

  • Disable resolving node_modules from the root of the repo. This is problematic for JavaScript-only monorepos (where there are multiple node_modules directories). (#119)

  • Add a workaround for TypeScript-ESLint slowness with TypeScript 5.1 (#117)

seek-oss-ci
published 11.2.1 •

Changelog

Source

11.2.1

Patch Changes

  • Remove autofix for custom unsafe-to-chain-command rule (#115)

    The autofix for this rule didn't exactly adhere to the recommendation in the cypress docs, and would've required additional complexity and user-configuration to do so, so the decision was made to remove it.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc