Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated eslint + packages, reworked eslint to use default config #525

Merged
merged 7 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This page contains information about changes to the PowerBI Visual Tools (pbiviz).

## 5.6.0
* Updated to ESLint v9
* Updated to TypeScript v5
* `--use-default` flag for `pbiviz package` and `pbiviz lint` commands is deprecated. Recommeded config is used by default

## 5.5.1
* Fixed subtotal feature check

Expand Down
4 changes: 1 addition & 3 deletions bin/pbiviz.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ pbiviz
pbiviz
.command('lint')
.option('--fix', 'Enable autofixing of lint errors')
.option('--use-default', 'Use recommended eslintrc file')
.action(options => {
CommandManager.lint({ ...options, verbose: true }, rootPath);
});
Expand All @@ -85,7 +84,7 @@ pbiviz
.option('--no-stats', "Doesn't generate statistics files")
.option('--skip-api', "Skips powerbi-visuals-api verifying")
.option('-l, --all-locales', "Keeps all locale files in the package. By default only used inside stringResources folder locales are included.")
.option('-p, --pbiviz-file <pbiviz-file>', "Path to pbiviz.json file (useful for debugging)", pbivizFile)
.option('-f, --pbiviz-file <pbiviz-file>', "Path to pbiviz.json file (useful for debugging)", pbivizFile)
.action(async (options) => {
CommandManager.start(options, rootPath);
});
Expand All @@ -101,7 +100,6 @@ pbiviz
.option('-l, --all-locales', "Keeps all locale files in the package. By default only used inside stringResources folder locales are included.")
.option('-v, --verbose', "Enables verbose logging")
.option('--fix', 'Enable autofixing of lint errors')
.option('--use-default', 'Use recommended eslintrc file')
.option('-p, --pbiviz-file <pbiviz-file>', "Path to pbiviz.json file (useful for debugging)", pbivizFile)
.addOption(new Option('-c, --compression <compressionLevel>', "Enables compression of visual package")
.choices(['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'])
Expand Down
Loading
Loading