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+
110module . exports = {
11+ root : true , // So parent files don't get applied
12+ env : {
13+ es6 : true ,
14+ browser : true ,
15+ node : true ,
16+ } ,
217 parser : '@typescript-eslint/parser' , // Specifies the ESLint parser
318 parserOptions : {
419 ecmaVersion : 2020 , // Allows for the parsing of modern ECMAScript features
@@ -29,13 +44,11 @@ module.exports = {
2944 {
3045 files : [ '**/*.mjs' ] ,
3146 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' ,
3952 } ,
4053 } ,
4154 {
@@ -47,17 +60,15 @@ module.exports = {
4760 {
4861 files : [ 'packages/docs/build/**' ] ,
4962 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' ,
6172 } ,
6273 } ,
6374 ] ,
You can’t perform that action at this time.
0 commit comments