configuration.d.ts 1.1 KB

1234567891011121314151617181920212223242526272829
  1. export declare const CONFIG_FILENAME: string;
  2. export declare const DEFAULT_CONFIG: {
  3. "rules": {
  4. "class-name": boolean;
  5. "comment-format": (boolean | string)[];
  6. "indent": (boolean | string)[];
  7. "no-duplicate-variable": boolean;
  8. "no-eval": boolean;
  9. "no-internal-module": boolean;
  10. "no-trailing-whitespace": boolean;
  11. "no-var-keyword": boolean;
  12. "one-line": (boolean | string)[];
  13. "quotemark": (boolean | string)[];
  14. "semicolon": boolean;
  15. "triple-equals": (boolean | string)[];
  16. "typedef-whitespace": (boolean | {
  17. "call-signature": string;
  18. "index-signature": string;
  19. "parameter": string;
  20. "property-declaration": string;
  21. "variable-declaration": string;
  22. })[];
  23. "variable-name": (boolean | string)[];
  24. "whitespace": (boolean | string)[];
  25. };
  26. };
  27. export declare function findConfiguration(configFile: string, inputFileLocation: string): any;
  28. export declare function getRelativePath(directory: string): string;
  29. export declare function getRulesDirectories(directories: string | string[]): string[];