-
Notifications
You must be signed in to change notification settings - Fork 37
/
ssr.js
23 lines (22 loc) · 851 Bytes
/
ssr.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
'use strict';
module.exports = {
extends: [require.resolve('./lib/defaults')],
plugins: [
'@lwc/eslint-plugin-lwc', // https://github.com/salesforce/eslint-plugin-lwc
],
rules: {
'@lwc/lwc/ssr-no-unsupported-properties': 'error',
'@lwc/lwc/ssr-no-restricted-browser-globals': 'error',
'@lwc/lwc/ssr-no-form-factor': 'error',
'@lwc/lwc/ssr-no-host-mutation-in-connected-callback': 'error',
'@lwc/lwc/ssr-no-node-env': 'error',
'@lwc/lwc/ssr-no-unsupported-node-api': 'error',
'@lwc/lwc/ssr-no-static-imports-of-user-specific-scoped-modules': 'error',
},
};