forked from GameDistribution/GD-HTML5
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
30 lines (29 loc) · 769 Bytes
/
.eslintrc.js
File metadata and controls
30 lines (29 loc) · 769 Bytes
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
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module',
},
env: {
es6: true,
node: true,
browser: true,
},
// extends: ['google'],
// // add your custom rules here
// 'rules': {
// // enable console logs
// 'no-console': 0,
// // change indentation to 4 spaces instead of 2
// 'indent': [2, 4],
// // allow paren-less arrow functions
// 'arrow-parens': 0,
// // allow async-await
// 'generator-star-spacing': 0,
// "max-len": [2, 160, 4, {
// "ignoreUrls": true,
// "ignoreComments": true,
// }]
// },
};