Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint all source code #122

Merged
merged 2 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
env:
es6: true
es2021: true
node: true
es6: true
es2021: true
node: true
extends:
- airbnb-base
- prettier
- airbnb-base
- prettier
parserOptions:
ecmaVersion: 12
sourceType: module
ecmaVersion: 12
sourceType: module
rules:
prettier/prettier: error
prettier/prettier: error
plugins:
- prettier
- prettier
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci-pipeline
name: ci

on:
workflow_dispatch:
Expand Down
38 changes: 38 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
repos:
- repo: https://github.com/gitguardian/ggshield
rev: v1.12.0
hooks:
- id: ggshield
language_version: python3
stages: [commit]

# - repo: https://github.com/pre-commit/mirrors-jshint
# rev: '' # Use the sha / tag you want to point at
# hooks:
# - id: jshint

- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v2.7.1' # Use the sha / tag you want to point at
hooks:
- id: prettier
exclude: |
(?x)^(
.github/.*|
src/config/.*|
src/CHANGELOG.md|
src/config/.*|
changelog.md
)$

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0 # Use the ref you want to point at
hooks:
- id: check-case-conflict
- id: check-json
exclude: |
(?x)^(
.vscode/launch.json
)$
- id: check-xml
- id: check-yaml
- id: detect-private-key
4 changes: 2 additions & 2 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ tabWidth: 4
useTabs: false
semi: true
singleQuote: true
trailingComma: "es5"
trailingComma: 'es5'
bracketSpacing: true
arrowParens: "always"
arrowParens: 'always'
requirePragma: false
insertPragma: false
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"src":"1.3.0",".":"1.11.5"}
{ "src": "1.3.0", ".": "1.11.5" }
460 changes: 203 additions & 257 deletions CHANGELOG.md

Large diffs are not rendered by default.

291 changes: 146 additions & 145 deletions README.md

Large diffs are not rendered by default.

Loading