0
点赞
收藏
分享

微信扫一扫

sublimelinter使用和安装

灵魂跑者 2022-07-12 阅读 65

1、安装​​node.js​​;

2、将​​node.exe​​加入到系统环境变量;

3、全局安装npm,全局安装​​cnpm​​,设置镜像为国内淘宝镜像;

npm install -g cnpm --registry=https://registry.npm.taobao.org

4、cnpm安装​​jshint,htmlhint,csshint​​;

cnpm install -g jshint
cnpm install -g csslint
cnpm install -g htmlhint@latest

5、sublime text安装package control;

6、sublime安装sublimeLinter,安装​​SublimeLinter-jshint​​​,​​SublimeLinter-contrib-htmlhint​​​,​​SublimeLinter-csslint​

配置额外选项。

Package Control Messages
========================

SublimeLinter-jshint
--------------------

SublimeLinter-jshint
-------------------------------
This linter plugin for SublimeLinter provides an interface to jshint.

** IMPORTANT! **

Before this plugin will activate, you *must*
follow the installation instructions here:

https://github.com/SublimeLinter/SublimeLinter-jshint


SublimeLinter-contrib-htmlhint
------------------------------

SublimeLinter-contrib-htmlhint
-------------------------------
This linter plugin for SublimeLinter provides an interface to htmlhint. This plugin currently only works with htmlhint versions 0.9.7 and prior. Look for a new version to support 0.9.8 soon.

** IMPORTANT! **

Before this plugin will activate, you *must*
follow the installation instructions here:

https://github.com/mmaday/SublimeLinter-contrib-htmlhint


SublimeLinter-csslint
---------------------

SublimeLinter-csslint
-------------------------------
This linter plugin for SublimeLinter provides an interface to csslint.

** IMPORTANT! **

Before this plugin will activate, you *must*
follow the installation instructions here:

https://github.com/SublimeLinter/SublimeLinter-csslint


举报

相关推荐

0 条评论