summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-05-29 14:48:50 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-11-21 17:57:10 -0700
commitf0ca174ada81a0ec4b1bbff9b70fcc680e4ca0ad (patch)
tree309e713bcb63918a4015c623fd778514c977e8ae /.eslintrc
downloadchessh_bot-f0ca174ada81a0ec4b1bbff9b70fcc680e4ca0ad.tar.gz
chessh_bot-f0ca174ada81a0ec4b1bbff9b70fcc680e4ca0ad.zip
squash everything since there was profanity in the commit log and maybe people won't like thatHEADmain
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