Skip to content

Commit

Permalink
Merge pull request #18 from appannie/deps
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed May 20, 2020
2 parents 74c9529 + a5a38e8 commit d7af7d2
Show file tree
Hide file tree
Showing 14 changed files with 2,035 additions and 1,719 deletions.
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
**/node_modules
**/.next
*.pyc
.scannerwork
docker/tests
logs
**/logs

110 changes: 55 additions & 55 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
'use strict';

module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
extends: [
'plugin:@typescript-eslint/recommended',
'prettier',
'prettier/@typescript-eslint',
'eslint:recommended',
'plugin:react/recommended',
],
plugins: ['@typescript-eslint', 'prettier', 'react-hooks'],
rules: {
'prettier/prettier': 'error',
'sort-keys': 'off',
'@typescript-eslint/indent': 'error',
'@typescript-eslint/member-ordering': [
'error',
{
default: [
'public-static-field',
'protected-static-field',
'private-static-field',
'public-instance-field',
'protected-instance-field',
'private-instance-field',
'public-constructor',
'protected-constructor',
'private-constructor',
'public-instance-method',
'protected-instance-method',
'private-instance-method',
'public-static-method',
'protected-static-method',
'private-static-method',
],
},
],
'@typescript-eslint/no-parameter-properties': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'react/display-name': 'off',
'react/prop-types': 'off',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
},
env: {
browser: true,
node: true,
jest: true,
},
};
'use strict';

module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
extends: [
'plugin:@typescript-eslint/recommended',
'prettier',
'prettier/@typescript-eslint',
'eslint:recommended',
'plugin:react/recommended',
],
plugins: ['@typescript-eslint', 'prettier', 'react-hooks'],
rules: {
'prettier/prettier': 'error',
'sort-keys': 'off',
'@typescript-eslint/indent': 'off',
'@typescript-eslint/member-ordering': [
'error',
{
default: [
'public-static-field',
'protected-static-field',
'private-static-field',
'public-instance-field',
'protected-instance-field',
'private-instance-field',
'public-constructor',
'protected-constructor',
'private-constructor',
'public-instance-method',
'protected-instance-method',
'private-instance-method',
'public-static-method',
'protected-static-method',
'private-static-method',
],
},
],
'@typescript-eslint/no-parameter-properties': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'react/display-name': 'off',
'react/prop-types': 'off',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
},
env: {
browser: true,
node: true,
jest: true,
},
};
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README.md
Loading

0 comments on commit d7af7d2

Please sign in to comment.