sort-by-key
Version:
Provides a means to sort an array or object be a value of a given key.
39 lines • 992 B
Plain Text
{
"parserOptions": {
"ecmaVersion": 6
},
"env": {
"node": true
},
"rules": {
"block-scoped-var": 2,
"brace-style": [2, "1tbs"],
"camelcase": 1,
"curly": 2,
"eol-last": 0,
"eqeqeq": [2, "smart"],
"max-depth": [1, 3],
"max-statements": [1, 15],
"max-len": [1, 120],
"new-cap": 1,
"no-extend-native": 2,
"no-mixed-spaces-and-tabs": 2,
"no-trailing-spaces": 2,
"no-use-before-define": [2, "nofunc"],
"no-unused-vars": [2, { "vars": "local", "args": "none" }],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"keyword-spacing": [1],
"space-unary-ops": 2,
"no-underscore-dangle": 0
},
"globals": {
/* MOCHA */
"describe": false,
"it": false,
"before": false,
"beforeEach": false,
"after": false,
"afterEach": false
}
}