I'm sorry, but who thought eslint or any linters for that matter were a good idea.

Started a new vue project using the cli, installed tailwind... oh what's that you don't like the line length... get out of here. It's an SVG and using a class-based framework. The hell.

Any way of removing eslint? I just want to code and not get bs warnings because of an svg length or because I add one to many classes.

  • 4
    iirc, every linter provides you with the capacity of disabling certain warnings. You can do that system-wide (on a file inside of linter's install folder), on your project (in a config file) or in-line.

    It's just a matter of checking this linter's docs. :v
  • 0
    @PublicByte oh I know where and why there used but I'm just trying to disable the damn thing.
  • 3
    Add an eslint config file and disable the rule
  • 0
    @DarkMelchiah I have a babel config and editor config.
  • 0
    Add an .eslintrc.
  • 5
    Google your dumb question instead of writing senseless rant.
  • 0
    @Avimelekh behave yourself. Devrant has no stupid rants.
  • 0
    Create eslintec bro then add those rules bro.
  • 1
    I dunno, Ben
  • 1
    @AlgoRythm I just added the rule to the package JSON
  • 0
    @HolyTeabags ok nice work, Ben
  • 0
    @AppleLover yeah I get rules and stuff are needed I use a few of them. But when your working with SVGs and stuff just running into a warning for that sounds silly.
  • 2
    ever thought about unselecting the eslint option in the cli when it asks you which features you want instead of having it installed and disabled

    I work with vue too and I have a very strict eslint config, even with a limit of 80 characters per line. I've never managed to have a line break that rule and be unfixable
  • 0
    You should create seperate svg files instead of embedding them in js
  • 0
    @hack I know, I do that when the svg is finalised for now though I'm only testing.
Add Comment