This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.eslintrc
106 lines (104 loc) · 4.34 KB
/
.eslintrc
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
{ "ecmaFeatures" : {
"modules" : true
},
"env" : {
"browser" : true,
"es6" : true /** all es6 features except modules */
},
"plugins" : [
"scanjs-rules",
"no-unsafe-innerhtml"
],
"rules" : {
/** useful rules from eslint **/
/** no-unsafe-innerhtml rule **/
"no-unsafe-innerhtml/no-unsafe-innerhtml" : 2,
/** ScanJS rules **/
"scanjs-rules/assign_to_hostname" : 1,
"scanjs-rules/assign_to_href" : 1,
"scanjs-rules/assign_to_location" : 1,
"scanjs-rules/assign_to_mozAudioChannel" : 1,
"scanjs-rules/assign_to_mozAudioChannelType" : 1,
"scanjs-rules/assign_to_onmessage" : 1,
"scanjs-rules/assign_to_pathname" : 1,
"scanjs-rules/assign_to_protocol" : 1,
"scanjs-rules/assign_to_search" : 1,
"scanjs-rules/assign_to_src" : 1,
"scanjs-rules/call_Function" : 1,
"scanjs-rules/call_addEventListener" : 1,
"scanjs-rules/call_addEventListener_cellbroadcastmsgchanged" : 1,
"scanjs-rules/call_addEventListener_deviceproximity" : 1,
"scanjs-rules/call_addEventListener_message" : 1,
"scanjs-rules/call_addEventListener_moznetworkdownload" : 1,
"scanjs-rules/call_addEventListener_moznetworkupload" : 1,
"scanjs-rules/call_connect" : 1,
"scanjs-rules/call_eval" : 1,
"scanjs-rules/call_execScript" : 1,
"scanjs-rules/call_generateCRMFRequest" : 1,
"scanjs-rules/call_getDeviceStorage_apps" : 1,
"scanjs-rules/call_getDeviceStorage_crashes" : 1,
"scanjs-rules/call_getDeviceStorage_music" : 1,
"scanjs-rules/call_getDeviceStorage_pictures" : 1,
"scanjs-rules/call_getDeviceStorage_sdcard" : 1,
"scanjs-rules/call_getDeviceStorage_videos" : 1,
"scanjs-rules/call_hide" : 1,
"scanjs-rules/call_mozSetMessageHandler" : 1,
"scanjs-rules/call_mozSetMessageHandler_activity" : 1,
"scanjs-rules/call_mozSetMessageHandler_wappush_received" : 1,
"scanjs-rules/call_open_attention" : 1,
"scanjs-rules/call_open_remote=true" : 1,
"scanjs-rules/call_parseFromString" : 1,
"scanjs-rules/call_setAttribute_mozapp" : 1,
"scanjs-rules/call_setAttribute_mozbrowser" : 1,
"scanjs-rules/call_setImmediate" : 1,
"scanjs-rules/call_setInterval" : 1,
"scanjs-rules/call_setMessageHandler_connect" : 1,
"scanjs-rules/call_setTimeout" : 1,
"scanjs-rules/call_write" : 1,
"scanjs-rules/call_writeln" : 1,
"scanjs-rules/identifier_indexedDB" : 1,
"scanjs-rules/identifier_localStorage" : 1,
"scanjs-rules/identifier_sessionStorage" : 1,
"scanjs-rules/new_Function" : 1,
"scanjs-rules/new_MozActivity" : 1,
"scanjs-rules/new_MozSpeakerManager" : 1,
"scanjs-rules/new_Notification" : 1,
"scanjs-rules/object_mozSystem" : 1,
"scanjs-rules/property_addIdleObserver" : 1,
"scanjs-rules/property_createContextualFragment" : 1,
"scanjs-rules/property_geolocation" : 1,
"scanjs-rules/property_getDataStores" : 1,
"scanjs-rules/property_getDeviceStorage" : 1,
"scanjs-rules/property_getUserMedia" : 1,
"scanjs-rules/property_indexedDB" : 1,
"scanjs-rules/property_lastKnownHomeNetwork" : 1,
"scanjs-rules/property_lastKnownNetwork" : 1,
"scanjs-rules/property_localStorage" : 1,
"scanjs-rules/property_mgmt" : 1,
"scanjs-rules/property_mozAlarms" : 1,
"scanjs-rules/property_mozBluetooth" : 1,
"scanjs-rules/property_mozCameras" : 1,
"scanjs-rules/property_mozCellBroadcast" : 1,
"scanjs-rules/property_mozContacts" : 1,
"scanjs-rules/property_mozDownloadManager" : 1,
"scanjs-rules/property_mozFMRadio" : 1,
"scanjs-rules/property_mozInputMethod" : 1,
"scanjs-rules/property_mozKeyboard" : 1,
"scanjs-rules/property_mozMobileConnection" : 1,
"scanjs-rules/property_mozMobileConnections" : 1,
"scanjs-rules/property_mozMobileMessage" : 1,
"scanjs-rules/property_mozNetworkStats" : 1,
"scanjs-rules/property_mozNfc" : 1,
"scanjs-rules/property_mozNotification" : 1,
"scanjs-rules/property_mozPermissionSettings" : 1,
"scanjs-rules/property_mozPhoneNumberService" : 1,
"scanjs-rules/property_mozPower" : 1,
"scanjs-rules/property_mozSettings" : 1,
"scanjs-rules/property_mozTCPSocket" : 1,
"scanjs-rules/property_mozTelephony" : 1,
"scanjs-rules/property_mozTime" : 1,
"scanjs-rules/property_mozVoicemail" : 1,
"scanjs-rules/property_mozWifiManager" : 1,
"scanjs-rules/property_sessionStorage" : 1
}
}