Skip to content

Commit

Permalink
Merge pull request #122 from mountaindude/main
Browse files Browse the repository at this point in the history
Lint all source code
  • Loading branch information
mountaindude authored Mar 19, 2024
2 parents 6e0aa60 + 0762b88 commit 18fe5a3
Show file tree
Hide file tree
Showing 12 changed files with 6,422 additions and 6,084 deletions.
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

0 comments on commit 18fe5a3

Please sign in to comment.