File tree Expand file tree Collapse file tree 1 file changed +29
-18
lines changed Expand file tree Collapse file tree 1 file changed +29
-18
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2013-present, creativeLabs Lukasz Holeczek.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ 'use strict'
9
+
1
10
module . exports = {
11
+ root : true , // So parent files don't get applied
12
+ env : {
13
+ es6 : true ,
14
+ browser : true ,
15
+ node : true ,
16
+ } ,
2
17
parser : '@typescript-eslint/parser' , // Specifies the ESLint parser
3
18
parserOptions : {
4
19
ecmaVersion : 2020 , // Allows for the parsing of modern ECMAScript features
@@ -29,13 +44,11 @@ module.exports = {
29
44
{
30
45
files : [ '**/*.mjs' ] ,
31
46
env : {
32
- env : {
33
- browser : false ,
34
- node : true ,
35
- } ,
36
- parserOptions : {
37
- sourceType : 'module' ,
38
- } ,
47
+ browser : false ,
48
+ node : true ,
49
+ } ,
50
+ parserOptions : {
51
+ sourceType : 'module' ,
39
52
} ,
40
53
} ,
41
54
{
@@ -47,17 +60,15 @@ module.exports = {
47
60
{
48
61
files : [ 'packages/docs/build/**' ] ,
49
62
env : {
50
- env : {
51
- browser : false ,
52
- node : true ,
53
- } ,
54
- parserOptions : {
55
- sourceType : 'script' ,
56
- } ,
57
- rules : {
58
- 'no-console' : 'off' ,
59
- strict : 'error' ,
60
- } ,
63
+ browser : false ,
64
+ node : true ,
65
+ } ,
66
+ parserOptions : {
67
+ sourceType : 'script' ,
68
+ } ,
69
+ rules : {
70
+ 'no-console' : 'off' ,
71
+ strict : 'error' ,
61
72
} ,
62
73
} ,
63
74
] ,
You can’t perform that action at this time.
0 commit comments