Skip to content

Commit 7a0a502

Browse files
clementDoursClément Dours
andauthored
Feat/create example app in root (#22)
* refacto : move example app to the project root * fix: use package.json to indicate where to find eslint-plugin instead of tsconfig * feat: move breaking example in a specific folder --------- Co-authored-by: Clément Dours <clementdo@bam.tech>
1 parent 35faf67 commit 7a0a502

20 files changed

Lines changed: 3865 additions & 68 deletions

.github/labeler.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
"no examples 📝":
2-
- all:
3-
[
4-
"packages/eslint-plugin/**/*",
5-
"!packages/eslint-plugin/example-app/**/*",
6-
]
2+
- all: ["packages/eslint-plugin/**/*", "!example-app/**/*"]

.github/workflows/quality.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
filters: |
2222
eslint:
2323
- 'packages/eslint-plugin/**'
24+
- 'example-app/**'
2425
2526
eslint-quality:
2627
name: Eslint-Plugin Quality

.vscode/settings.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,5 @@
22
"editor.defaultFormatter": "esbenp.prettier-vscode",
33
"editor.formatOnSave": true,
44
"editor.codeActionsOnSave": { "source.fixAll": true },
5-
"eslint.workingDirectories": [
6-
"packages/eslint-plugin/example-app",
7-
"packages/eslint-plugin"
8-
]
5+
"eslint.workingDirectories": ["example-app", "packages/eslint-plugin"]
96
}

packages/eslint-plugin/example-app/.eslintrc renamed to example-app/.eslintrc

File renamed without changes.

packages/eslint-plugin/example-app/break-eslint-recommended-rules.js renamed to example-app/eslint-breaking-examples/break-eslint-recommended-rules.js

File renamed without changes.

packages/eslint-plugin/example-app/break-jest-formatting-rules.test.tsx renamed to example-app/eslint-breaking-examples/break-jest-formatting-rules.test.tsx

File renamed without changes.

packages/eslint-plugin/example-app/break-jest-rules.test.tsx renamed to example-app/eslint-breaking-examples/break-jest-rules.test.tsx

File renamed without changes.

packages/eslint-plugin/example-app/break-prettier-eslint-rules.ts renamed to example-app/eslint-breaking-examples/break-prettier-eslint-rules.ts

File renamed without changes.

packages/eslint-plugin/example-app/break-react-eslint-rules.tsx renamed to example-app/eslint-breaking-examples/break-react-eslint-rules.tsx

File renamed without changes.

packages/eslint-plugin/example-app/break-react-hook-eslint-rules.tsx renamed to example-app/eslint-breaking-examples/break-react-hook-eslint-rules.tsx

File renamed without changes.

0 commit comments

Comments
 (0)