diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..6a7acf9 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,21 @@ +{ + "parser": "@typescript-eslint/parser", + "parserOptions": { + "jsx": true, + "useJSXTextNode": true, + "ecmaVersion": 2018, + "sourceType": "module", + "project": "./tsconfig.json" + }, + "ignorePatterns": ["/out"], + "plugins": ["@typescript-eslint", "roblox-ts", "prettier"], + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "plugin:roblox-ts/recommended", + "plugin:prettier/recommended" + ], + "rules": { + "prettier/prettier": "warn" + } +} diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..492a291 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "printWidth": 120, + "tabWidth": 4, + "trailingComma": "all", + "useTabs": true +}