I'm working with 2 different projects in VScode, and I'm using the global .gitignore
file to ignore both types of files. Here is my global .gitignore
file:
# Settings.
.vscode
.vscode/
.vscode*
/.vscode
.vscode/settings.json
.vscode//settings.json
.vscode//settings.json*
# Linters.
.babelrc
.jscsrc
.jsbeautifyrc
.jshintrc
.eslintignore
.eslintrc.json
.eslintrc.json*
.eslintrc*
.stylelintrc
Of course I already set the excludesFile
to the file's path:
core.excludesfile=C:\Users\or.as\.gitignore
But for some reason, the git ignores only the eslint file, and not on the .vscode/settings.json file. Any idea what can cause this?
Thanks!