Code Monkey home page Code Monkey logo

tlint's People

Contributors

arbulu89 avatar dottorblaster avatar jamie-suse avatar nelsonkopliku avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tlint's Issues

tlint does not know property 'severity'

In the documentation https://www.trento-project.io/wanda/specification.html it is described that we can use a property called 'severity'. So I added the line

severity: warning

in the check '222A57.yaml'

And 'tlint lint -f 222A57.yaml' shows:

222A57 - Additional properties are not allowed ('severity' was unexpected)
path:

So for now I do not use this property inside the check definition, but we should clarify, if it is a problem of the documentation or of tlint.

tlint 0.9.2 doesn't show check id of failing check

tlint 0.9.2 doesn't seem to show check id of failing check. There is no way to see which of the listed check files triggered the error message(s) when linting all files in a directory.

$ sed -i.bak s/script/scropt/g 156F64.yaml
$ cp 156F64.yaml 123456.yaml
$ cp 156F64.yaml ABDCEF.yaml
$ tlint lint -f .
  Parse error   - missing field `description`
  Parse error   - missing field `description`
  Parse error   - missing field `description`
$ 

tlint problems validating check 'id's

tlint 0.9.2
When the check id contains only digits, but no other character, tlint reports an error
790926 - 790926 is not of type "string"
path: /id

it is ignoring '0'
7E0221 - 7e221 is not of type "string"
path: /id

and really confusing
822E47 - 8.22e49 is not of type "string"
path: /id

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.