.eslintignore exclusions not applying when launching eslint

95 Views Asked by At

Here is my project architecture :

Code Architecture

My .eslintignore :

/public/*
/test/*

These two folders are located at client/public && client/test but for some reason when starting eslint, it still lints my excluded files.

I am launching eslint through this command :

./node_modules/.bin/eslint . -c ../.eslintrc.js
1

There are 1 best solutions below

0
On

try this

/client/public/*
/client/test/*