aboutsummaryrefslogtreecommitdiff
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-05-29 14:53:08 -0700
commit548498d37424f2ac579770962b627aeba61925e8 (patch)
tree1d02f147b82dd8f9a48296f01a2ae2e84d71958c /.eslintrc
downloadchessh-bot-548498d37424f2ac579770962b627aeba61925e8.tar.gz
chessh-bot-548498d37424f2ac579770962b627aeba61925e8.zip
added bot
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