javascript:notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
javascript:notes [2016/03/23 18:34] – leo | javascript:notes [2016/03/24 00:09] (current) – leo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==Obtenir le language du document== | + | == Obtenir le language du document == |
var lang = document.documentElement.lang; | var lang = document.documentElement.lang; | ||
- | == plugin JSlint/JSCS pour Atom == | + | ==== plugins |
- | https:// | + | === JSCS === |
- | https:// | + | |
- | https:// | + | == linter-jscs == |
- | https:// | + | |
+ | - https:// | ||
+ | |||
+ | Pour régler noatmment preset ou chemin du fichier de conf : Edit -> Preferences -> Packages -> type linter-jscs -> settings | ||
+ | |||
+ | Voir aussi : http:// | ||
+ | |||
+ | Il faudrait apparemment créer un fichier .jscsrc à la racine du projet | ||
+ | |||
+ | < | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | En fait on peut chercher des règles ici : http:// | ||
+ | |||
+ | === JSHint === | ||
+ | |||
+ | == linter-jshint == | ||
+ | |||
+ | - https:// | ||
+ | |||
+ | == atom-jshint == | ||
+ | |||
+ | - https:// | ||
+ | |||
+ | === JSLint === | ||
+ | |||
+ | == jslint == | ||
+ | |||
+ | - https:// | ||
+ | |||
+ | === Google closure linter === | ||
+ | |||
+ | - https:// | ||
+ | |||
+ | == linter-gjslint == | ||
+ | |||
+ | - https://atom.io/ |
javascript/notes.1458754451.txt.gz · Last modified: 2016/03/23 18:34 by leo