nquest/frontend/.eslintrc.cjs

35 lines
628 B
JavaScript
Raw Permalink Normal View History

2024-01-21 00:50:52 +03:00
module.exports = {
2024-05-05 19:42:33 +03:00
env: {
browser: true,
es2021: true
},
extends: [
'standard',
'plugin:react/recommended',
'plugin:react/jsx-runtime'
],
overrides: [
{
env: {
node: true
},
files: [
'.eslintrc.{js,cjs}'
],
parserOptions: {
sourceType: 'script'
}
}
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module'
},
plugins: [
'react'
],
rules: {
indent: ['error', 4]
2024-01-21 00:50:52 +03:00
}
}