Skip to content

Commit 49c1333

Browse files
clementDoursClément Dours
andauthored
Feat/move example app into eslint module package (#19)
* refacto: move exemple-app into eslint-plugin * feat: update eslint working directories * feat: change "config" suffix to "plugin" in tsconfig * feat: remove the plugin as dependency in package.json * feat: update github workflow * feat: specify the required files for the plugin build --------- Co-authored-by: Clément Dours <clementdo@bam.tech>
1 parent 8932d98 commit 49c1333

16 files changed

Lines changed: 5013 additions & 11 deletions

.github/labeler.yml

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

.github/workflows/quality.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
filters: |
2222
eslint:
2323
- 'packages/eslint-plugin/**'
24-
- 'packages/example-app/**'
2524
2625
eslint-quality:
2726
name: Eslint-Plugin Quality

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"editor.defaultFormatter": "esbenp.prettier-vscode",
33
"editor.formatOnSave": true,
4-
"eslint.workingDirectories": ["packages/example-app", "packages/eslint"]
4+
"eslint.workingDirectories": [
5+
"packages/eslint-plugin/example-app",
6+
"packages/eslint-plugin"
7+
]
58
}
File renamed without changes.

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

File renamed without changes.

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

File renamed without changes.

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

File renamed without changes.

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

File renamed without changes.

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

File renamed without changes.

packages/example-app/break-typescript-eslint-rules.ts renamed to packages/eslint-plugin/example-app/break-typescript-eslint-rules.ts

File renamed without changes.

0 commit comments

Comments
 (0)