-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.js
19 lines (18 loc) · 1.12 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const hooksDepsElementNewline = require('./rules/hooks-deps-element-newline')
const noClassnamesWithOneArgument = require('./rules/no-classnames-with-one-argument')
const noTranslateWithTemplateLiteral = require('./rules/no-translate-with-template-literal')
const pascalCaseEnumName = require('./rules/pascal-case-enum-name')
const pascalCaseInterfaceName = require('./rules/pascal-case-interface-name')
const pascalCaseTypeName = require('./rules/pascal-case-type-name')
const preventDestructuredArgumentCallbackInIntersectionObserver = require('./rules/prevent-destructured-argument-callback-in-intersection-observer')
module.exports = {
rules: {
'hooks-deps-element-newline': hooksDepsElementNewline,
'no-classnames-with-one-argument': noClassnamesWithOneArgument,
'no-translate-with-template-literal': noTranslateWithTemplateLiteral,
'pascal-case-enum-name': pascalCaseEnumName,
'pascal-case-interface-name': pascalCaseInterfaceName,
'pascal-case-type-name': pascalCaseTypeName,
'prevent-destructured-argument-callback-in-intersection-observer': preventDestructuredArgumentCallbackInIntersectionObserver,
},
}