1- /**
2- * This is intended to be a basic starting point for linting in your app.
3- * It relies on recommended configs out of the box for simplicity, but you can
4- * and should modify this configuration to best suit your team's needs.
5- */
1+ /*************************************************************************
2+ Copyright (c) 2025, ETH Zurich. All rights reserved.
3+
4+ Please, refer to the LICENSE file in the root directory.
5+ SPDX-License-Identifier: BSD-3-Clause
6+ *************************************************************************/
67
78/** @type {import('eslint').Linter.Config } */
89module . exports = {
@@ -56,7 +57,7 @@ module.exports = {
5657 // Typescript
5758 {
5859 files : [ '**/*.{ts,tsx}' ] ,
59- plugins : [ '@typescript-eslint' , 'import' ] ,
60+ plugins : [ '@typescript-eslint' , 'import' , 'header' ] ,
6061 parser : '@typescript-eslint/parser' ,
6162 settings : {
6263 'import/internal-regex' : '^~/' ,
@@ -80,6 +81,18 @@ module.exports = {
8081 'react-hooks/exhaustive-deps' : 'off' ,
8182 '@typescript-eslint/no-explicit-any' : 'off' ,
8283 '@typescript-eslint/no-unused-vars' : 'off' ,
84+ 'header/header' : [
85+ 2 ,
86+ 'block' ,
87+ [
88+ '************************************************************************' ,
89+ ' Copyright (c) 2025, ETH Zurich. All rights reserved.' ,
90+ '' ,
91+ ' Please, refer to the LICENSE file in the root directory.' ,
92+ ' SPDX-License-Identifier: BSD-3-Clause' ,
93+ '************************************************************************' ,
94+ ] ,
95+ ] ,
8396 } ,
8497 } ,
8598
0 commit comments