Skip to content

Commit

Permalink
Merge pull request #1 from fs-jun24-team-3/bugfix/master
Browse files Browse the repository at this point in the history
Bugfix/master
  • Loading branch information
NIKaragu authored Sep 13, 2024
2 parents 71cd46f + da7f097 commit 3ff4165
Show file tree
Hide file tree
Showing 7 changed files with 530 additions and 16 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,26 @@ name: ESLint Check
on:
push:
branches:
- main # Запускати на кожен push в гілку main
- master # або гілку master
- main
- master
- develop
- bugfix/master

pull_request:
branches:
- main
- master
- develop
- bugfix/master


jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -30,3 +33,4 @@ jobs:

- name: Run ESLint
run: npm run lint

9 changes: 7 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ export default [
{
rules: {
'react/react-in-jsx-scope': 'off',
'react/jsx-uses-react': 'off', // Повторне вимкнення правила
'react/jsx-uses-react': 'off',
},
settings: {
react: {
version: 'detect',
},
},
},
{ignores: ['build/', 'dist/assets/index-CnMgUSrV.js', 'node_modules']},
];

];
Loading

0 comments on commit 3ff4165

Please sign in to comment.