forked from kyo504/react-native-marquee
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
44 lines (42 loc) · 1.19 KB
/
tslint.json
File metadata and controls
44 lines (42 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-eslint-rules",
"tslint-config-prettier"
],
"jsRules": {
"no-underscore-dangle": "off",
"no-unused-vars": ["error", { "argsIgnorePattern": "[iI]gnored" }],
"lines-between-class-members": "off",
"class-methods-use-this": "off",
"camelcase": "off",
"react/display-name": "off",
"react/no-this-in-sfc": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/destructuring-assignment": "off",
"import/prefer-default-export": "off",
"no-unused-expressions": ["error", { "allowTernary": true }]
},
"rules": {
"prettier": true,
"no-implicit-dependencies": false,
"no-submodule-imports": false,
"ordered-imports": false,
"jsx-no-lambda": false,
"member-access": [true, "no-public"],
"object-literal-sort-keys": false,
"no-empty": false,
"variable-name": [true, "check-format", "allow-pascal-case", "allow-snake-case"],
"no-namespace": [true, "allow-declarations"]
},
"rulesDirectory": [
"tslint-plugin-prettier"
],
"linterOptions": {
"exclude": [
"src/types/**/*"
]
}
}