mirror of
https://github.com/chjj/blessed.git
synced 2026-02-06 09:26:49 +00:00
add .jshintrc and .jscsrc.
This commit is contained in:
parent
a79e8106ea
commit
142b5e070d
15
.jscsrc
Normal file
15
.jscsrc
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"preset": "airbnb",
|
||||||
|
|
||||||
|
"esnext": false,
|
||||||
|
"requireTrailingComma": null,
|
||||||
|
"requireCommaBeforeLineBreak": null,
|
||||||
|
"requireCamelCaseOrUpperCaseIdentifiers": null,
|
||||||
|
"requirePaddingNewLinesBeforeLineComments": null,
|
||||||
|
"requirePaddingNewLinesAfterBlocks": null,
|
||||||
|
"safeContextKeyword": "self",
|
||||||
|
|
||||||
|
"maximumLineLength": 110,
|
||||||
|
"maxErrors": 1000,
|
||||||
|
"requireSpaceAfterLineComment": true
|
||||||
|
}
|
||||||
41
.jshintrc
Normal file
41
.jshintrc
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"bitwise": false,
|
||||||
|
"curly": false,
|
||||||
|
"eqeqeq": true,
|
||||||
|
"freeze": true,
|
||||||
|
"latedef": "nofunc",
|
||||||
|
"maxparams": 7,
|
||||||
|
"noarg": true,
|
||||||
|
"shadow": "inner",
|
||||||
|
"undef": true,
|
||||||
|
"unused": true,
|
||||||
|
|
||||||
|
"boss": true,
|
||||||
|
"expr": true,
|
||||||
|
"eqnull": true,
|
||||||
|
"evil": true,
|
||||||
|
"loopfunc": true,
|
||||||
|
"proto": true,
|
||||||
|
"supernew": true,
|
||||||
|
|
||||||
|
"-W018": true,
|
||||||
|
"-W064": true,
|
||||||
|
"-W086": true,
|
||||||
|
"+W032": true,
|
||||||
|
|
||||||
|
"browser": false,
|
||||||
|
"browserify": false,
|
||||||
|
"node": true,
|
||||||
|
"nonstandard": true,
|
||||||
|
"typed": true,
|
||||||
|
"worker": false,
|
||||||
|
|
||||||
|
"camelcase": false,
|
||||||
|
"indent": 2,
|
||||||
|
"maxlen": 110,
|
||||||
|
"newcap": true,
|
||||||
|
"quotmark": "single",
|
||||||
|
|
||||||
|
"laxbreak": true,
|
||||||
|
"laxcomma": true
|
||||||
|
}
|
||||||
@ -2,3 +2,5 @@
|
|||||||
test/
|
test/
|
||||||
img/
|
img/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
.jshintrc
|
||||||
|
.jscsrc
|
||||||
|
|||||||
@ -4,6 +4,10 @@
|
|||||||
* Taken from terminfo(5) man page.
|
* Taken from terminfo(5) man page.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* jshint maxlen: 300 */
|
||||||
|
// jscs:disable maximumLineLength
|
||||||
|
// jscs:disable
|
||||||
|
|
||||||
var alias = exports;
|
var alias = exports;
|
||||||
|
|
||||||
// These are the boolean capabilities:
|
// These are the boolean capabilities:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user