forked from SteamDatabase/BrowserExtension
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.yml
More file actions
42 lines (37 loc) 路 1.06 KB
/
Copy path.eslintrc.yml
File metadata and controls
42 lines (37 loc) 路 1.06 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
---
root: true
env:
es6: true
browser: true
webextensions: true
extends: standard
globals:
_t: false
ExtensionApi: false
GetAppIDFromUrl: false
GetCurrentAppID: false
GetHomepage: false
GetLanguage: false
GetLocalResource: false
GetOption: false
SendMessageToBackgroundScript: false
SetOption: false
WriteLog: false
rules:
array-bracket-spacing: [error, always]
brace-style: [error, allman]
camelcase: off
comma-dangle: [error, always-multiline]
computed-property-spacing: [error, always]
indent: [error, tab, {SwitchCase: 1}]
keyword-spacing: [error, {before: false, after: false, overrides: {case: {after: true}, return: {after: true}, const: {after: true}, let: {after: true}, of: {before: true}, from: {before: true, after: true}}}]
no-tabs: off
no-trailing-spaces: [error]
no-var: [error]
object-curly-spacing: [error, always]
prefer-const: [error]
semi: [error, always]
space-before-function-paren: [error, never]
space-in-parens: [error, always]
standard/no-callback-literal: off
n/no-callback-literal: off