Skip to content

Commit b13124f

Browse files
committed
Add details
1 parent a21d3b8 commit b13124f

File tree

1 file changed

+9
-0
lines changed
  • packages/tailwindcss-language-service/src/util

1 file changed

+9
-0
lines changed

packages/tailwindcss-language-service/src/util/state.ts

+9
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,15 @@ export function getDefaultTailwindSettings(): Settings {
210210
includeLanguages: {},
211211
files: {
212212
exclude: [
213+
// These paths need to be universally ignorable. This means that we
214+
// should only consider hidden folders with a commonly understood
215+
// meaning unless there is a very good reason to do otherwise.
216+
//
217+
// This means that things like `build`, `target`, `cache`, etc… are
218+
// not appropriate to include even though _in many cases_ they might
219+
// be ignorable. The names are too general and ignoring them could
220+
// cause us to ignore actual project files.
221+
213222
// Version Control
214223
'**/.git/**',
215224
'**/.hg/**',

0 commit comments

Comments
 (0)