Skip to content

Commit

Permalink
add frontedn config
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Nov 18, 2024
1 parent 8b37bb8 commit cbf0993
Showing 1 changed file with 27 additions and 10 deletions.
37 changes: 27 additions & 10 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -259,18 +259,35 @@

<typescript>
<includes> <!-- You have to set the target manually -->
<include>src/**/*.ts</include>
<include>../frontend/src/app/**/*.ts</include>
</includes>

<tsfmt/> <!-- has its own section below -->
<prettier/> <!-- has its own section below -->
<eslint/> <!-- has its own section below -->
<biome/> <!-- has its own section below -->

<licenseHeader>
<content>/* (C)$YEAR */</content> <!-- or <file>${project.basedir}/license-header</file> -->
<delimiter>(import|const|declare|export|var) </delimiter>
</licenseHeader>
<eslint>
<!-- Specify at most one of the following 3 configs: either 'eslintVersion', 'devDependencies' or 'devDependencyProperties' -->
<eslintVersion>8.30.0</eslintVersion>
<!-- mandatory: provide either a configFile or a configJs object -->
<!-- <configFile>${project.basedir}/.eslintrc.js</configFile>-->
<configJs>
{
env: {
browser: true,
es2021: true
},
extends: 'standard-with-typescript',
overrides: [
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: '../../frontend/tsconfig.json',
},
rules: {
}
}
</configJs>
<!-- recommended: provide a tsconfigFile - especially when using the styleguides -->
<tsconfigFile>${project.basedir}/../frontend/tsconfig.json</tsconfigFile>
</eslint>
</typescript>
</configuration>
</plugin>
Expand Down

0 comments on commit cbf0993

Please sign in to comment.