Skip to content

Commit

Permalink
Showing 5,595 changed files with 493,485 additions and 64,059 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions .eslintignore
@@ -0,0 +1,5 @@
**/webpack.config.js
lib/**
runner/dist/**
src/testdata/**
tests/**
59 changes: 59 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,59 @@

{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint", "filenames", "github", "import", "no-async-foreach"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:github/recommended",
"plugin:github/typescript"
],
"rules": {
"filenames/match-regex": ["error", "^[a-z0-9-]+(\\.test)?$"],
"import/extensions": "error",
"import/no-amd": "error",
"import/no-commonjs": "error",
"import/no-dynamic-require": "error",
"import/no-extraneous-dependencies": ["error", {"devDependencies": false}],
"import/no-namespace": "off",
"import/no-unresolved": "error",
"import/no-webpack-loader-syntax": "error",
"no-async-foreach/no-async-foreach": "error",
"no-console": "off",
"no-sequences": "error",
"one-var": ["error", "never"],
"sort-imports": ["error", { "allowSeparatedGroups": true }]
},
"overrides": [{
// "temporarily downgraded during transition to eslint
"files": "**",
"rules": {
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/prefer-regexp-exec": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"eslint-comments/no-use": "off",
"func-style": "off",
"github/array-foreach": "off",
"github/no-then": "off",
"import/no-extraneous-dependencies": "off",
"no-shadow": "off",
"no-sparse-arrays": "off",
"no-throw-literal": "off",
"no-useless-escape": "off",
"sort-imports": "off"
}
}]
}
15 changes: 7 additions & 8 deletions .github/workflows/pr-checks.yml
@@ -3,19 +3,19 @@ name: "PR checks"
on: [push, pull_request]

jobs:
tslint:
lint-js:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: tslint
- uses: actions/checkout@v2
- name: Run Lint
run: npm run-script lint

check-js:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Check generated JavaScript
run: |
# Sanity check that repo is clean to start with
@@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Check node modules up to date
run: |
# Sanity check that repo is clean to start with
@@ -50,7 +50,6 @@ jobs:
>&2 echo "Failed: Repo should be clean before testing!"
exit 1
fi
# Reinstall modules and then clean to remove absolute paths
# Use 'npm ci' instead of 'npm install' as this is intended to be reproducible
npm ci
@@ -63,14 +62,14 @@ jobs:
exit 1
fi
echo "Success: node_modules are up to date"
npm-test:
strategy:
matrix:
os: [ubuntu-latest,macos-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: npm run-script test
run: npm run-script test
23 changes: 11 additions & 12 deletions lib/analysis-paths.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/analysis-paths.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions lib/analysis-paths.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/analysis-paths.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 9 additions & 7 deletions lib/analyze-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/analyze-action.js.map
26 changes: 13 additions & 13 deletions lib/analyze.js
2 changes: 1 addition & 1 deletion lib/analyze.js.map
12 changes: 6 additions & 6 deletions lib/api-client.js
2 changes: 1 addition & 1 deletion lib/api-client.js.map
18 changes: 10 additions & 8 deletions lib/autobuild-action.js
2 changes: 1 addition & 1 deletion lib/autobuild-action.js.map
4 changes: 3 additions & 1 deletion lib/autobuild.js
2 changes: 1 addition & 1 deletion lib/autobuild.js.map
230 changes: 121 additions & 109 deletions lib/codeql.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/codeql.js.map

Large diffs are not rendered by default.

62 changes: 31 additions & 31 deletions lib/codeql.test.js
2 changes: 1 addition & 1 deletion lib/codeql.test.js.map
191 changes: 96 additions & 95 deletions lib/config-utils.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/config-utils.js.map

Large diffs are not rendered by default.

335 changes: 168 additions & 167 deletions lib/config-utils.test.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/config-utils.test.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/error-matcher.js
2 changes: 1 addition & 1 deletion lib/error-matcher.js.map
2 changes: 1 addition & 1 deletion lib/error-matcher.test.js
2 changes: 1 addition & 1 deletion lib/error-matcher.test.js.map
19 changes: 12 additions & 7 deletions lib/external-queries.js
2 changes: 1 addition & 1 deletion lib/external-queries.js.map
68 changes: 38 additions & 30 deletions lib/external-queries.test.js
2 changes: 1 addition & 1 deletion lib/external-queries.test.js.map
41 changes: 19 additions & 22 deletions lib/fingerprints.js
2 changes: 1 addition & 1 deletion lib/fingerprints.js.map
60 changes: 34 additions & 26 deletions lib/fingerprints.test.js
2 changes: 1 addition & 1 deletion lib/fingerprints.test.js.map

0 comments on commit e5e9aad

Please sign in to comment.