Skip to content

Commit

Permalink
Merge pull request #1 from lbratkovskaya/setup
Browse files Browse the repository at this point in the history
Setup
  • Loading branch information
lbratkovskaya authored Mar 7, 2021
2 parents 637aec5 + d3e6a87 commit 1eeca5d
Show file tree
Hide file tree
Showing 14 changed files with 11,414 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'plugin:react/recommended',
'airbnb',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: 'module',
},
plugins: [
'react',
'@typescript-eslint',
],
rules: {
'import/extensions': 'off',
'import/no-unresolved': 'off',
'react-hooks/exhaustive-deps': 'off',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': ['error'],
'max-len': [
1,
{
code: 100,
},
],
'react/jsx-filename-extension': [
2,
{
extensions: [
'.js',
'.jsx',
'.ts',
'.tsx',
],
},
],
'react/destructuring-assignment': [
'off',
'always',
{
ignoreClassFields: true,
},
],
},
};
Loading

0 comments on commit 1eeca5d

Please sign in to comment.