simple-exiftool
Version:
Extracting metadata from media files with exiftool, including but not limited to mp4, mov, 3gp, jpg, png, gif, pdf.
126 lines (125 loc) • 2.24 kB
Plain Text
{
"env": {
"browser": true,
"node": true,
"jquery": true,
"es6": true
},
"ext": {
".es6": true,
".js": false
},
"parserOptions": {
"ecmaVersion": 6
},
"globals": {
"mechanic": true,
"yarify": true
},
"ecmaFeatures": {
"blockBindings": true,
"forOf": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"templateStrings": true
},
"rules": {
"no-var": 2,
"no-trailing-spaces": 0,
"no-extra-boolean-cast": 2,
// disallow double-negation boolean casts in a boolean context
"no-extra-parens": 0,
// disallow unnecessary parentheses (off by default)
"no-extra-semi": 2,
// disallow unnecessary semicolons
"indent": 2,
"brace-style": [
2,
"stroustrup"
],
"curly": 2,
"camelcase": 0,
"quotes": [
2,
"double"
],
"handle-callback-err": [
2,
"^(err|error|errors)$"
],
"eqeqeq": 0,
"dot-notation": 0,
"no-underscore-dangle": 0,
"no-multi-spaces": 2,
"space-unary-ops": [
1,
{
"words": true,
"nonwords": false
}
],
"keyword-spacing": [
2,
{
"before": true,
"after": true,
"overrides": {}
}
],
"no-else-return": 2,
"guard-for-in": 2,
"no-return-assign": 2,
"block-scoped-var": 2,
"no-undef": 2,
"new-cap": 0,
"comma-style": [
1,
"last"
],
"comma-spacing": [
1,
{
"before": false,
"after": true
}
],
"no-unused-vars": [
1,
{
"vars": "local",
"args": "after-used"
}
],
"space-before-function-paren": [
2,
{
"anonymous": "always",
"named": "never"
}
],
"space-in-parens": [
2,
"never"
],
"no-shadow": 0,
"no-use-before-define": [
2,
"nofunc"
],
"arrow-body-style": [
2,
"always"
],
"arrow-parens": [
2,
"always"
],
"no-confusing-arrow": 2,
"no-const-assign": 2,
"no-constant-condition": 2,
"no-unreachable": 2,
"no-path-concat": 2,
"prefer-arrow-callback": 2
}
}