-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
39 lines (38 loc) · 972 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
"use strict";
module.exports = {
root: true,
extends: ["eslint:recommended", "prettier"],
// parser: "@babel/eslint-parser", // To use, uncomment this line and run `npm install eslint @babel/core @babel/eslint-parser --save-dev`
parserOptions: {
ecmaFeatures: {
globalReturn: true,
},
ecmaVersion: 2019,
sourceType: "module",
},
globals: {
alek: false,
},
env: {
browser: true,
es6: true,
},
plugins: [],
settings: {},
rules: {
quotes: ["error", "double"],
"no-console": 0,
"no-undef": 0,
"no-unused-vars": 0,
"comma-dangle": [
"error",
{
arrays: "always-multiline",
objects: "always-multiline",
imports: "always-multiline",
exports: "always-multiline",
functions: "ignore",
},
],
},
};