forked from SalesforceCommerceCloud/pwa-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
21 lines (21 loc) · 694 Bytes
/
.eslintrc.js
File metadata and controls
21 lines (21 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module.exports = {
root: true,
plugins: ['header'],
rules: {
'header/header': [
2,
'block',
[
'',
{
pattern: '^ \\* Copyright \\(c\\) \\d{4}, (salesforce.com, inc|Salesforce, Inc)\\.$',
template: ` * Copyright (c) ${new Date().getFullYear()}, Salesforce, Inc.`
},
' * All rights reserved.',
' * SPDX-License-Identifier: BSD-3-Clause',
' * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause',
' '
]
]
}
}