在sublime中实现代码检测


当前第2页 返回上一页

展示一下配置完成后的sublimelinter-user.settings:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

{

    "user": {

        "debug": true,

        "delay": 0.25,

        "error_color": "D02000",

        "gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",

        "gutter_theme_excludes": [],

        "lint_mode": "background",

        "linters": {

            "eslint": {

                "@disable": false,

                "args": [],

                "ecmaFeatures": {

                    "jsx": true

                },

                "env": {

                    "browser": true,

                    "es6": true,

                    "node": true

                },

                "excludes": [],

                "extends": [

                    "standard"

                ],

                "parser": "babel-eslint",

                "plugins": [

                    "babel",

                    "promise"

                ],

                "rules": {

                    "quotes": [

                        2,

                        "single"

                    ],

                    "semi": [

                        2,

                        "always"

                    ]

                }

            },

            "jsxhint": {

                "@disable": false,

                "args": [],

                "excludes": []

            }

        },

        "mark_style": "stippled underline",

        "no_column_highlights_line": false,

        "passive_warnings": false,

        "paths": {

            "linux": [],

            "osx": [

                "/usr/local/bin/node",

                "/usr/local/lib/node_modules",

                "/usr/local/bin/eslint"

            ],

            "windows": []

        },

        "python_paths": {

            "linux": [],

            "osx": [],

            "windows": []

        },

        "rc_search_limit": 3,

        "shell_timeout": 10,

        "show_errors_on_save": false,

        "show_marks_in_minimap": true,

        "syntax_map": {

            "html (django)": "html",

            "html (rails)": "html",

            "html 5": "html",

            "javascript (babel)": "javascript",

            "magicpython": "python",

            "php": "html",

            "python django": "python",

            "pythonimproved": "python"

        },

        "warning_color": "DDB700",

        "wrap_find": true

    }

}

以上就是在sublime中实现代码检测的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

sublime中实现代码检测

sublime如何设置快捷键打开浏览器

sublime text 你所不知道的秘密(上)

sublime的注册方法(收藏)

怎么用sublime text编辑第一个文本文档

解决sublime text3中无法运行python中input()的问题

sublime怎么安装package control组件

sublime text3如何解决gosublime无法自动补全代码

如何将subversion控制系统与sublime text编辑器结合使用

用chainofcommand包实现sublime text单一快捷键执行多重命令

更多相关阅读请进入《sublime》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...