web-configs icon indicating copy to clipboard operation
web-configs copied to clipboard

Common configurations for building web apps at Shopify

Results 32 web-configs issues
Sort by recently updated
recently updated
newest added

## Description There's a ton of unnecessary layout shifts that happen in the admin and other frontend apps across the org, a lot of which happen in bursts (when one...

## Overview I'd like to enforce [`@typescript-eslint/no-use-before-define`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-use-before-define.md) in our projects and before extending the config on our side, I was wondering why it was turned off by default and if...

Package: eslint-plugin
feature request

## Overview I wish to ban the code as exactly specified in the [jsx-prefer-fragment-wrappers](https://github.com/Shopify/web-configs/blob/HEAD/packages/eslint-plugin/docs/rules/jsx-prefer-fragment-wrappers.md) docs page. So I added the rule to my eslintrc, which I was happy to see...

## Overview When extracting the `if` condition into a variable, the rule is suddenly satisfied. Not sure if it's a bug or not, but this feel like it could be...

I'm getting two warnings on all my js files when I am using plugin "@shopify/polaris" ``` Definition for rule '@shopify/polaris-prefer-sectioned-prop' was not found. eslint(@shopify/polaris-prefer-sectioned-prop) Definition for rule '@shopify/polaris-no-bare-stack-item' was not...

## Motivation Having index file while convenient, leads to performance issue in test and build, especially in a ESM world. We should stop using component index all together and write...

enhancement

## Motivation The pattern come from these two issues: https://github.com/Shopify/quilt/pull/1813 https://github.com/facebook/react/pull/18545 **TL;DR** React core team is in discussion on adding warming for this and we can stop the bleeding earlier...

Package: eslint-plugin

This adds support for customizing the [`assumptions` configuration](https://babeljs.io/docs/en/assumptions) passed to `@babel/preset-env`, which is a granular replacement for Babel's previous "loose mode" functionality. I've also included a set of default assumptions,...

### Background Stop copy pasting GitHub action code and use a centralised action published by Shopify. ### Solution - This action is running in `shopify/polaris` see the test PR here:...

## Overview ``` ❯ npm i npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @typescript-eslint/[email protected] npm ERR! node_modules/@typescript-eslint/eslint-plugin...