
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
adastra-prettier-config
Advanced tools
Adastra ✨ has an opinionated shared [Prettier](https://prettier.io/) config that you can use when building Shopify Liquid themes and Tailwind.
Adastra ✨ has an opinionated shared Prettier config that you can use when building Shopify Liquid themes and Tailwind.
Run the following command to install Prettier and the Adastra Prettier config:
npm install -D prettier adastra-prettier-config
Using Yarn/PNPM
yarn add --dev prettier adastra-prettier-config
# pnpm add -D prettier adastra-prettier-config
Adastra's shared prettier config comes bundled in adastra-prettier-config
. To enable these rules, add a Prettier property in your package.json
and reference this shared config as follows:
"prettier": "adastra-prettier-config"
Previously, rules had been defined directly in a .prettierrc
or package.json
.
Any previous .prettierrc
or prettier.config.js
should be removed in favour of the shared config.
Sometimes when using pnpm
the config deosn't work because the package manager deosn't read the configuration, to fix the issue, rather than adding your plugin in package.json
, create a prettier.config.js
file with this configuration:
module.exports = {
...require('adastra-prettier-config')
}
You might wanna ignore some few files that are either autgenrarted or minified on build by creating a .prettierignore
on the root folder of your Adastra Shopify theme.
assets
adastra.liquid
node_modules
Feel free to check our documentation or jump into our Discord server.
FAQs
Adastra ✨ has an opinionated shared [Prettier](https://prettier.io/) config that you can use when building Shopify Liquid themes and Tailwind.
The npm package adastra-prettier-config receives a total of 482 weekly downloads. As such, adastra-prettier-config popularity was classified as not popular.
We found that adastra-prettier-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.