summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc38
1 files changed, 38 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 0000000..c270d24
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,38 @@
+{
+ "root": true,
+ "env": {
+ "jest": true
+ },
+ "parser": "@typescript-eslint/parser",
+ "parserOptions": {
+ "project": [
+ "./tsconfig.json"
+ ]
+ },
+ "extends": "airbnb-typescript/base",
+ "plugins": [
+ "import",
+ "@typescript-eslint"
+ ],
+ "rules": {
+ "comma-dangle": 0,
+ "no-underscore-dangle": 0,
+ "no-param-reassign": 0,
+ "no-return-assign": 0,
+ "import/extensions": 0,
+ "@typescript-eslint/no-redeclare": 0,
+ "camelcase": "off",
+ "@typescript-eslint/camelcase": ["warn"]
+ },
+ "settings": {
+ "import/parsers": {
+ "@typescript-eslint/parser": [
+ ".ts",
+ ".tsx"
+ ]
+ },
+ "import/resolver": {
+ "typescript": {}
+ }
+ }
+} \ No newline at end of file