# Exceptionrules
This is a project which contains filter rules in order for Acceptable Ads program to work
***IMPORTANT:*** After cloning the project, you need to run the following command in order to add the pre-commit hook:
## Windows
Windows: turn on Developer Mode is settings->system->for developers and run
```sh
export MSYS=winsymlinks:nativestrict
```
```sh
wsl --update
```
```sh
wsl --install -d Ubuntu-24.04
```
```sh
wsl -s Ubuntu-24.04
```
```sh
wsl sudo apt update
```
```sh
wsl sudo apt install jq
```
```sh
ln -s -f "$(pwd)/pre-commit-src/pre-commit" "$(pwd)/.git/hooks/pre-commit"
```
When you add files/change their names remember to add it to template files and inform AFB team.
MAC update bash `brew install bash`