Code Monkey home page Code Monkey logo

lint381's People

Contributors

aary avatar arxanas avatar davidsnider avatar samharad avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lint381's Issues

Add vim support

Inline Vim support would be nice if only to retaliate against the Emacs support already present.

I use Syntastic as my syntax checker; I think it's reasonable to assume a lot of Vimmers do as well.

Some issues to consider:

  • Syntastic has pretty in-depth methods of declaring a new syntax checker, which typically seem to involve getting them merged upstream. That's likely not going to happen for lint381.
  • Assuming that users have to copy/paste a chunk of code, where should they put it? .vimrc or an ftplugin?
  • How do we detect if we should lint381 the current C/C++ file? (The answer is most likely that we always do it assuming that lint381 is installed and the syntax-checking code is present, and to stop doing this we uninstall one or both.)
  • How fast is lint381? It may be that running it synchronously is too slow.

Flag header files without header guards

It's reasonable to assume that the first and last sequences of tokens in any header file for this class should be #ifndef FOO_H #define FOO_H and #endif.

Flag use of `sizeof(char)`

sizeof(char) is defined to be equal to 1 in the C standard, so its use is redundant. Flag uses of it for C and import the linter into C++ (see cpp.py for what that means).

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.