🔗 Free Modern URL Shortener. https://kutt.it/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.2 KiB

3 years ago
3 years ago
1 year ago
3 years ago
3 years ago
3 years ago
  1. {
  2. "extends": [
  3. "eslint:recommended",
  4. "plugin:@typescript-eslint/eslint-recommended",
  5. "plugin:prettier/recommended"
  6. ],
  7. "parser": "@typescript-eslint/parser",
  8. "parserOptions": {
  9. "project": ["./tsconfig.json", "./client/tsconfig.json"]
  10. },
  11. "plugins": ["@typescript-eslint"],
  12. "rules": {
  13. "eqeqeq": ["warn", "always", { "null": "ignore" }],
  14. "no-useless-return": "warn",
  15. "no-var": "warn",
  16. "no-console": "warn",
  17. "no-unused-vars": "off",
  18. "max-len": ["warn", { "comments": 80 }],
  19. "no-param-reassign": 0,
  20. "require-atomic-updates": 0,
  21. "@typescript-eslint/interface-name-prefix": "off",
  22. "@typescript-eslint/no-unused-vars": "off", // "warn" for production
  23. "@typescript-eslint/no-explicit-any": "off", // "warn" for production
  24. "@typescript-eslint/no-var-requires": "off",
  25. "@typescript-eslint/camelcase": "off",
  26. "@typescript-eslint/no-object-literal-type-assertion": "off",
  27. "@typescript-eslint/no-parameter-properties": "off",
  28. "@typescript-eslint/explicit-function-return-type": "off"
  29. },
  30. "env": {
  31. "es6": true,
  32. "browser": true,
  33. "node": true,
  34. "mocha": true
  35. },
  36. "globals": {
  37. "assert": true
  38. },
  39. "settings": {
  40. "react": {
  41. "version": "detect"
  42. }
  43. }
  44. }