Skip to content

Commit a4f0e62

Browse files
Copilotradium-v
andcommitted
Enable Prettier and ESLint for spec files and fix all linting errors
Co-authored-by: radium-v <863023+radium-v@users.noreply.github.com>
1 parent c10ac56 commit a4f0e62

46 files changed

Lines changed: 2344 additions & 1073 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Never lint test files
2-
*.spec.ts
3-
!*.pw.spec.ts
4-
51
# Never lint node_modules
62
node_modules
73

.prettierignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
*.spec.ts
2-
*.pw.spec.ts
3-
*.spec.tsx
41
**/__tests__
52
**/__test__
63
**/.tmp

packages/fast-element/.eslintignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@ node_modules
33
# don't lint build output (make sure it's set to your correct build folder name)
44
dist
55
# don't lint coverage output
6-
coverage
7-
# don't lint tests
8-
*.spec.*
6+
coverage
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
coverage/*
22
dist/*
3-
*.spec.ts
4-
*.pw.spec.ts

0 commit comments

Comments
 (0)