Skip to content

Commit 642405d

Browse files
authored
Merge pull request #3377 from OneCommunityGlobal/Yiyun-update-eslintignore
update eslint ignore file list
2 parents c98b8ca + 6cf4e68 commit 642405d

1 file changed

Lines changed: 26 additions & 15 deletions

File tree

.eslintignore

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,36 @@
1-
*.png
2-
*.svg
3-
*.test.js
4-
*.test.jsx
5-
src/actions/**
6-
src/App.css
7-
src/config.json
1+
# =======================================================================
2+
# ⚠️ DO NOT ADD NEW ENTRIES ⚠️
3+
# Only the files and folders listed below are allowed to be ignored.
4+
# This .gitignore is locked down to maintain consistency across the team.
5+
# To propose changes, please open a discussion or PR with justification.
6+
# =======================================================================
7+
8+
# Ignore build folders
9+
/node_modules/
10+
/public/
811

12+
# Ignore test files inside /src/components
913
src/__tests__/**
14+
/src/components/**/__test__/**/*
15+
/src/components/**/__tests__/**/*
16+
/src/reducers/**/__tests__/**/*
1017

11-
/public/
12-
/build/
13-
/node_modules/
18+
src/components/BMDashboard/_tests_/BMDashboard.test.jsx
19+
src/components/Login/ForgotPassword.test.jsx
20+
src/components/Login/LoginPage.test.js
21+
src/components/PermissionsManagement/PermissionsManagement.test.js
22+
src/components/Reports/PeopleReport/components/PeopleTasksPieChart.test.jsx
23+
24+
# Ignore folders in /src
25+
src/actions/**
1426
src/components/Badge/**
1527
src/components/common/**
28+
src/components/Dashboard/**
29+
src/components/EmailSubscribeForm/**
1630
src/components/Projects/**
1731
src/components/SummaryManagement/**
1832
src/components/TaskEditSuggestions/**
1933
src/components/TeamMemberTasks/**
20-
src/components/Timelog/**
34+
src/components/Teams/TeamMembersPopup.jsx
2135
src/components/UserManagement/**
22-
src/components/UserProfile/**
23-
src/components/EmailSubscribeForm/**
24-
src/components/Dashboard/**
25-
src/components/Teams/TeamMembersPopup.jsx
36+
src/components/UserProfile/**

0 commit comments

Comments
 (0)