Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/Timur233/falcon-tanks in…
Browse files Browse the repository at this point in the history
…to SOK-13_main-page
  • Loading branch information
Timur233 committed Sep 27, 2024
2 parents 49256d3 + d63382f commit 894ef2a
Show file tree
Hide file tree
Showing 8 changed files with 2,813 additions and 762 deletions.
10 changes: 9 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,22 @@ module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 11,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
plugins: ['@typescript-eslint'],
plugins: ['@typescript-eslint', 'react'],
rules: {
'react/react-in-jsx-scope': 'off',
'@typescript-eslint/ban-ts-comment': 1,
'quotes': ['error', 'single']
},
}
3 changes: 3 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
npm run lint
npm run format
npm test
1 change: 1 addition & 0 deletions init.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const fs = require('fs')

fs.copyFileSync('.env.sample', '.env')
Expand Down
Loading

0 comments on commit 894ef2a

Please sign in to comment.