mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 23:25:55 -05:00
4daf618c29
I just ran a "cargo test" on this after a round of tweaks, not "cargo test --all", so I missed compile errors in the db crate, and a Javascript lint config error. travis-ci caught these.
22 lines
628 B
JSON
22 lines
628 B
JSON
{
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module"
|
|
},
|
|
"env": {
|
|
"es6": true,
|
|
"browser": true,
|
|
"node": true
|
|
},
|
|
"extends": "google",
|
|
"rules": {
|
|
"init-declarations": ["error", "always"],
|
|
"no-catch-shadow": ["error"],
|
|
"no-delete-var": ["error"],
|
|
"no-shadow": ["error", { "builtinGlobals": false, "hoist": "functions", "allow": [] }],
|
|
"no-shadow-restricted-names": ["error"],
|
|
"no-undef": ["error", {"typeof": true}],
|
|
"no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }]
|
|
}
|
|
}
|