Skip to content
#

linting

Here are 539 public repositories matching this topic...

spectral
rossmcdonald
rossmcdonald commented Jan 6, 2021

While not technically in violation of the OpenAPI specification, including a query parameter in a path should be flagged as an error in Spectral:

A path has specific meaning in HTTP as a part of a URL that comes after the host name and before the query string or fragment. A "path item" key must be only a path, it cannot have a query string or a fragment.

For example, the following when def

cfn_nag
MikeRalphson
MikeRalphson commented Jan 19, 2019
  • Guidance on adding a linter new rule-action (if none of the existing ones can perform the action, or be extended)
  • Expand on guidelines re: keeping commits to logical areas of the code / individual packages where possible
  • Use of conventional-commit standard going forward
  • Advice not to include any package-lock.json changes PRs, for security reasons. File will be regene
secretlint
azu
azu commented Jun 3, 2021

We want to add documents that run secretlint only on changed files on Pull Request.

name: Secretlint
on: [pull_request]

# secretlint + git diff on Pull Request
# https://github.com/secretlint/secretlint

jobs:
  test:
    name: "Secretlint"
    runs-on: ubuntu-18.04
    steps:
      - name: checkout
        uses: actions/checkout@v2
      - uses: technote-space/get-diff-a
Husky.Net
alirezanet
alirezanet commented Feb 1, 2022

Version

0.4.0

Details

Should prevent git exception In a clean new repo, when there are no commits.

Steps to reproduce

  • Step 1: Create a new repo git init
  • Step 2: Install Husky dotnet husky install
  • Step 3: Add pre-commit hook dotnet husky add pre-commit -c "dotnet husky run"
  • Step 4: Add dotnet-format staged task
{
   "tasks": [
      {

Improve this page

Add a description, image, and links to the linting topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the linting topic, visit your repo's landing page and select "manage topics."

Learn more