🔨(project) add json, cjs and js extensions to prettier config

Prettier had some missing extensions in the config, this commit
added them, we then prettified the whole project. We
ignore the `cunningham-tokens` files.
This commit is contained in:
Anthony Le Courric
2023-08-11 15:54:51 +02:00
committed by Jean-Baptiste PENRATH
parent b46aaa66ed
commit 6ea8544fed
19 changed files with 60 additions and 97 deletions

View File

@@ -1,16 +1,15 @@
import { addons } from '@storybook/manager-api';
import { create } from '@storybook/theming';
import { defaultTokens } from '@openfun/cunningham-tokens';
import { addons } from "@storybook/manager-api";
import { create } from "@storybook/theming";
import { defaultTokens } from "@openfun/cunningham-tokens";
const COLORS = defaultTokens.theme.colors;
const theme = create({
base: 'light',
brandUrl: 'https://github.com/openfun/cunningham',
brandImage: 'logo-cunningham.svg',
brandTitle: 'Cunningham',
brandTarget: '_self',
base: "light",
brandUrl: "https://github.com/openfun/cunningham",
brandImage: "logo-cunningham.svg",
brandTitle: "Cunningham",
brandTarget: "_self",
//
colorPrimary: COLORS["primary-400"],