journal.pl/.eslintrc.js
primakov cb525f8c19
Some checks failed
platform/bro/pipeline/head There was a failure building this commit
platform/bro/pipeline/pr-master There was a failure building this commit
#7 check
2024-03-29 13:26:04 +03:00

26 lines
458 B
JavaScript

module.exports = {
env: {
browser: true,
es2021: true,
},
extends: 'plugin:react/recommended',
overrides: [
{
env: {
node: true,
},
files: ['.eslintrc.{js,cjs}'],
parserOptions: {
sourceType: 'script',
},
},
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['@typescript-eslint', 'react'],
rules: {},
}