Coder Social home page Coder Social logo

Duplicate line-length rules about lint-trap HOT 8 CLOSED

ross- avatar ross- commented on July 22, 2024
Duplicate line-length rules

from lint-trap.

Comments (8)

Raynos avatar Raynos commented on July 22, 2024

👍 @malandrew

Also running into disabling eslint and then having to disable jscs seperately.

from lint-trap.

rhobot avatar rhobot commented on July 22, 2024

as a result, using flag --line-length won't work well. It doesn't override jscs's maximumLineLength rule.

from lint-trap.

ross- avatar ross- commented on July 22, 2024

@rhobot I believe that's a regression in 1.0.0

from lint-trap.

Willyham avatar Willyham commented on July 22, 2024

👍 Having the same problem.

There are a few more which I don't disable but are definitely dupes and are noisy:

error  eslint    92:0    Multiple blank lines not allowed.      no-multiple-empty-lines
error  jscs      91:0    Multiple line break                    disallowMultipleLineBreaks

warning  eslint    84:81   Missing space before opening brace.       space-before-blocks
error    jscs      84:80   Missing space before opening curly brace  requireSpacesInNamedFunctionExpression

error  eslint    44:18   Strings must use singlequote.  quotes
error  jscs      44:18   Invalid quote mark found       validateQuoteMarks

from lint-trap.

lxe avatar lxe commented on July 22, 2024

I like duplicate warnings. Fixing each one is killing 2 birds with one stone!

from lint-trap.

Raynos avatar Raynos commented on July 22, 2024

That's not useful, we need to get rid of duplicates so we can use one inline comment to turn them off.

from lint-trap.

andrewdeandrade avatar andrewdeandrade commented on July 22, 2024

This is fixed in this PR #90

from lint-trap.

andrewdeandrade avatar andrewdeandrade commented on July 22, 2024

Install v1.0.1 to get this fix.

from lint-trap.

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.