Skip to content

Commit

Permalink
chore(lint): upgrade ESLint to version 9
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMurphy committed Sep 17, 2024
1 parent 04513dd commit 2cd6d0f
Show file tree
Hide file tree
Showing 4 changed files with 481 additions and 477 deletions.
27 changes: 27 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import js from '@eslint/js';
import tsParser from '@typescript-eslint/parser';
import tsPlugin from '@typescript-eslint/eslint-plugin';

export default [
// ESLint's recommended rules for JavaScript
js.configs.recommended,

// Configuration for TypeScript files
{
files: ['**/*.ts'],
languageOptions: {
parser: tsParser,
parserOptions: {
project: './tsconfig.json',
},
},
plugins: {
'@typescript-eslint': tsPlugin,
},
rules: {
// Include TypeScript ESLint recommended rules
...tsPlugin.configs.recommended.rules,
...tsPlugin.configs['recommended-requiring-type-checking'].rules,
},
},
];
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ portletApiDependency=org.apache.portals:portlet-api_2.1.0_spec:1.0
gradleDockerPluginVersion=3.2.4
hsqldbVersion=2.5.1
jasyptVersion=1.9.3
nodejsVersion=20.15.1
nodejsVersion=20.17.0
waroverlayPluginVersion=0.9.3

# Dependencies used by overlays/ projects and custom code
Expand Down
Loading

0 comments on commit 2cd6d0f

Please sign in to comment.