Skip to content

Commit a109962

Browse files
authored
Merge branch 'v1/contrib' into feature/input-mode
2 parents ccdc082 + 7546df6 commit a109962

File tree

65 files changed

+3491
-3965
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+3491
-3965
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.9
1+
22

.storybook/main.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { StorybookConfig } from '@storybook/web-components-vite';
2-
import { html } from 'lit';
32
import { join, dirname } from 'path';
43

54
/**
@@ -16,17 +15,24 @@ const config: StorybookConfig = {
1615
'../packages/**/*.story.@(js|jsx|mjs|ts|tsx)',
1716
'../stories/**/*.story.@(js|jsx|mjs|ts|tsx)',
1817
],
18+
1919
staticDirs: ['./images'],
20+
2021
addons: [
2122
getAbsolutePath('@storybook/addon-links'),
2223
getAbsolutePath('@storybook/addon-essentials'),
2324
getAbsolutePath('@chromatic-com/storybook'),
2425
getAbsolutePath('@storybook/addon-a11y'),
2526
'../storyhelpers/storybook-readme',
2627
],
28+
2729
framework: {
2830
name: getAbsolutePath('@storybook/web-components-vite'),
2931
options: {},
3032
},
33+
34+
docs: {
35+
autodocs: true,
36+
},
3137
};
3238
export default config;

chromatic.config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"onlyChanged": true,
33
"projectId": "Project:62189360eeb21b003ab2f4ad",
4-
"zip": true
4+
"zip": true,
5+
"buildScriptName": "storybook:build"
56
}

eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export default [
3131
'vite.config.ts',
3232
'stories/',
3333
'**/.storybook/**',
34+
'**/*.test.ts',
3435
],
3536
},
3637

@@ -50,10 +51,12 @@ export default [
5051
semi: ['warn', 'always'],
5152
'no-unused-vars': 'off', //Let '@typescript-eslint/no-unused-vars' catch the errors to allow unused function parameters (ex: in interfaces)
5253
'no-var': 'error',
54+
'@typescript-eslint/no-unsafe-function-type': 'warn',
5355
'@typescript-eslint/explicit-module-boundary-types': 'off',
5456
'@typescript-eslint/no-non-null-assertion': 'off',
5557
'@typescript-eslint/no-explicit-any': 'off',
5658
'@typescript-eslint/no-inferrable-types': 'off',
59+
'@typescript-eslint/no-empty-object-type': 'off',
5760
'@typescript-eslint/ban-ts-comment': 'off', //TODO: Remove (maybe)
5861
'@typescript-eslint/ban-types': 'off', //TODO: Remove (maybe)
5962
'lit/no-useless-template-literals': 'error',

0 commit comments

Comments
 (0)