Skip to content

Commit

Permalink
chore: expand prettier and ESLint globs
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Dec 7, 2021
1 parent da838ae commit fe8cd6f
Show file tree
Hide file tree
Showing 17 changed files with 325 additions and 327 deletions.
36 changes: 18 additions & 18 deletions .eslintrc.json
@@ -1,19 +1,19 @@
{
"env": { "node": true, "jest": true },
"parser": "@typescript-eslint/parser",
"parserOptions": { "ecmaVersion": 9, "sourceType": "module" },
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-empty-function": "off"
},
"plugins": ["@typescript-eslint", "jest"]
}
"env": {"node": true, "jest": true},
"parser": "@typescript-eslint/parser",
"parserOptions": {"ecmaVersion": 9, "sourceType": "module"},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-empty-function": "off"
},
"plugins": ["@typescript-eslint", "jest"]
}
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.yml
@@ -1,4 +1,4 @@
name: "🐛 Bug report"
name: '🐛 Bug report'
description: Let us know about a bug!
labels: ['bug']
title: '[bug]'
Expand Down Expand Up @@ -60,4 +60,4 @@ body:
id: ghes
attributes:
label: Are you on GitHub Enterprise Server? If so, what version?
placeholder: vX.Y
placeholder: vX.Y
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/documentation-issues.yml
@@ -1,4 +1,4 @@
name: "📚 Documentation issues"
name: '📚 Documentation issues'
description: Make a suggestion to improve the documentation!
labels: ['documentation']
title: '[docs]'
Expand All @@ -25,4 +25,4 @@ body:
description: |
Give as much detail as you can to help us understand the changes you want to see.
validations:
required: true
required: true
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature-request.yml
@@ -1,4 +1,4 @@
name: "🎁 Feature request"
name: '🎁 Feature request'
description: Suggest a new feature/enhancement!
labels: ['enhancement']
title: '[feat req]'
Expand All @@ -17,4 +17,4 @@ body:
attributes:
label: Why is this needed?
validations:
required: true
required: true
61 changes: 30 additions & 31 deletions .github/workflows/codeql-analysis.yml
@@ -1,8 +1,8 @@
name: "Code scanning - action"
name: 'Code scanning - action'

on:
push:
branches-ignore: "dependabot/**"
branches-ignore: 'dependabot/**'
pull_request:
paths-ignore:
- '**.md'
Expand All @@ -11,36 +11,35 @@ on:

jobs:
CodeQL-Build:

# CodeQL runs on ubuntu-latest and windows-latest
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1

# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
12 changes: 6 additions & 6 deletions .github/workflows/release-new-action-version.yml
Expand Up @@ -20,9 +20,9 @@ jobs:
name: releaseNewActionVersion
runs-on: ubuntu-latest
steps:
- name: Update the ${{ env.TAG_NAME }} tag
id: update-major-tag
uses: actions/publish-action@v0.1.0
with:
source-tag: ${{ env.TAG_NAME }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
- name: Update the ${{ env.TAG_NAME }} tag
id: update-major-tag
uses: actions/publish-action@v0.1.0
with:
source-tag: ${{ env.TAG_NAME }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

0 comments on commit fe8cd6f

Please sign in to comment.