Skip to content

Commit a12be50

Browse files
Merge pull request #16 from mchenryc/chore/dependency-update
Merge upstream changes, update deps
2 parents 64a4fc2 + 6a16641 commit a12be50

16 files changed

Lines changed: 34507 additions & 34242 deletions

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
dist/
22
lib/
3-
node_modules/
3+
node_modules/
4+
jest.config.js

.eslintrc.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"plugins": ["jest", "@typescript-eslint"],
3-
"extends": ["plugin:github/es6"],
3+
"extends": ["plugin:github/recommended"],
44
"parser": "@typescript-eslint/parser",
55
"parserOptions": {
66
"ecmaVersion": 9,
@@ -16,13 +16,11 @@
1616
"@typescript-eslint/no-require-imports": "error",
1717
"@typescript-eslint/array-type": "error",
1818
"@typescript-eslint/await-thenable": "error",
19-
"@typescript-eslint/ban-ts-ignore": "error",
19+
"@typescript-eslint/ban-ts-comment": "error",
2020
"camelcase": "off",
21-
"@typescript-eslint/camelcase": "off",
22-
"@typescript-eslint/class-name-casing": "error",
21+
"@typescript-eslint/consistent-type-assertions": "error",
2322
"@typescript-eslint/explicit-function-return-type": ["error", {"allowExpressions": true}],
2423
"@typescript-eslint/func-call-spacing": ["error", "never"],
25-
"@typescript-eslint/generic-type-naming": ["error", "^[A-Z][A-Za-z]*$"],
2624
"@typescript-eslint/no-array-constructor": "error",
2725
"@typescript-eslint/no-empty-interface": "error",
2826
"@typescript-eslint/no-explicit-any": "error",
@@ -32,27 +30,29 @@
3230
"@typescript-eslint/no-misused-new": "error",
3331
"@typescript-eslint/no-namespace": "error",
3432
"@typescript-eslint/no-non-null-assertion": "warn",
35-
"@typescript-eslint/no-object-literal-type-assertion": "error",
3633
"@typescript-eslint/no-unnecessary-qualifier": "error",
3734
"@typescript-eslint/no-unnecessary-type-assertion": "error",
3835
"@typescript-eslint/no-useless-constructor": "error",
3936
"@typescript-eslint/no-var-requires": "error",
4037
"@typescript-eslint/prefer-for-of": "warn",
4138
"@typescript-eslint/prefer-function-type": "warn",
4239
"@typescript-eslint/prefer-includes": "error",
43-
"@typescript-eslint/prefer-interface": "error",
4440
"@typescript-eslint/prefer-string-starts-ends-with": "error",
4541
"@typescript-eslint/promise-function-async": "error",
4642
"@typescript-eslint/require-array-sort-compare": "error",
4743
"@typescript-eslint/restrict-plus-operands": "error",
4844
"semi": "off",
4945
"@typescript-eslint/semi": ["error", "never"],
5046
"@typescript-eslint/type-annotation-spacing": "error",
51-
"@typescript-eslint/unbound-method": "error"
47+
"@typescript-eslint/unbound-method": "error",
48+
"i18n-text/no-en": "off",
49+
"sort-imports": "off",
50+
"no-shadow": "off",
51+
"@typescript-eslint/no-shadow": ["error"]
5252
},
5353
"env": {
5454
"node": true,
5555
"es6": true,
5656
"jest/globals": true
5757
}
58-
}
58+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist/** -diff linguist-generated=true

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
# Enable version updates for npm
4+
- package-ecosystem: 'npm'
5+
# Look for `package.json` and `lock` files in the `root` directory
6+
directory: '/'
7+
# Check the npm registry for updates every day (weekdays)
8+
schedule:
9+
interval: 'daily'

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ jobs:
1010
build: # make sure build/ci work properly
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v1
13+
- uses: actions/checkout@v2
1414
- run: |
1515
npm install
16+
- run: |
1617
npm run all
1718
test: # make sure the action works on a clean machine without building
1819
runs-on: ubuntu-latest

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ typings/
6868
# dotenv environment variables file
6969
.env
7070
.env.test
71+
.envrc
72+
.direnv
73+
.tool-versions
7174

7275
# parcel-bundler cache (https://parceljs.org/)
7376
.cache

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ $ npm install
102102

103103
Build the typescript and package it for distribution
104104
```bash
105-
$ npm run build && npm run pack
105+
$ npm run build && npm run package
106106
```
107107

108108
Run the tests :heavy_check_mark:

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
default: Checkstyle
1111
title:
1212
description: 'Check run title under which the report is created'
13-
default: Checkstyle report
13+
default: Checkstyle Source Code Analyzer report
1414
token:
1515
description: >
1616
Personal access token (PAT) used to fetch the repository. The PAT is configured

0 commit comments

Comments
 (0)