Giter Site home page Giter Site logo

frankyyang / jshint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jshint/jshint

0.0 2.0 0.0 848 KB

JSHint is a community-driven tool to detect errors in JavaScript code and enforce your team's coding conventions.

Home Page: http://jshint.com

jshint's Introduction

JSHint, A Static Code Analysis Tool for JavaScript

JSHint is a community-driven tool to detect errors and potential problems in JavaScript code and to enforce your team's coding conventions.

IMPORTANT:

  • This README is for people who are thinking about contributing to JSHint. For general usage please refer to our website.
  • If you want to report a bug about the website, please go to the jshint/site repository.
  • If you want to report a bug or contribute to our NPM package, please go to the jshint/node-jshint repository.

Reporting a bug

To report a bug simply create a new GitHub Issue and describe your problem or suggestion. We welcome all kind of feedback regarding JSHint including but not limited to:

  • When JSHint doesn't work as expected
  • When JSHint complains about valid JavaScript code that works in all browsers
  • When you simply want a new option or feature

Please, before reporting a bug look around to see if there are any open or closed tickets that cover your issue. And remember the wisdom: pull request > bug report > tweet.

Submitting patches

The best way to make sure your issue is addressed is to submit a patch. GitHub provides a very nice interface--pull requests--for that but we accept patches through all mediums: email, issue comment, tweet with a link to a snippet, etc.

Before submitting a patch make sure that you comply to our style. We don't have specific style guide so just look around the code you are changing.

Also, make sure that you write tests for new features and make sure that all tests pass before submitting a patch. Patches that break the build will be rejected.

FEATURE FREEZE: Please note that we currently have a feature freeze on new environments and styling options. The only patches we accept at this time are for bug fixes.

Tests

To run tests you will need to install node.js and expresso. You can install the latter with npm:

npm install expresso

After that, running the unit tests is as easy as:

expresso tests/unit/*.js

Attribution

Core Team members:

Maintainer: Anton Kovalyov

License

JSHint is licensed under the same slightly modified MIT license that JSLint is. It stops evil-doers everywhere.

JSHint is a derivative work of JSLint:

Copyright (c) 2002 Douglas Crockford (www.JSLint.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

The Software shall be used for Good, not Evil.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

JSHint was forked from the 2010-12-16 edition of JSLint.

Thank you!

We really appreciate all kind of feedback and contributions. Thanks for using and supporting JSHint!

jshint's People

Contributors

benblank avatar domenic avatar douglascrockford avatar erawk avatar fabiomcosta avatar founddrama avatar goatslacker avatar indexzero avatar inspector-ambitious avatar joelrbrandt avatar jugglinmike avatar kevinoid avatar mattfysh avatar mbulman avatar mmalecki avatar nckg avatar nikolayfrantsev avatar pracj3am avatar rixth avatar rondevera avatar rwaldron avatar scarpenter avatar schuyler1d avatar sconover avatar shahyar avatar timendum avatar valueof avatar wagenet avatar wolfgangkluge avatar zpao avatar

Watchers

 avatar  avatar

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.