1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | module.exports = {
|
14 | 'env': {
|
15 | 'node': true,
|
16 | 'es6': true
|
17 | },
|
18 |
|
19 |
|
20 | 'root': true,
|
21 | 'parserOptions': {
|
22 | 'sourceType': 'script',
|
23 |
|
24 | 'ecmaVersion': 8
|
25 | },
|
26 | 'plugins': [
|
27 | 'header',
|
28 | ],
|
29 | 'extends': 'airbnb',
|
30 | 'rules': {
|
31 | 'strict': 0,
|
32 |
|
33 |
|
34 | 'no-underscore-dangle': ['error', {'allowAfterThis': true}],
|
35 |
|
36 |
|
37 | 'header/header': [2, 'block', ['',
|
38 | ' * Copyright 2018 Adobe. All rights reserved.',
|
39 | ' * This file is licensed to you under the Apache License, Version 2.0 (the "License");',
|
40 | ' * you may not use this file except in compliance with the License. You may obtain a copy',
|
41 | ' * of the License at http://www.apache.org/licenses/LICENSE-2.0',
|
42 | ' *',
|
43 | ' * Unless required by applicable law or agreed to in writing, software distributed under',
|
44 | ' * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS',
|
45 | ' * OF ANY KIND, either express or implied. See the License for the specific language',
|
46 | ' * governing permissions and limitations under the License.',
|
47 | ' ',
|
48 | ]]
|
49 | }
|
50 | };
|