Skip to content

Commit

Permalink
Adds builds
Browse files Browse the repository at this point in the history
  • Loading branch information
stephband committed Aug 28, 2018
1 parent 4f59395 commit 284b0d5
Show file tree
Hide file tree
Showing 11 changed files with 3,939 additions and 57 deletions.
238 changes: 238 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,238 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"accessor-pairs": "error",
"array-bracket-spacing": [
"error",
"never"
],
"array-callback-return": "off",
"arrow-body-style": "error",
"arrow-parens": "error",
"arrow-spacing": "error",
"block-scoped-var": "off",
"block-spacing": ["error", "always"],
"brace-style": "off",
"callback-return": "off",
"camelcase": "off",
"class-methods-use-this": "error",
"comma-dangle": [
"error",
"only-multiline"
],
"comma-spacing": "off",
"comma-style": [
"error",
"last"
],
"complexity": ["error", 12],
"computed-property-spacing": [
"error",
"never"
],
"consistent-return": "off",
"consistent-this": "off",
"curly": "off",
"default-case": "error",
"dot-location": [
"error",
"property"
],
"dot-notation": "off",
"eol-last": ["error", "always"],
"eqeqeq": ["error", "always"],
"func-call-spacing": "error",
"func-names": "off",
"func-style": "off",
"generator-star-spacing": "error",
"global-require": "error",
"guard-for-in": "off",
"handle-callback-err": "error",
"id-blacklist": "error",
"id-length": "off",
"id-match": "error",
"indent": "off",
"init-declarations": "off",
"jsx-quotes": "error",
"key-spacing": "off",
"keyword-spacing": "off",
"line-comment-position": "off",
"linebreak-style": [
"error",
"unix"
],
"lines-around-comment": "error",
"lines-around-directive": "error",
"max-depth": "off",
"max-len": "off",
"max-lines": "off",
"max-nested-callbacks": "error",
"max-params": "off",
"max-statements": "off",
"max-statements-per-line": "off",
"multiline-ternary": "off",
"new-parens": "off",
"newline-after-var": "off",
"newline-before-return": "off",
"newline-per-chained-call": "off",
"no-alert": "error",
"no-array-constructor": "error",
"no-bitwise": "off",
"no-caller": "error",
"no-catch-shadow": "error",
"no-cond-assign": ["error", "except-parens"],
"no-confusing-arrow": "error",
"no-console": "warn",
"no-continue": "off",
"no-control-regex": "off",
"no-div-regex": "error",
"no-dupe-args": "error",
"no-duplicate-imports": "error",
"no-else-return": "error",
"no-empty": [
"error",
{
"allowEmptyCatch": true
}
],
"no-empty-function": "off",
"no-eq-null": "error",
"no-eval": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-extra-label": "error",
"no-extra-parens": "off",
"no-floating-decimal": "error",
"no-global-assign": "error",
"no-implicit-globals": "off",
"no-implied-eval": "error",
"no-inline-comments": "off",
"no-inner-declarations": ["error", "both"],
"no-invalid-this": "off",
"no-invalid-regexp": "error",
"no-iterator": "error",
"no-label-var": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-lonely-if": "off",
"no-loop-func": "error",
"no-mixed-operators": "off",
"no-mixed-requires": "error",
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
"no-multi-spaces": "off",
"no-multi-str": "error",
"no-multiple-empty-lines": "off",
"no-negated-condition": "off",
"no-nested-ternary": "off",
"no-new": "off",
"no-new-func": "error",
"no-new-object": "error",
"no-new-require": "error",
"no-new-wrappers": "error",
"no-octal-escape": "error",
"no-param-reassign": "off",
"no-path-concat": "error",
"no-plusplus": "off",
"no-process-env": "error",
"no-process-exit": "error",
"no-proto": "error",
"no-prototype-builtins": "off",
"no-restricted-globals": "error",
"no-restricted-imports": "error",
"no-restricted-modules": "error",
"no-restricted-properties": "error",
"no-restricted-syntax": "error",
"no-return-assign": "off",
"no-script-url": "error",
"no-self-compare": "error",
"no-sequences": "off",
"no-shadow": "off",
"no-shadow-restricted-names": "off",
"no-spaced-func": "error",
"no-sync": "error",
"no-tabs": "off",
"no-template-curly-in-string": "error",
"no-ternary": "off",
"no-throw-literal": "error",
"no-trailing-spaces": "off",
"no-undef-init": "error",
"no-undefined": "off",
"no-underscore-dangle": "off",
"no-unmodified-loop-condition": "off",
"no-unneeded-ternary": "error",
"no-unreachable": "error",
"no-unsafe-negation": "error",
"no-unused-expressions": "off",
"no-unused-vars": ["error", { "args": "none" }],
"no-use-before-define": "off",
"no-useless-call": "error",
"no-useless-computed-key": "error",
"no-useless-concat": "error",
"no-useless-constructor": "error",
"no-useless-escape": ["warn"],
"no-useless-rename": "error",
"no-var": "off",
"no-void": "off",
"no-warning-comments": "off",
"no-whitespace-before-property": "error",
"no-with": "error",
"object-curly-newline": "off",
"object-curly-spacing": "off",
"object-property-newline": "off",
"object-shorthand": "off",
"one-var": "off",
"one-var-declaration-per-line": "off",
"operator-assignment": "off",
"operator-linebreak": "off",
"padded-blocks": "off",
"prefer-arrow-callback": "off",
"prefer-const": "error",
"prefer-numeric-literals": "error",
"prefer-reflect": "off",
"prefer-rest-params": "off",
"prefer-spread": "off",
"prefer-template": "off",
"quote-props": "off",
"quotes": "off",
"radix": [
"error",
"always"
],
"require-jsdoc": "off",
"rest-spread-spacing": "error",
"semi": "off",
"semi-spacing": "off",
"sort-imports": "off",
"sort-keys": "off",
"sort-vars": "off",
"space-before-blocks": "off",
"space-before-function-paren": "off",
"space-in-parens": [
"error",
"never"
],
"space-infix-ops": "off",
"space-unary-ops": "error",
"spaced-comment": "off",
"strict": "off",
"symbol-description": "error",
"template-curly-spacing": "error",
"unicode-bom": [
"error",
"never"
],
"valid-jsdoc": "error",
"vars-on-top": "off",
"wrap-iife": "off",
"wrap-regex": "off",
"yield-star-spacing": "error"
}
}
3 changes: 2 additions & 1 deletion components/midi-graph/midi-graph.js
Expand Up @@ -12,9 +12,10 @@ version displays notes, control change and pitch bend messages.
<midi-graph/>
This module has external dependencies.
*/

import { get, noop, overload, toInt } from '../../../fn/fn.js';
import { noop, overload, toInt } from '../../../fn/fn.js';
import { append, define, query, trigger, empty, now } from '../../../dom/dom.js';
import { print } from '../../modules/print.js';
import { bytesToSignedFloat, isNote, isControl, isPitch, toChannel, numberToNote, on, toType } from '../../midi.js';
Expand Down
1 change: 1 addition & 0 deletions components/midi-monitor/midi-monitor.js
Expand Up @@ -11,6 +11,7 @@ The `<midi-monitor>` element displays all incoming messages in a rolling list.
<midi-monitor></midi-monitor>
This module has external depencies.
There is a full-page MIDI monitor at [stephen.band/midi/monitor/](http://stephen.band/midi/monitor/).
*/
Expand Down

0 comments on commit 284b0d5

Please sign in to comment.