forked from cvat-ai/cvat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslintrc.conf.js
131 lines (130 loc) · 3.57 KB
/
eslintrc.conf.js
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/*
* Copyright (C) 2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*/
module.exports = {
'env': {
'browser': true,
'es6': true,
'jquery': true,
'qunit': true,
},
"extends": "eslint:recommended",
'rules': {
'indent': [
'warn',
4
],
'linebreak-style': [
'error',
'unix'
],
'semi': [
'warn'
],
'no-extra-semi': [
'warn'
],
'no-console': [
'warn'
],
},
'globals': {
// from attributeAnnotationMode.js
'AAMController': true,
'AAMModel': true,
'AAMView': true,
'AAMUndefinedKeyword': true,
// from annotationParser.js
'AnnotationParser': true,
// from annotationUI.js
'callAnnotationUI': true,
'blurAllElements': true,
'drawBoxSize': true,
'copyToClipboard': true,
// from base.js
'showMessage': true,
'showOverlay': true,
'confirm': true,
'dumpAnnotationRequest': true,
'createExportContainer': true,
'ExportType': true,
'getExportTargetContainer': true,
// from idGenerator.js
'IncrementIdGenerator': true,
'ConstIdGenerator': true,
// from shapeCollection.js
'ShapeCollectionModel': true,
'ShapeCollectionController': true,
'ShapeCollectionView': true,
// from shapeCreator.js
'ShapeCreatorModel': true,
'ShapeCreatorController': true,
'ShapeCreatorView': true,
// from shapeGrouper.js
'ShapeGrouperModel': true,
'ShapeGrouperController': true,
'ShapeGrouperView': true,
// from labelsInfo.js
'LabelsInfo': true,
// from listener.js
'Listener': true,
// from logger.js
'Logger': true,
// from shapeMerger.js
'ShapeMergerModel': true,
'ShapeMergerController': true,
'ShapeMergerView': true,
// from shapes.js
'PolyShapeModel': true,
'PolyShapeView': true,
'buildShapeModel': true,
'buildShapeController': true,
'buildShapeView': true,
'STROKE_WIDTH': true,
'POINT_RADIUS': true,
'AREA_TRESHOLD': true,
'SELECT_POINT_STROKE_WIDTH': true,
// from mousetrap.js
'Mousetrap': true,
// from platform.js
'platform': true,
// from player.js
'PlayerController': true,
'PlayerModel': true,
'PlayerView': true,
// from server.js
'serverRequest': true,
'saveJobRequest': true,
// from shapeBuffer.js
'ShapeBufferController': true,
'ShapeBufferModel': true,
'ShapeBufferView': true,
// from trackFilter.js
'FilterModel': true,
'FilterController': true,
'FilterView': true,
// from shapeSplitter.js
'ShapeSplitter': true,
// from userConfig.js
'Config': true,
// from cookies.js
'Cookies': true,
// from dashboard django template
'maxUploadCount': true,
'maxUploadSize': true,
// from SVG.js
'SVG': true,
// from history.js
'HistoryModel': true,
'HistoryController': true,
'HistoryView': true,
// from polyshapeEditor.js
'PolyshapeEditorModel': true,
'PolyshapeEditorController': true,
'PolyshapeEditorView': true,
// from coordinateTranslator
'CoordinateTranslator': true,
},
};