Skip to content

Commit c61ddcb

Browse files
committed
chore: update tooling and strict-mode fixes
1 parent 784c724 commit c61ddcb

9 files changed

Lines changed: 248 additions & 251 deletions

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
21
## 7.0.0
32

43
### Changed
5-
* Migrated ESLint config to flat-config ESM `eslint.config.mjs`.
6-
* Removed legacy `.eslintrc.js` and `.eslintignore` in favor of flat-config equivalents.
7-
* Updated TypeScript config for TS6 compatibility, including `ignoreDeprecations`, explicit `rootDir`, `strict: true`, and a modern `lib` target.
8-
* Documented why `skipLibCheck` is required for Power BI API declaration compatibility.
4+
* Updated `powerbi-visuals-api` to `^5.11.0`.
5+
* Enabled full TypeScript strict checks (`strictNullChecks`, `strictPropertyInitialization`, `noImplicitAny`) and fixed related type issues.
6+
* Preserved formatting pane behavior for SimpleCard top-level toggle placement during strict-mode refactoring.
97

108
### Infrastructure
11-
* Lint config now uses ESLint 10 flat config with TypeScript ESLint 8.
9+
* Migrated ESLint config to flat-config ESM `eslint.config.mjs`.
10+
* Removed legacy `.eslintrc.js` and `.eslintignore` in favor of flat-config equivalents.
11+
* Updated the lint stack to ESLint 10 with TypeScript ESLint 8.
12+
* Pinned `typescript` as a direct devDependency and updated TypeScript config for TS6 compatibility.
1213

1314
## 6.2.2
1415
* Added missing `disabled` property to `FontPicker`
@@ -23,7 +24,6 @@
2324
* Bug with delaySaveSlices was fixed for *Container*s
2425
* Localization support for `AutoDropdown` and `ItemFlagsSelection`
2526

26-
2727
## 6.1.0
2828
* `ItemDropdown` now supports new interface `ILocalizedItemMember` for localization of dropdown items.
2929
* `ItemDropdown` got new method `setValue(value: powerbi.EnumMemberValue, localizationManager?: powerbi.extensibility.ILocalizationManager)` to set value by unique enum member value.

eslint.config.mjs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@ export default [
44
{
55
ignores: [
66
"node_modules/**",
7-
"dist/**",
8-
"coverage/**",
9-
"test/**",
10-
"karma.conf.ts",
11-
"webpack.config.js",
127
"lib/**",
13-
".tmp/**",
148
],
159
},
1610
{

package-lock.json

Lines changed: 135 additions & 136 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@
99
"scripts": {
1010
"test": "echo \"Error: no test specified\" && exit 1",
1111
"build": "tsc",
12-
"lint": "npx eslint . --ext .js,.jsx,.ts,.tsx"
12+
"lint": "eslint ."
1313
},
1414
"author": "",
1515
"license": "MIT",
1616
"dependencies": {
1717
"powerbi-visuals-api": "^5.11.0"
1818
},
1919
"devDependencies": {
20-
"@typescript-eslint/eslint-plugin": "^8.59.4",
21-
"@typescript-eslint/parser": "^8.59.4",
22-
"eslint": "^10.4.0",
23-
"eslint-plugin-powerbi-visuals": "^1.1.1"
20+
"@typescript-eslint/eslint-plugin": "^8.60.1",
21+
"@typescript-eslint/parser": "^8.60.1",
22+
"eslint": "^10.4.1",
23+
"eslint-plugin-powerbi-visuals": "^1.1.1",
24+
"typescript": "^6.0.3"
2425
}
2526
}

0 commit comments

Comments
 (0)