2023-09-23 20:54:44 +02:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
browser: true,
|
2023-09-25 09:59:05 +02:00
|
|
|
es2021: true,
|
2023-09-23 20:54:44 +02:00
|
|
|
},
|
|
|
|
extends: 'google',
|
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
env: {
|
2023-09-25 09:59:05 +02:00
|
|
|
node: true,
|
2023-09-23 20:54:44 +02:00
|
|
|
},
|
|
|
|
files: [
|
2023-09-25 09:59:05 +02:00
|
|
|
'.eslintrc.{js,cjs}',
|
2023-09-23 20:54:44 +02:00
|
|
|
],
|
|
|
|
parserOptions: {
|
2023-09-25 09:59:05 +02:00
|
|
|
sourceType: 'script',
|
|
|
|
},
|
|
|
|
},
|
2023-09-23 20:54:44 +02:00
|
|
|
],
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 'latest',
|
2023-09-25 09:59:05 +02:00
|
|
|
sourceType: 'module',
|
2023-09-23 20:54:44 +02:00
|
|
|
},
|
|
|
|
rules: {
|
2023-09-25 09:59:05 +02:00
|
|
|
'max-len': ['error', {'code': 120}],
|
|
|
|
},
|
|
|
|
};
|