simple-images-upload/.eslintrc.js

28 lines
419 B
JavaScript
Raw Normal View History

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