On 2017-01-25 09:40, Jérôme Godbout wrote:
Then you will need to do your own team convention lint executable
to achieve that. Qmllint only check basic syntax.
But you probably can try a javascript indent lint like this one:
http://eslint.org/docs/rules/indent
not sure it will work but could worth a try
No, out-of-the-box, ESLint will choke on QML, and even on Qt JS
specific syntax (e.g. `.pragma library` or `.import "foo.js" as Foo`)
Having ESLint would be awesome, it's a beast of a linter and its
extensibility provides room for custom Qt rules. Curious to see if
attempts were made to bake in support for QML / Qt-flavored JS.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest