Klip: Kutt like it's perfect. An easy to use self-hosted URL shortener. https://uwu.ryukyu/
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

  1. {
  2. "extends": [
  3. "eslint:recommended",
  4. "plugin:@typescript-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": "off",
  17. "max-len": ["warn", { "code": 160, "comments": 160 }],
  18. "no-param-reassign": 0,
  19. "require-atomic-updates": 0,
  20. "@typescript-eslint/interface-name-prefix": "off",
  21. "@typescript-eslint/no-unused-vars": "off", // "warn" for production
  22. "@typescript-eslint/no-explicit-any": "off", // "warn" for production
  23. "@typescript-eslint/no-var-requires": "off",
  24. "@typescript-eslint/camelcase": "off",
  25. "@typescript-eslint/no-object-literal-type-assertion": "off",
  26. "@typescript-eslint/no-parameter-properties": "off",
  27. "@typescript-eslint/explicit-function-return-type": "off"
  28. },
  29. "env": {
  30. "es6": true,
  31. "browser": true,
  32. "node": true,
  33. "mocha": true
  34. },
  35. "globals": {
  36. "assert": true
  37. },
  38. "settings": {
  39. "react": {
  40. "version": "detect"
  41. }
  42. }
  43. }