mirror of
https://github.com/vercel/flags.git
synced 2026-09-19 03:49:23 +08:00
a5bfb13c43
* wip * adapt nav * store management * ssr cart * clean up * fix stableId issue * allow image sorting * toast on ProceedToCheckoutButton * move actions, extract components * Add PPR to Cart (#85) * toast on Shop now * allow delay * loading spinner * wip * fix animations * show cart count * Extend shirt-shop demo with dynamic flag usage (#86) * better metadata * wip * move cart to api * wip * respect free shipping * add example banner * init shadcn * reorg * remove relative paths from components * do not link footer * wip * remove shadcn setup * api-server » shirt-shop-api * /api/:cartId » /api/cart/:cartId * add delayFlag desc * fix cart count * remove quantity * fine tune animation * shrink * list envs, fix Link * change flag names * set cart-id from middleware * append headers * allow cloning * add BACKEND_URL fallback
17 lines
393 B
JavaScript
17 lines
393 B
JavaScript
import { dirname } from 'path';
|
|
import { fileURLToPath } from 'url';
|
|
import { FlatCompat } from '@eslint/eslintrc';
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = dirname(__filename);
|
|
|
|
const compat = new FlatCompat({
|
|
baseDirectory: __dirname,
|
|
});
|
|
|
|
const eslintConfig = [
|
|
...compat.extends('next/core-web-vitals', 'next/typescript'),
|
|
];
|
|
|
|
export default eslintConfig;
|