Code Monkey home page Code Monkey logo

lints's People

Contributors

dependabot-preview[bot] avatar evgenyorekhov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lints's Issues

stylelint error after a clean global install

npm install lints -g
lints
{ Error: Could not find "stylelint-config-standard". Do you need a `configBasedir`?
    at exports.default (/usr/local/lib/node_modules/lints/node_modules/stylelint/dist/utils/configurationError.js:8:13)
    at exports.default (/usr/local/lib/node_modules/lints/node_modules/stylelint/dist/utils/getModulePath.js:15:36)
    at loadExtendedConfig (/usr/local/lib/node_modules/lints/node_modules/stylelint/dist/augmentConfig.js:186:45)
    at /usr/local/lib/node_modules/lints/node_modules/stylelint/dist/augmentConfig.js:173:14 code: 78 }

Promises swallow exceptions

I expected that

function throwError(err) {
    throw err;
}

as in here src/linters/stylelint.js#L8-L10, would throw the error and the process would immediately exit with status code 1, but it looks like some promise swallows that throw.

I added a temporary workaround in 0b4a736, but I want to understand what is going on and fix it permanently.

Replace tap with something better

  • tap is slow
  • tap can't be updated to the latest version without breaking tests that use global state (because of tap's parallelism)

I think it should be replaced with Mocha.

Fix "line undefined column undefined" in w3cjs

test.html:

<div></div>

Expected:

test.html (w3cjs)                                                                                                              
    line 0 column 0                                                                                                          
        The character encoding was not declared. Proceeding using “windows-1252”. (error)

Actual:

test.html (w3cjs)                                                                                                              
    line undefined column undefined                                                                                                          
        The character encoding was not declared. Proceeding using “windows-1252”. (error)

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.