Skip to content

Commit 9a93a94

Browse files
authored
Merge pull request #257 from conda-incubator/goanpeca-patch-1
2 parents 4ae322b + 6f4a4ea commit 9a93a94

32 files changed

+11732
-15838
lines changed

.eslintrc.js

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,47 @@ module.exports = {
77
root: true,
88
extends: [
99
"eslint:recommended",
10-
"plugin:@typescript-eslint/eslint-recommended",
11-
"plugin:@typescript-eslint/recommended",
12-
"prettier/@typescript-eslint"
10+
"prettier"
1311
],
1412
parser: "@typescript-eslint/parser",
1513
parserOptions: {
16-
project: "tsconfig.json"
14+
project: [
15+
"tsconfig.json",
16+
"tsconfig.eslint.json"
17+
]
1718
},
1819
plugins: ["@typescript-eslint"],
1920
rules: {
20-
"@typescript-eslint/no-floating-promises": ["error", { ignoreVoid: true }],
21-
"@typescript-eslint/interface-name-prefix": [
21+
"@typescript-eslint/ban-ts-comment": "warn",
22+
"@typescript-eslint/camelcase": "off",
23+
"@typescript-eslint/explicit-function-return-type": "off",
24+
"@typescript-eslint/naming-convention": [
2225
"error",
23-
{ prefixWithI: "always" }
26+
{
27+
"selector": "interface",
28+
"format": ["PascalCase"],
29+
"custom": {
30+
"regex": "^I[A-Z]",
31+
"match": true
32+
}
33+
}
2434
],
25-
"@typescript-eslint/no-unused-vars": ["warn", { args: "none" }],
26-
"@typescript-eslint/no-use-before-define": "off",
27-
"@typescript-eslint/camelcase": "off",
35+
"@typescript-eslint/no-empty-interface": "off",
2836
"@typescript-eslint/no-explicit-any": "off",
29-
"@typescript-eslint/no-non-null-assertion": "off",
37+
"@typescript-eslint/no-floating-promises": ["error", { ignoreVoid: true }],
38+
"@typescript-eslint/no-inferrable-types": "off",
3039
"@typescript-eslint/no-namespace": "off",
31-
"@typescript-eslint/explicit-function-return-type": "off",
32-
"@typescript-eslint/ban-ts-ignore": "warn",
40+
"@typescript-eslint/no-non-null-assertion": "off",
41+
"@typescript-eslint/no-unused-vars": ["warn", { args: "none" }],
42+
"@typescript-eslint/no-use-before-define": "off",
3343
"@typescript-eslint/no-var-requires": "off",
34-
"@typescript-eslint/no-empty-interface": "off",
3544
"@typescript-eslint/triple-slash-reference": "warn",
36-
"@typescript-eslint/no-inferrable-types": "off",
45+
"no-case-declarations": "warn",
46+
"no-control-regex": "warn",
3747
"no-inner-declarations": "off",
3848
"no-prototype-builtins": "off",
39-
"no-control-regex": "warn",
4049
"no-undef": "warn",
41-
"no-case-declarations": "warn",
50+
"no-unused-vars": "off",
4251
"no-useless-escape": "off",
4352
"prefer-const": "off"
4453
}

.github/workflows/caching-envs-example.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- "*"
77
push:
88
branches:
9+
- "develop"
10+
- "main"
911
- "master"
1012
schedule:
1113
# Note that cronjobs run on master/main by default

.github/workflows/caching-example.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- "*"
77
push:
88
branches:
9+
- "develop"
10+
- "main"
911
- "master"
1012
schedule:
1113
# Note that cronjobs run on master/main by default

.github/workflows/example-1.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- "*"
77
push:
88
branches:
9+
- "develop"
10+
- "main"
911
- "master"
1012
schedule:
1113
# Note that cronjobs run on master/main by default
@@ -23,7 +25,7 @@ jobs:
2325
fail-fast: false
2426
matrix:
2527
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
26-
python-version: ["3.7", "2.7"]
28+
python-version: ["3.8", "2.7"]
2729
steps:
2830
- uses: actions/checkout@v2
2931
- uses: ./

.github/workflows/example-10.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- "*"
77
push:
88
branches:
9+
- "develop"
10+
- "main"
911
- "master"
1012
schedule:
1113
# Note that cronjobs run on master/main by default

.github/workflows/example-11.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- "*"
77
push:
88
branches:
9+
- "develop"
10+
- "main"
911
- "master"
1012
schedule:
1113
# Note that cronjobs run on master/main by default

.github/workflows/example-2.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- "*"
77
push:
88
branches:
9+
- "develop"
10+
- "main"
911
- "master"
1012
schedule:
1113
# Note that cronjobs run on master/main by default

.github/workflows/example-3.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- "*"
77
push:
88
branches:
9+
- "develop"
10+
- "main"
911
- "master"
1012
schedule:
1113
# Note that cronjobs run on master/main by default

.github/workflows/example-4.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- "*"
77
push:
88
branches:
9+
- "develop"
10+
- "main"
911
- "master"
1012
schedule:
1113
# Note that cronjobs run on master/main by default

.github/workflows/example-5.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- "*"
77
push:
88
branches:
9+
- "develop"
10+
- "main"
911
- "master"
1012
schedule:
1113
# Note that cronjobs run on master/main by default

0 commit comments

Comments
 (0)