diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 359b109..eb99110 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,3 +23,9 @@ repos: - prettier - prettier-plugin-svelte - svelte + + - repo: https://github.com/codespell-project/codespell + rev: v2.1.0 + hooks: + - id: codespell + exclude: yarn.lock diff --git a/readme.md b/readme.md index cb6e757..fef861f 100644 --- a/readme.md +++ b/readme.md @@ -77,12 +77,12 @@ Full list of props/bindable variables for this component: | name | default | description | | :---------------- | :---------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `options` | [required] | Array of strings (or numbers) that will be listed in the dropdown selection. | +| `options` | [required] | Array of strings that will be listed in the dropdown selection. | | `maxSelect` | `null` | `null` or positive integer to allow users to select as many as they like or a maximum number of options, respectively. | | `selected` | `[]` (or `''` if `maxSelect === 1`) | Array of currently/pre-selected options when binding/passing as props respectively. | | `readonly` | `false` | Disables the input. User won't be able to interact with it. | | `placeholder` | `''` | String shown when no option is selected. | -| `disabledOptions` | `[]` | Array of strings (or numbers) that will be disabled in the dropdown selection. | +| `disabledOptions` | `[]` | Array of strings that will be disabled in the dropdown selection. | | `required` | `false` | Prevents submission in an HTML form when true. | | `input` | `undefined` | Handle to the DOM node storing the currently selected options in JSON format as its `value` attribute. | | `name` | `''` | Used as `name` reference for associating HTML form `