Giter Club home page Giter Club logo

Comments (7)

PlastMan420 avatar PlastMan420 commented on June 11, 2024 1

Hello,
I do have it installed and I got it included in .eslintrc.js. I also made sure to have it included in .eslinrc.

I'd like to add that my custom visual was generated using tools v5.3.0

from powerbi-visuals-tools.

AleksSavelev avatar AleksSavelev commented on June 11, 2024

Thank you for creating this issue. I'll investigate the problem.

For now, look like you can use second approach and install the eslint-plugin-powerbi-visuals if you didn't do it before.

from powerbi-visuals-tools.

PlastMan420 avatar PlastMan420 commented on June 11, 2024

Hello, I've resolved my problem by

  1. Rename .exlintrc.js to .eslintrc.cjs. didn't end up using .eslintrc in the end.
  2. Install both eslint-plugin-powerbi-visuals and @typescript-eslint/eslint-plugin globally. has to be the 2 of em.
  3. Make sure both plugins are included in .eslintrc.cjs.
  4. Make sure that .eslintrc.cjs is included in tsconfig.

from powerbi-visuals-tools.

glasshalfasleep avatar glasshalfasleep commented on June 11, 2024

Hello, I've resolved my problem by

  1. Rename .exlintrc.js to .eslintrc.cjs. didn't end up using .eslintrc in the end.
  2. Install both eslint-plugin-powerbi-visuals and @typescript-eslint/eslint-plugin globally. has to be the 2 of em.
  3. Make sure both plugins are included in .eslintrc.cjs.
  4. Make sure that .eslintrc.cjs is included in tsconfig.

Where are the files located for 1 above?
How do I install globally for 2?
How for 3 and 4?

I am very new to all this stuff and I am simply trying to modify a power BI visual with a minor edit to the visual.ts file and that took me like 10 minutes and I have spent hours trying to figure out how to package the visual back up to actually test the change.

from powerbi-visuals-tools.

PlastMan420 avatar PlastMan420 commented on June 11, 2024
  1. All files are in the root directory of your visual project.
  2. run npm i -g eslint-plugin-powerbi-visuals @typescript-eslint/eslint-plugin
  3. https://eslint.org/docs/latest/use/configure/plugins#use-a-plugin add under "plugins" and then under "extends"
  4. add "eslintrc.cjs" under "files" in tsconfig.

from powerbi-visuals-tools.

AleksSavelev avatar AleksSavelev commented on June 11, 2024

Hello @PlastMan420.
Is it possible to share with me the source code to reproduce this issue?

from powerbi-visuals-tools.

AleksSavelev avatar AleksSavelev commented on June 11, 2024

Thank you for the information you provided in this topic. I was able to reproduce it and fix the issue!

The new version will be available in a few upcoming days.

from powerbi-visuals-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.