Common configurations for building web apps at Shopify
MIT License
Bot releases are visible (Hide)
Published by shopify-github-actions-access[bot] 11 months ago
Published by shopify-github-actions-access[bot] about 1 year ago
Published by shopify-github-actions-access[bot] about 1 year ago
#397 3895e25
Thanks @m4thieulavoie! - Upgrade eslint plugins to support prettier 3.x
. Drop support for prettier 2.x
.
#399 b602765
Thanks @m4thieulavoie! - upgrade @typescript-eslint and eslint plugins and drop support for node 14
Published by shopify-github-actions-access[bot] over 1 year ago
Published by shopify-github-actions-access[bot] over 1 year ago
Published by shopify-github-actions-access[bot] over 1 year ago
#364 2283dfe
Thanks @alexandcote! - Updating our stylelint rules to support stylelint@^15
declaration-property-value-no-unknown
rule.stylelint
>= 15#364 2283dfe
Thanks @alexandcote! - Updating stylelint-scss
to version ^4.4.0
.
This version support new rules:
#364 2283dfe
Thanks @alexandcote! - Update postcss
to version ^8.4.21
#364 2283dfe
Thanks @alexandcote! - Updating stylelint-prettier to ^3.0.0
#364 2283dfe
Thanks @alexandcote! - Update stylelint-order
to version ^6.0.0
#366 33f12e4
Thanks @BPScott! - Remove a layer of indirection by specifying rules in index.js
instead of having that import content from config/*.js
Published by shopify-github-actions-access[bot] almost 2 years ago
0b52b9e
Thanks @marvinhagemeister! - Speedup polaris linting rules by about 12% via caching already resolved files.Published by shopify-github-actions-access[bot] almost 2 years ago
7fbbceb
Thanks @developit! - Allow customizing Babel assumptions, and adopt some reasonably loose defaults rather than the normal strict defaults. This shall result in smaller transpiled files, at the expense of not following specs exactly when encountering edge cases.Published by shopify-github-actions-access[bot] almost 2 years ago
06e1245
Thanks @marvinhagemeister! - Update the eslint-plugin-import
to the latest version which contains significant performance improvements for module resolution.Published by github-actions[bot] over 2 years ago
8cbfc69
Thanks @BPScott! - Update eslint-plugin-prettier
to v4.1.0
, to automatically skip trying to run prettier over graphql files. Remove the explicit override for disabling prettier in graphql files, as it will cause eslint's "work out what extensions need linting" logic to try to parse graphql files. Add {overrides: {files: ['*.graphql', '*.gql'], rules: {'prettier/prettier': 'off'}}}
to your eslint config if want to disable running the prettier rule over graphql files entirely.Published by github-actions[bot] over 2 years ago
af6fccc
Thanks @BPScott! - Remove the @shopify/eslint-plugin/graphql
config and the dependency on eslint-plugin-graphql
as it is outdated and unsupported. If you used the graphql config then you should migrate to @graphql-eslint/eslint-plugin
. We no longer provide recommended graphql config as it has a large install footprint and we do not want to push that onto consumers that do not use graphql.Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by vsumner over 3 years ago
This release contains a new experimental common preset @shopify/babel-preset/common
. [#231]
The @shopify/babel-preset/common
preset is designed to be a common import that offers more options. It is a combination of the web
, node
, and react
presets all in one.
{
"babel": {
"presets": [
["@shopify/babel-preset/common", {"typescript": true, "react": true, "transformRuntime": true}]
]
}
}
Note: The common
preset will replace the web
, node
, and react
presets in the next major release.