bemhint-plugins-jshint

0.2.0 • Public • Published

bemhint-plugins-jshint

Интеграция линтера jshint через bemhint.

Установка

$ npm install bemhint-plugins-jshint

Использование

В конфигурационном файле .bemhint.js подключить плагин:

module.exports = {
    // конфиг
 
    plugins: {
        'bemhint-plugins-jshint': {
            techs: {
                '*': {
                    // правила jshint для всех технологий
                },
 
                'js|bemhtml.js': {
                    // правила jshint для технологий `js` и `bemhtml.js`
                },
 
                'css': false // не проверять технологию `css`
            }
        }
    }
 
    // конфиг
};

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    2
  • 0.1.0
    1

Package Sidebar

Install

npm i bemhint-plugins-jshint

Weekly Downloads

3

Version

0.2.0

License

none

Last publish

Collaborators

  • egavr