Skip to content

Commit

Permalink
Fix security alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKeig committed Sep 27, 2019
1 parent 38e31a6 commit f61796c
Show file tree
Hide file tree
Showing 4 changed files with 1,540 additions and 1,023 deletions.
38 changes: 0 additions & 38 deletions .eslintrc.js

This file was deleted.

41 changes: 41 additions & 0 deletions .eslintrc.yml
@@ -0,0 +1,41 @@
env:
browser: true
commonjs: true
es6: true
globals:
Atomics: readonly
SharedArrayBuffer: readonly
parserOptions:
ecmaVersion: 2018
rules: {
brace-style: [2, '1tbs'],
comma-spacing: 2,
comma-style: [2, 'last'],
default-case: 2,
func-style: [2, 'declaration'],
guard-for-1in: 0,
key-spacing: 2,
new-cap: 1,
no-floating-decimal: 2,
no-mixed-requires: 0,
no-nested-ternary: 2,
no-shadow: 0,
no-undef: 1,
no-underscore-dangle: 0,
no-unused-vars: [1, { vars: 'local', args: 'none' }],
no-use-before-define: [2, 'nofunc'],
object-curly-spacing: [2, 'always'],
keyword-spacing: [2, { after: true, before: true }],
space-before-blocks: 2,
space-before-function-paren: 2,
space-infix-ops: 2,
spaced-comment: 2,
valid-jsdoc: [0, { prefer: { return: 'returns'}}],
wrap-iife: [2, 'any'],
curly: [2, 'multi-line'],
indent: [2, 2],
quotes: [1, 'single'],
radix: 2,
semi: [2, 'always'],
strict: 0
}

0 comments on commit f61796c

Please sign in to comment.