diff --git a/.gitignore b/.gitignore index 64af247..45c1505 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ _site .sass-cache -.jekyll-metadata \ No newline at end of file +.jekyll-metadata diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..7017426 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +exclude: > + (?x)^( + .*\.svg$| + js/bootstrap.min.js + )$ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v1.2.1-1 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files diff --git a/.travis.yml b/.travis.yml index 52b88ec..0b9176a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,4 @@ install: - pip install stix2-validator script: - - ./validate-examples.sh \ No newline at end of file + - ./validate-examples.sh diff --git a/_includes/header.html b/_includes/header.html index 7e70b50..8364f8f 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -27,7 +27,7 @@
  • Introductory Walkthrough
  • Examples
  • STIX 1.X and STIX 2 Comparison
  • -
  • Latest STIX Specifications
  • +
  • Latest STIX Specifications