music21j-port
Version:
A toolkit for computer-aided musicology, Javascript version
73 lines (72 loc) • 2.41 kB
JSON
{
"extends": "airbnb-base",
"root": true,
"env": {
"browser": true
},
"rules": {
"array-bracket-spacing": ["off"],
"arrow-parens": ["off"],
"brace-style": ["off"],
"camelcase": ["off"],
"class-methods-use-this": ["off"],
"comma-dangle": ["error", {
"arrays": "only-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}],
"curly": ["error", "all"],
"dot-location": ["error", "property"],
"dot-notation": ["error"],
"indent": ["error", 4],
"import/extensions": ["off"],
"import/prefer-default-export": ["off"],
"import/no-named-as-default": ["off"],
"import/no-named-as-default-member": ["off"],
"import/no-unresolved": ["off"],
"import/no-extraneous-dependencies": ["off"],
"max-len": ["off"],
"new-cap": ["off"],
"no-case-declarations": ["error"],
"no-console": ["off"],
"no-continue": ["off"],
"no-confusing-arrow": ["off"],
"no-else-return": ["off"],
"no-lonely-if": ["off"],
"no-mixed-operators": ["off"],
"no-multi-spaces": ["off"],
"no-multiple-empty-lines": ["error", { "max": 3 }],
"no-param-reassign": ["off"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-restricted-syntax": [
2,
"DebuggerStatement",
"LabeledStatement",
"WithStatement"
],
"no-shadow": ["off"],
"no-trailing-spaces": ["off"],
"no-use-before-define": ["off"],
"no-underscore-dangle": ["off"],
"no-unused-vars": [
"error",
{
"args": "none",
"varsIgnorePattern": "^i$|^j$|^unused|^junk|^counter"
}
],
"object-curly-spacing": ["off"],
"object-property-newline": ["off"],
"operator-linebreak": ["error", "before"],
"padded-blocks": ["off"],
"prefer-template": ["off"],
"quote-props": ["off"],
"radix": ["off"],
"space-infix-ops": ["off"],
"spaced-comment": ["off"],
"strict": ["error", "global"],
"yoda": ["error", "never", { "exceptRange": true }]
}
}