зеркало из https://github.com/twbs/bootlint.git
1b87aca313 | ||
---|---|---|
src | ||
test | ||
.editorconfig | ||
.gitignore | ||
.jscsrc | ||
.jshintrc | ||
.travis.yml | ||
CONTRIBUTING.md | ||
Gruntfile.js | ||
LICENSE | ||
README.md | ||
package.json |
README.md
bootlint
HTML linter for Bootstrap projects
Getting Started
On the server
Install the module with: npm install bootlint
var bootlint = require('bootlint');
bootlint.awesome(); // "awesome"
In the browser
Download the code.
In your webpage:
<script src="dist/bootlint.js"></script>
<script>
awesome(); // "awesome"
</script>
Documentation
(Coming soon)
Contributing
The project's coding style is laid out in the JSHint and JSCS configurations. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Also, please don't edit files in the "dist" subdirectory as they are generated via Grunt. You'll find source code in the "lib" subdirectory!
Release History
(Nothing yet)
License
Copyright (c) 2014 Christopher Rebert. Licensed under the MIT license.