Web Framework
  • Introduction
  • Chapter1: Build Front-End Develope environment
    • 1.1.Install Sublime Text3 and packages
    • 1.2.Sublime plugin
      • 1.2.1.Package install control
      • 1.2.2.Emmet
      • 1.2.3.HTML-CSS-JS Prettify
      • 1.2.4 .SublimeLinter
      • 1.2.5.Install Sublime text Build system
      • 1.2.6.Pretty JSON
      • 1.2.7.SublimeHighlight
      • 1.2.8.SublimeAStyleFormatter
  • Chapter2: Angular.js
  • Chapter3: 3rd Party API
    • 3.function
  • Chapter4: React.js
    • 4.1.Introduction
    • 4.2.Getting started
    • 4.3.JSX
    • 4.4.life cycle
    • 4.5.Data flow: prop vs. prop.children, state
    • 4.6. Layout, Event Handing
    • 4.7.Using JQuery in React
    • 4.8.Using D3.js in React
    • 4.9.Dynamic Routing
  • Chapter5: Webpack
  • Chapter6: web driver IO & mocha
  • Chapter7: RWD
    • 7.1.利用Sass & media query在不使用框架下完成RWD
  • Chapter8: React native
Powered by GitBook
On this page

Was this helpful?

  1. Chapter1: Build Front-End Develope environment
  2. 1.2.Sublime plugin

1.2.4 .SublimeLinter

  • 1.由於SublimeLinter3(SL3)後每一個Linter都被獨立出來成一個套件須額外安裝,我目前用到的有

    • SublimeLinter-jshint

    • SublimeLinter-ccshint

  • 2.而這些Linter會依賴於Node.js的npm套件,故安裝完後必須安裝相對應的npm套件:

    • npm install -g jshint

    • npm install -g csshint

  • 3.設定:

    • Windows:

      • Preferences->Package Settings->Package Control->SublineLinter->Setting - User

    • Mac:

      • Sublime Text->Preferences->Package Control->SublineLinter->Setting - User

        {
        "user": {
        "debug": false,
        "delay": 0.25,
        "error_color": "D02000",
        "gutter_theme":             
        "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
        "gutter_theme_excludes": [],
        "lint_mode": "background",
        "linters": {
        "csslint": {
        "@disable": false,
        "args": [],
        "errors": "",
        "excludes": [],
        "ignore": "",
        "warnings": ""
        },
        "jshint": {
        "@disable": false,
        "args": [],
        "excludes": []
        }
        },
        "mark_style": "outline",
        "no_column_highlights_line": false,
        "passive_warnings": false,
        "paths": {
        "linux": [],
        "osx": [
        "jshint"
        ],
        "windows": []
        },
        "python_paths": {
        "linux": [],
        "osx": [],
        "windows": []
        },
        "rc_search_limit": 3,
        "shell_timeout": 10,
        "show_errors_on_save": true,
        "show_marks_in_minimap": true,
        "syntax_map": {
        "html (django)": "html",
        "html (rails)": "html",
        "html 5": "html",
        "javascript (babel)": "javascript",
        "php": "html",
        "python django": "python"
        },
        "warning_color": "DDB700",
        "wrap_find": true
        }
        }
Previous1.2.3.HTML-CSS-JS PrettifyNext1.2.5.Install Sublime text Build system

Last updated 5 years ago

Was this helpful?