Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
170a166
Bump jodit from 4.9.6 to 4.9.14
dependabot[bot] Mar 1, 2026
2a97571
Bump tar and lerna
dependabot[bot] Mar 11, 2026
9a77772
Adds support for marking components as internal
valadas Mar 13, 2026
465d8f3
Bump flatted from 3.3.3 to 3.4.2 in /packages/react-library/test-app
dependabot[bot] Mar 21, 2026
d2ad845
Merge pull request #1488 from valadas/internal
david-poindexter Mar 24, 2026
3883979
Merge pull request #1475 from DNNCommunity/dependabot/npm_and_yarn/jo…
valadas Mar 24, 2026
1ce7439
Bump typescript-eslint from 8.56.0 to 8.56.1
dependabot[bot] Mar 24, 2026
f3d6e55
Merge pull request #1480 from DNNCommunity/dependabot/npm_and_yarn/ty…
valadas Mar 24, 2026
45c641e
Bump @babel/preset-env from 7.29.0 to 7.29.2
dependabot[bot] Mar 24, 2026
eaa37aa
Bump babel-loader from 10.0.0 to 10.1.1
dependabot[bot] Mar 24, 2026
be61c02
Merge pull request #1487 from DNNCommunity/dependabot/npm_and_yarn/mu…
valadas Mar 24, 2026
31397f4
Bump @stencil/core from 4.43.2 to 4.43.3
dependabot[bot] Mar 24, 2026
ae2856c
Merge pull request #1490 from DNNCommunity:dependabot/npm_and_yarn/pa…
valadas Mar 24, 2026
d8f416c
Merge pull request #1491 from DNNCommunity:dependabot/npm_and_yarn/ba…
valadas Mar 24, 2026
ecc7d15
Merge pull request #1493 from DNNCommunity:dependabot/npm_and_yarn/ba…
valadas Mar 24, 2026
ddc109e
Bump @vitest/browser from 4.0.18 to 4.1.1
dependabot[bot] Mar 24, 2026
701bf68
Merge pull request #1495 from DNNCommunity/dependabot/npm_and_yarn/st…
valadas Mar 24, 2026
bafa985
Merge pull request #1496 from DNNCommunity/dependabot/npm_and_yarn/vi…
valadas Mar 24, 2026
6d642eb
Bumped storybook to v10.3.3
valadas Mar 24, 2026
230bfb3
Merge pull request #1501 from valadas/storybook-10.3.3
valadas Mar 24, 2026
ea2980e
Added support for eslint v10 (still supports v9)
valadas Mar 24, 2026
7987235
Merge pull request #1502 from valadas/eslint10
valadas Mar 24, 2026
eaa3731
Bump webdriverio from 9.24.0 to 9.27.0
dependabot[bot] Mar 24, 2026
bb9d605
Bump lerna from 9.0.4 to 9.0.7
dependabot[bot] Mar 24, 2026
1d916c7
Merge pull request #1494 from DNNCommunity/dependabot/npm_and_yarn/we…
valadas Mar 24, 2026
1183eaf
Merge pull request #1499 from DNNCommunity/dependabot/npm_and_yarn/le…
valadas Mar 24, 2026
527b446
Bumped Jodit to v4.11.15
valadas Mar 25, 2026
9a5e169
Merge pull request #1507 from valadas/bump-jodit-4.11.15
valadas Mar 25, 2026
6c316ba
Bump eslint-plugin-react from 7.37.4 to 7.37.5
dependabot[bot] Mar 25, 2026
deb2b5b
Merge pull request #1504 from DNNCommunity/dependabot/npm_and_yarn/es…
valadas Mar 25, 2026
a385c9f
Bump vite from 7.3.1 to 8.0.2
dependabot[bot] Mar 25, 2026
32627c4
Merge pull request #1505 from DNNCommunity/dependabot/npm_and_yarn/vi…
valadas Mar 25, 2026
81c1a17
Fixed "npm audit" suggestions
valadas Mar 25, 2026
db083cf
Merge pull request #1508 from valadas/audit-2026-03-24
valadas Mar 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
versioning-strategy: increase
open-pull-requests-limit: 10
schedule:
interval: "monthly"
Expand Down
65 changes: 47 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,42 +37,71 @@ Stay tuned - coming soon.
Usage of each component is documented within the library `components` folder along with code samples.

## Usage (`eslint-plugin`)
To help better handle breaking changes, and to provide advice regarding usage, a custom `eslint` plugin is included in this package. Some breaking changes have auto-fixes. Until we release v1.0.0, it is advisable to upgrade one minor version at a time, and if you use `eslint` or `tslint`, you can get some of the fixes applied automatically for you. We currently only support the flat config format, so you will need those set up:
- `eslint` v8 (with the option to use the flat config type)
- `eslint` v9 (flat config is already mandatory)
- `typescript-eslint` (flat config is already mandatory) **recommended if you use typescript**
To help better handle breaking changes, and to provide advice regarding usage, a custom `eslint` plugin is included in this package. Some breaking changes have auto-fixes. Until we release v1.0.0, it is advisable to upgrade one minor version at a time, and if you use `eslint`, you can get some of the fixes applied automatically for you. We currently only support the flat config format, so you will need:
- `eslint` v9 or v10
- `typescript-eslint` **recommended if you use TypeScript**

No additional package is needed. Just use the already installed `@dnncommunity/dnn-elements` and import the `eslint-plugin`. Then use it in your config:

### ESLint v10+ (recommended)

```diff
+import { defineConfig } from 'eslint/config';
import tseslint from 'typescript-eslint';
import eslint from '@eslint/js';
+import dnnElements from '@dnncommunity/dnn-elements/eslint-plugin';

-export default [
+export default defineConfig(
eslint.configs.recommended,
tseslint.configs.recommended,
+ dnnElements.configs.recommended,
{
files: ["src/**/*.{ts,tsx}"],
},
{
ignores: ["dist/", "www/"],
},
{
languageOptions: {
ecmaVersion: "latest",
sourceType: "module",
parserOptions: {
projectService: true,
},
},
},
-]
+)
```

### ESLint v9

If you are on ESLint v9 (before v9.22.0 which introduced `defineConfig`), you can use `tseslint.config()` instead:

```diff
import tseslint from 'typescript-eslint';
import eslint from '@eslint/js';
+import dnnelements from '@dnncommunity/dnn-elements/eslint-plugin';
+import dnnElements from '@dnncommunity/dnn-elements/eslint-plugin';

export default tseslint.config(
tseslint.configs.recommendedTypeChecked,
stencil.configs.flat.recommended,
+ dnnelements.configs.flat.recommended,
eslint.configs.recommended,
tseslint.configs.recommended,
+ dnnElements.configs.recommended,
{
files: [
"src/**/*.{ts,tsx}",
],
files: ["src/**/*.{ts,tsx}"],
},
{
ignores: [
"dist/",
"www/",
],
ignores: ["dist/", "www/"],
},
{
languageOptions: {
ecmaVersion: "latest",
sourceType: "module",
parserOptions: {
projectService: true,
project: './tsconfig.json',
}
}
},
},
},
)
```
Expand Down
Loading
Loading