Skip to content

Commit fe8cd6f

Browse files
committed
chore: expand prettier and ESLint globs
1 parent da838ae commit fe8cd6f

17 files changed

+325
-327
lines changed

.eslintrc.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"env": { "node": true, "jest": true },
3-
"parser": "@typescript-eslint/parser",
4-
"parserOptions": { "ecmaVersion": 9, "sourceType": "module" },
5-
"extends": [
6-
"eslint:recommended",
7-
"plugin:@typescript-eslint/eslint-recommended",
8-
"plugin:@typescript-eslint/recommended",
9-
"plugin:import/errors",
10-
"plugin:import/warnings",
11-
"plugin:import/typescript",
12-
"plugin:prettier/recommended",
13-
"prettier/@typescript-eslint"
14-
],
15-
"rules": {
16-
"@typescript-eslint/no-empty-function": "off"
17-
},
18-
"plugins": ["@typescript-eslint", "jest"]
19-
}
2+
"env": {"node": true, "jest": true},
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {"ecmaVersion": 9, "sourceType": "module"},
5+
"extends": [
6+
"eslint:recommended",
7+
"plugin:@typescript-eslint/eslint-recommended",
8+
"plugin:@typescript-eslint/recommended",
9+
"plugin:import/errors",
10+
"plugin:import/warnings",
11+
"plugin:import/typescript",
12+
"plugin:prettier/recommended",
13+
"prettier/@typescript-eslint"
14+
],
15+
"rules": {
16+
"@typescript-eslint/no-empty-function": "off"
17+
},
18+
"plugins": ["@typescript-eslint", "jest"]
19+
}

.github/ISSUE_TEMPLATE/bug-report.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "🐛 Bug report"
1+
name: '🐛 Bug report'
22
description: Let us know about a bug!
33
labels: ['bug']
44
title: '[bug]'
@@ -60,4 +60,4 @@ body:
6060
id: ghes
6161
attributes:
6262
label: Are you on GitHub Enterprise Server? If so, what version?
63-
placeholder: vX.Y
63+
placeholder: vX.Y

.github/ISSUE_TEMPLATE/documentation-issues.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "📚 Documentation issues"
1+
name: '📚 Documentation issues'
22
description: Make a suggestion to improve the documentation!
33
labels: ['documentation']
44
title: '[docs]'
@@ -25,4 +25,4 @@ body:
2525
description: |
2626
Give as much detail as you can to help us understand the changes you want to see.
2727
validations:
28-
required: true
28+
required: true

.github/ISSUE_TEMPLATE/feature-request.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "🎁 Feature request"
1+
name: '🎁 Feature request'
22
description: Suggest a new feature/enhancement!
33
labels: ['enhancement']
44
title: '[feat req]'
@@ -17,4 +17,4 @@ body:
1717
attributes:
1818
label: Why is this needed?
1919
validations:
20-
required: true
20+
required: true

.github/workflows/codeql-analysis.yml

+30-31
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: "Code scanning - action"
1+
name: 'Code scanning - action'
22

33
on:
44
push:
5-
branches-ignore: "dependabot/**"
5+
branches-ignore: 'dependabot/**'
66
pull_request:
77
paths-ignore:
88
- '**.md'
@@ -11,36 +11,35 @@ on:
1111

1212
jobs:
1313
CodeQL-Build:
14-
1514
# CodeQL runs on ubuntu-latest and windows-latest
1615
runs-on: ubuntu-latest
1716

1817
steps:
19-
- name: Checkout repository
20-
uses: actions/checkout@v2
21-
22-
# Initializes the CodeQL tools for scanning.
23-
- name: Initialize CodeQL
24-
uses: github/codeql-action/init@v1
25-
# Override language selection by uncommenting this and choosing your languages
26-
# with:
27-
# languages: go, javascript, csharp, python, cpp, java
28-
29-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
30-
# If this step fails, then you should remove it and run the build manually (see below)
31-
- name: Autobuild
32-
uses: github/codeql-action/autobuild@v1
33-
34-
# ℹ️ Command-line programs to run using the OS shell.
35-
# 📚 https://git.io/JvXDl
36-
37-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
38-
# and modify them (or add more) to build your code if your project
39-
# uses a compiled language
40-
41-
#- run: |
42-
# make bootstrap
43-
# make release
44-
45-
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@v1
18+
- name: Checkout repository
19+
uses: actions/checkout@v2
20+
21+
# Initializes the CodeQL tools for scanning.
22+
- name: Initialize CodeQL
23+
uses: github/codeql-action/init@v1
24+
25+
# Override language selection by uncommenting this and choosing your languages
26+
# with:
27+
# languages: go, javascript, csharp, python, cpp, java
28+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
29+
# If this step fails, then you should remove it and run the build manually (see below)
30+
- name: Autobuild
31+
uses: github/codeql-action/autobuild@v1
32+
33+
# ℹ️ Command-line programs to run using the OS shell.
34+
# 📚 https://git.io/JvXDl
35+
36+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
37+
# and modify them (or add more) to build your code if your project
38+
# uses a compiled language
39+
40+
#- run: |
41+
# make bootstrap
42+
# make release
43+
44+
- name: Perform CodeQL Analysis
45+
uses: github/codeql-action/analyze@v1

.github/workflows/release-new-action-version.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
name: releaseNewActionVersion
2121
runs-on: ubuntu-latest
2222
steps:
23-
- name: Update the ${{ env.TAG_NAME }} tag
24-
id: update-major-tag
25-
uses: actions/[email protected]
26-
with:
27-
source-tag: ${{ env.TAG_NAME }}
28-
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
23+
- name: Update the ${{ env.TAG_NAME }} tag
24+
id: update-major-tag
25+
uses: actions/[email protected]
26+
with:
27+
source-tag: ${{ env.TAG_NAME }}
28+
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)