File tree Expand file tree Collapse file tree 4 files changed +40
-42
lines changed Expand file tree Collapse file tree 4 files changed +40
-42
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ module.exports = {
11
11
'plugin:react/recommended' ,
12
12
'plugin:react/jsx-runtime' ,
13
13
'eslint:recommended' ,
14
- 'plugin:prettier/recommended' ,
15
14
'plugin:@typescript-eslint/eslint-recommended' ,
16
15
'plugin:@typescript-eslint/recommended' ,
17
16
'plugin:storybook/recommended' ,
17
+ 'prettier' ,
18
18
] ,
19
19
parser : '@typescript-eslint/parser' ,
20
20
parserOptions : {
@@ -32,7 +32,6 @@ module.exports = {
32
32
'react-hooks' ,
33
33
'react-compiler' ,
34
34
'@typescript-eslint' ,
35
- 'prettier' ,
36
35
] ,
37
36
rules : {
38
37
'@typescript-eslint/explicit-module-boundary-types' : 'off' ,
Original file line number Diff line number Diff line change
1
+ name : Prettier
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ workflow_dispatch :
7
+
8
+ concurrency :
9
+ group : ${{ github.workflow }}-${{ github.ref_name }}
10
+ cancel-in-progress : true
11
+
12
+ jobs :
13
+ run :
14
+ name : Can the code be prettier? 🤔
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - uses : pnpm/action-setup@v4
19
+ - uses : actions/setup-node@v4
20
+ with :
21
+ cache : pnpm
22
+ node-version : lts/*
23
+ - run : pnpm install
24
+ - run : pnpm format
25
+ - run : git restore .github/workflows pnpm-lock.yaml
26
+ - uses : actions/create-github-app-token@v1
27
+ id : generate-token
28
+ with :
29
+ app-id : ${{ secrets.ECOSPARK_APP_ID }}
30
+ private-key : ${{ secrets.ECOSPARK_APP_PRIVATE_KEY }}
31
+ - uses : peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7
32
+ with :
33
+ body : I ran `pnpm format` 🧑💻
34
+ branch : actions/prettier
35
+ commit-message : " chore(prettier): 🤖 ✨"
36
+ labels : 🤖 bot
37
+ sign-commits : true
38
+ title : " chore(prettier): 🤖 ✨"
39
+ token : ${{ steps.generate-token.outputs.token }}
Original file line number Diff line number Diff line change 164
164
"eslint-plugin-boundaries" : " ^5.0.1" ,
165
165
"eslint-plugin-import" : " ^2.31.0" ,
166
166
"eslint-plugin-jsx-a11y" : " ^6.10.2" ,
167
- "eslint-plugin-prettier" : " ^5.2.1" ,
168
167
"eslint-plugin-react" : " ^7.37.2" ,
169
168
"eslint-plugin-react-compiler" : " 19.0.0-beta-37ed2a7-20241206" ,
170
169
"eslint-plugin-react-hooks" : " ^5.1.0" ,
You can’t perform that action at this time.
0 commit comments