2022-11-01 03:34:15 +08:00
|
|
|
import genericSpacing from './rules/generic-spacing'
|
2022-04-02 23:51:24 +08:00
|
|
|
import ifNewline from './rules/if-newline'
|
2022-04-25 13:26:07 +08:00
|
|
|
import importDedupe from './rules/import-dedupe'
|
2022-04-07 05:53:45 +08:00
|
|
|
import preferInlineTypeImport from './rules/prefer-inline-type-import'
|
2023-03-29 21:46:16 +08:00
|
|
|
import topLevelFunction from './rules/top-level-function'
|
2023-08-01 22:59:19 +08:00
|
|
|
import noImportNodeModulesByPath from './rules/no-import-node-modules-by-path'
|
2023-05-19 16:29:54 +08:00
|
|
|
import noTsExportEqual from './rules/no-ts-export-equal'
|
|
|
|
import noCjsExports from './rules/no-cjs-exports'
|
2023-06-28 20:05:23 +08:00
|
|
|
import noConstEnum from './rules/no-const-enum'
|
2023-08-01 22:58:56 +08:00
|
|
|
import namedTupleSpacing from './rules/named-tuple-spacing'
|
2022-04-02 23:18:36 +08:00
|
|
|
|
|
|
|
export default {
|
|
|
|
rules: {
|
2022-04-02 23:51:24 +08:00
|
|
|
'if-newline': ifNewline,
|
2022-04-25 13:26:07 +08:00
|
|
|
'import-dedupe': importDedupe,
|
2022-04-07 05:53:45 +08:00
|
|
|
'prefer-inline-type-import': preferInlineTypeImport,
|
2022-11-01 03:34:15 +08:00
|
|
|
'generic-spacing': genericSpacing,
|
2023-03-29 21:46:16 +08:00
|
|
|
'top-level-function': topLevelFunction,
|
2023-08-01 22:59:19 +08:00
|
|
|
'no-import-node-modules-by-path': noImportNodeModulesByPath,
|
2023-05-19 16:29:54 +08:00
|
|
|
'no-cjs-exports': noCjsExports,
|
|
|
|
'no-ts-export-equal': noTsExportEqual,
|
2023-06-28 20:05:23 +08:00
|
|
|
'no-const-enum': noConstEnum,
|
2023-08-01 22:58:56 +08:00
|
|
|
'named-tuple-spacing': namedTupleSpacing,
|
2022-04-02 23:18:36 +08:00
|
|
|
},
|
|
|
|
}
|