forked from repsac-by/gnome-shell-extension-quake-mode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
43 lines (42 loc) · 1022 Bytes
/
.eslintrc.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
'use strict';
/* eslint-env node */
module.exports = {
root: true,
parserOptions: {
sourceType: 'script',
},
env: {
'es2017': true,
},
globals: {
global: "readonly",
imports: "readonly",
log: "readonly",
},
extends: 'eslint:recommended',
rules: {
'indent': [ 1, 'tab' ],
'quotes': [ 0, 'double', 'avoid-escape' ],
'linebreak-style': [ 1, 'unix' ],
'newline-after-var': [ 0, 'always' ],
'semi': [ 1, 'always' ],
'operator-assignment': [ 1, 'always' ],
'block-spacing': [ 1, 'always' ],
'operator-linebreak': [ 1, 'before' ],
'constructor-super': 1,
'no-console': 0,
'no-unused-vars': 1,
'no-trailing-spaces': 1,
'keyword-spacing': 1,
'camelcase': 0,
'no-extra-semi': 1,
'strict': [ 1, 'global' ],
'comma-dangle': [ 1, 'only-multiline' ],
'no-else-return': 1,
'yield-star-spacing': [ 1, 'after' ],
'no-mixed-spaces-and-tabs': [ 1, 'smart-tabs' ],
'array-bracket-spacing': [ 1, 'always' ],
'object-curly-spacing': [ 1, 'always' ],
'space-in-parens': 1,
}
};