@ololoepepe/eslint-config-typescript 0.0.11 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,108 +0,0 @@
1
- export default {
2
- rules: {
3
- 'import/consistent-type-specifier-style': 'off', // TODO: Reconsider if use TS/Flow
4
- 'import/default': 'error',
5
- 'import/dynamic-import-chunkname': ['error'],
6
- 'import/enforce-node-protocol-usage': ['error', 'always'],
7
- 'import/export': 'error',
8
- 'import/exports-last': 'off',
9
- 'import/extensions': 'off',
10
- 'import/first': ['error', 'absolute-first'],
11
- 'import/group-exports': 'off',
12
- 'import/max-dependencies': 'off',
13
- 'import/named': 'error',
14
- 'import/namespace': ['error', {
15
- allowComputed: false
16
- }],
17
- 'import/newline-after-import': ['error', {
18
- considerComments: false,
19
- count: 1
20
- }],
21
- 'import/no-absolute-path': ['error', {
22
- amd: true,
23
- commonjs: true,
24
- esmodule: true
25
- }],
26
- 'import/no-amd': 'off',
27
- 'import/no-anonymous-default-export': 'off',
28
- 'import/no-commonjs': 'off',
29
- 'import/no-cycle': ['error', {
30
- amd: true,
31
- commonjs: true,
32
- esmodule: true, // TODO
33
- ignoreExternal: true
34
- }],
35
- 'import/no-default-export': 'off',
36
- 'import/no-deprecated': 'warn',
37
- 'import/no-duplicates': ['error', {
38
- considerQueryString: true
39
- }],
40
- 'import/no-dynamic-require': 'off', // TODO
41
- 'import/no-empty-named-blocks': 'error',
42
- 'import/no-extraneous-dependencies': 'error',
43
- 'import/no-import-module-exports': 'off',
44
- 'import/no-internal-modules': 'off',
45
- 'import/no-mutable-exports': 'error',
46
- 'import/no-named-as-default': 'warn',
47
- 'import/no-named-as-default-member': 'error',
48
- 'import/no-named-default': 'off',
49
- 'import/no-named-export': 'off',
50
- 'import/no-namespace': 'off',
51
- 'import/no-nodejs-modules': 'off',
52
- 'import/no-relative-packages': 'off',
53
- 'import/no-relative-parent-imports': 'warn',
54
- 'import/no-restricted-paths': 'off',
55
- 'import/no-self-import': 'error',
56
- 'import/no-unassigned-import': 'off',
57
- 'import/no-unresolved': ['error', {
58
- ignore: ['^#']
59
- }],
60
- 'import/no-unused-modules': 'off', // TODO: Reconsider
61
- 'import/no-useless-path-segments': ['error', {
62
- commonjs: true,
63
- noUselessIndex: false
64
- }],
65
- 'import/no-webpack-loader-syntax': 'error',
66
- 'import/order': ['error', {
67
- alphabetize: {
68
- caseInsensitive: true,
69
- order: 'asc',
70
- orderImportKind: 'ignore'
71
- },
72
- distinctGroup: true,
73
- groups: ['builtin', 'external', 'type', 'internal', 'parent', 'sibling', 'index', 'object', 'unknown'],
74
- 'newlines-between': 'always-and-inside-groups',
75
- pathGroups: [{
76
- group: 'internal',
77
- pattern: '#src/**'
78
- }, {
79
- group: 'parent',
80
- pattern: '../**/styles.js',
81
- position: 'after'
82
- }, {
83
- group: 'parent',
84
- pattern: '../**/styles.css',
85
- position: 'after'
86
- }, {
87
- group: 'parent',
88
- pattern: '../**/styles.less',
89
- position: 'after'
90
- }, {
91
- group: 'sibling',
92
- pattern: './**/styles.js',
93
- position: 'after'
94
- }, {
95
- group: 'sibling',
96
- pattern: './**/styles.css',
97
- position: 'after'
98
- }, {
99
- group: 'sibling',
100
- pattern: './**/styles.less',
101
- position: 'after'
102
- }],
103
- warnOnUnassignedImports: false
104
- }],
105
- 'import/prefer-default-export': 'off',
106
- 'import/unambiguous': 'off' // TODO: Reconsider
107
- }
108
- };