Skip to content

Commit

Permalink
fix: Correctly fill out LICENSE.md
Browse files Browse the repository at this point in the history
Also some minor changes to linting and a typo fix
  • Loading branch information
robcresswell committed Jan 29, 2020
1 parent 2a34b3c commit 5277134
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
21 changes: 12 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,26 @@
"project": "./tsconfig.json",
"extraFileExtensions": [".ts"]
},
"env": {
"node": true,
"es2017": true
},
"plugins": ["jest", "@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:jest/recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/await-thenable": 2,
"@typescript-eslint/ban-ts-ignore": 2,
"@typescript-eslint/no-require-imports": 2,
"@typescript-eslint/no-unnecessary-type-assertion": 2,
"@typescript-eslint/promise-function-async": 2,
"@typescript-eslint/unbound-method": 2,
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 0
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/ban-ts-ignore": "error",
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/unbound-method": "error"
},
"settings": {
"import/resolver": {
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ APPENDIX: How to apply the Apache License to your work.
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy][name of copyright owner]
Copyright [2020][robert cresswell]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
1 change: 1 addition & 0 deletions src/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { debuglog } from 'util';
const reset = '\x1b[0m';
const red = '\x1b[31m';
const cyan = '\x1b[36m';

export const debug = debuglog('dems');

export function logError(message: string) {
Expand Down

0 comments on commit 5277134

Please sign in to comment.