CoffeeLint rule that enforces usage of strict mode
npm install coffeelint-always-use-strict[![NPM version][npm-image]][npm-url]
[![Build Status][circle-image]][circle-url]
[![Coverage Status][coveralls-image]][coveralls-url]
[![Dependency Status][depstat-image]][depstat-url]
[![devDependency Status][devdepstat-image]][devdepstat-url]
[CoffeeLint][coffeelint] rule that enforces usage of [strict mode][moz-strictmode-doc].
Install as a dev dependency in your project:
``sh`
npm install --save-dev coffeelint-always-use-strict
Add one of the following rules to your coffeelint.json file:
``
"strict": {
"level": "error",
"module": "coffeelint-always-use-strict",
},
or
```
"strict": {
"level": "error",
"module": "coffeelint-never-use-strict",
},
* Radu Dan (2017 -)
* Jan Raasch (2014-2017, original),
[original]: https://github.com/janraasch/coffeelint-use-strict
[coffeelint]: http://www.coffeelint.org
[moz-strictmode-doc]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode
[npm-url]: https://npmjs.org/package/coffeelint-always-use-strict
[npm-image]: http://img.shields.io/npm/v/coffeelint-always-use-strict.svg
[circle-url]: https://circleci.com/gh/za-creature/coffeelint-always-use-strict/tree/master
[circle-image]: https://circleci.com/gh/za-creature/coffeelint-always-use-strict/tree/master.svg?style=shield
[coveralls-url]: https://coveralls.io/r/za-creature/coffeelint-always-use-strict
[coveralls-image]: https://coveralls.io/repos/za-creature/coffeelint-always-use-strict/badge.svg
[depstat-url]: https://david-dm.org/za-creature/coffeelint-always-use-strict
[depstat-image]: https://david-dm.org/za-creature/coffeelint-always-use-strict.svg
[devdepstat-url]: https://david-dm.org/za-creature/coffeelint-always-use-strict#info=devDependencies
[devdepstat-image]: https://david-dm.org/za-creature/coffeelint-always-use-strict/dev-status.svg