Skip to content

Commit

Permalink
linting ^ pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tetov committed Nov 28, 2023
1 parent bfd7a92 commit a86cefa
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: pre-commit

on:
Expand Down
1 change: 1 addition & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# MD013/line-length - Line length
MD013:
# Include tables
Expand Down
17 changes: 10 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-eslint
rev: "v8.51.0"
rev: "v8.54.0"
hooks:
- id: eslint
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
types: [file]
additional_dependencies:
- "@babel/eslint-parser@7.19.1"
- "@graphql-eslint/eslint-plugin@3.12.0"
- "@typescript-eslint/eslint-plugin@5.41.0"
- "@typescript-eslint/parser@5.41.0"
- "eslint@8.26.0"
- "eslint-config-prettier@8.5.0"
- "@babel/eslint-parser@7.23.3"
- "@graphql-eslint/eslint-plugin@3.20.1"
- "@typescript-eslint/eslint-plugin@6.12.0"
- "@typescript-eslint/parser@6.12.0"
- "eslint-config-prettier@9.0.0"
- repo: https://github.com/adrienverge/yamllint.git
rev: "v1.29.0"
hooks:
- id: yamllint
1 change: 1 addition & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
semi: true
trailingComma: all
6 changes: 6 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
extends: default
rules:
comments:
min-spaces-from-content: 1
line-length: disable
2 changes: 1 addition & 1 deletion content/special/cv/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ work:
url: http://accentarkitekter.se/
description: Four week full-time internship in 2016 and an additional four weeks in 2017.

# - name: Suzzle
# - name: Suzzle
# startDate: "2013-01-31"
# endDate: "2014-05-31"
# highlights: []
Expand Down

0 comments on commit a86cefa

Please sign in to comment.