This package provides an opinionated ESLint configuration for Quasar.work's Gear ⚙️ projects.
Learn more about ESLint configuration.
Learn more about Typescript ESLint configuration.
yarn add -D eslint typescript typescript-eslint @quasarwork/eslint-config-gear
Add the following to your estlint.config.mjs
file:
import eslintConfigGearServer from "@quasarwork/eslint-config-gear/eslint.config.server.mjs";
import tseslint from "typescript-eslint";
const config = tseslint.config(...eslintConfigGearServer);
export default config;
Some rules have been disabled because of some conflicts with Gadget and Effect features.
See source code for more details.
This configuration is the base configuration for all Quasar.work's Gear ⚙️ projects.
In a Gear Shopify app, this will be the configuration used in the eslint.config.mjs
file at the root of the project.
This configuration extends the base.mjs
configuration and adds some features related to a client side usage.
In a Gear Shopify app, this configuration will be used in the eslint.config.mjs
file at the root of your /web
directory (client side).
This configuration extends the base.mjs
configuration and adds some features related to a client side usage.
In a Gear Shopify app, this configuration will be used in the eslint.config.mjs
file at the root of your /extensions
directory (client side).