-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update dependencies, move to react functional components and es modul…
…es for server
- Loading branch information
Showing
60 changed files
with
5,577 additions
and
5,600 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"extends": [ | ||
"airbnb", | ||
"naat", | ||
"prettier" | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": 2022, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
// Enable additional rules | ||
"no-throw-literal": "warn", | ||
"semi": "error", | ||
// Disable rule incompatible with eslint-plugin-import rule import/order | ||
"sort-imports": "off", | ||
// Disables rules we choose not to apply | ||
// "import/prefer-default-export": "off", | ||
// "react/forbid-prop-types": "off", | ||
// "react/sort-comp": "off", | ||
"react/jsx-filename-extension": [ | ||
"error", | ||
{ | ||
"extensions": [ | ||
".jsx" | ||
] | ||
} | ||
], | ||
// "no-underscore-dangle": "off", | ||
// Rewrite airbnb rule to allow ForOfStatement | ||
"no-restricted-syntax": [ | ||
"error", | ||
"ForInStatement", | ||
"LabeledStatement", | ||
"WithStatement" | ||
], | ||
// disable import/extensions rule as node requires to specify the extension on es module imports | ||
"import/extensions": "off" | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"bin/**" | ||
], | ||
"rules": { | ||
"no-console": "off" | ||
} | ||
} | ||
], | ||
"globals": { | ||
"it": "readonly", | ||
"describe": "readonly" | ||
}, | ||
"settings": { | ||
"import/resolver": { | ||
"node": { | ||
"extensions": [ | ||
".js", | ||
".jsx" | ||
] | ||
} | ||
} | ||
}, | ||
"env": { | ||
"browser": false, | ||
"node": true, | ||
"jest": true | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"useBuiltIns": "entry", | ||
"corejs": "3.0.0" | ||
} | ||
], | ||
"@babel/preset-react" | ||
], | ||
"plugins": [ | ||
"@babel/plugin-proposal-class-properties" | ||
], | ||
"env": { | ||
"development": { | ||
"compact": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module.exports = { | ||
mongodbMemoryServerOptions: { | ||
instance: { | ||
port: 46347, | ||
ip: 'localhost' | ||
}, | ||
binary: { | ||
version: '3.6.10', | ||
skipMD5: true, | ||
}, | ||
autoStart: false, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.