Skip to content

META: Normalized checks for syntax for eustasy applications. Checks PHP, CSS, JS, JSON, MD, and XML.

License

Notifications You must be signed in to change notification settings

eustasy/.normal

Folders and files

NameName
Last commit message
Last commit date
Apr 16, 2024
Jul 4, 2023
Mar 27, 2024
Oct 19, 2021
Mar 8, 2017
Jun 17, 2017
Aug 5, 2016
May 17, 2018
Apr 15, 2017
Mar 2, 2017
Aug 9, 2017
Mar 8, 2024
Aug 27, 2022
Mar 28, 2018
Apr 15, 2017
Apr 15, 2017
Apr 15, 2017
Mar 8, 2017
Aug 22, 2022

Repository files navigation

eustasy .Normal Checks

Normalized checks for syntax for eustasy applications. Checks PHP, CSS, JS, JSON, MD, and XML.

Normal Code Climate

How to integrate

git clone https://github.com/eustasy/.normal.git &&
cp .normal/install.sh install.sh &&
chmod 755 install.sh &&
./install.sh &&
rm install.sh &&
rm -Rf .normal;
git add .github/workflows/normal.yml;
git commit -am "Install eustasy/.Normal 3.0";
git push;
  1. Code Climate Settings
  • ON: Settings > Git Repository > Webhook on GitHub
  • ON: Settings > Git Repository > Integration with pull request status updates

What it checks

Test Language GitHub Actions Code Climate
Acorn JavaScript Yes N/a
JSON Validator JSON Yes N/a
Nginx Config Conf No⁺ No
PHP Validator PHP Yes N/a
SQLint SQL Yes No
XML Validator XML Yes N/a
Duplication All No Yes
FixMe All No Yes
Coverage PHP No Yes
CSSLint CSS No No^
ESLint JavaScript No Yes
MarkdownLint Markdown No Yes
PHPCodeSniffer PHP No Yes
PHPMD PHP No Yes
Rubocop Ruby No No^
Shellcheck Bash No Yes
Stylelint CSS No Yes

^ Not configured for this runtime.
⁺ Waiting to be implemented.

Checked Files

Tests cover the following extensions:

  • *.conf
  • *.css
  • *.js
  • *.json
  • *.md
  • *.phar
  • *.php
  • *.sh
  • *.sql
  • *.xml

Excluded Paths

Most test exclude the following paths:

  • _libs/*
  • *.min.css
  • *.custom.css
  • *.min.js
  • *.pack.js
  • *.custom.js