.eslintrc.js
module.exports = {
env: {
browser: true,
es6: true,
amd: true,
node: true,
},
extends: ['eslint:recommended', 'plugin:lit/recommended'],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: 'babel-eslint',
plugins: ['lit'],
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
ecmaFeatures: {
legacyDecorators: true,
},
},
rules: {
'no-process-env': 'off',
},
};