diff --git a/.eslintrc b/.eslintrc index 73cd4ae56..ddda4685d 100644 --- a/.eslintrc +++ b/.eslintrc @@ -39,6 +39,7 @@ "@typescript-eslint/no-empty-function": "off", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-inferrable-types": "error", "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_", "destructuredArrayIgnorePattern": "^_" }], "@typescript-eslint/quotes": ["error", "single", { "allowTemplateLiterals": true }], "@typescript-eslint/semi": "error", diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100644 index 000000000..3867a0feb --- /dev/null +++ b/.husky/pre-push @@ -0,0 +1 @@ +npm run lint diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 000000000..fa29cdfff --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +** \ No newline at end of file diff --git a/examples/vite-demo-vanilla-bundle/src/examples/example19.html b/examples/vite-demo-vanilla-bundle/src/examples/example19.html index 95581f7d2..759f9ac72 100644 --- a/examples/vite-demo-vanilla-bundle/src/examples/example19.html +++ b/examples/vite-demo-vanilla-bundle/src/examples/example19.html @@ -18,8 +18,10 @@

- Grid - using enableExcelCopyBuffer which uses SlickCellSelectionModel
- The complete first row and the cells C - E of the second row are not allowing to paste values. +

Grid - using enableExcelCopyBuffer which uses SlickCellSelectionModel

+

The complete first row and the cells C - E of the second row are not allowing to paste values.

+

Additionally the columns are configured to exportWithFormatter and a custom formatter that renders the cells coordinates or value if available. + When selecting one or more cells and pressing CTRL + C, the ExcelCopyBuffer will be filled with the formatter outputs of the selected cells.