Skip to content

Commit

Permalink
Update eslintrc
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <[email protected]>
  • Loading branch information
RyanL1997 committed Dec 12, 2023
1 parent 7fc626a commit 44aebba
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 9 deletions.
32 changes: 32 additions & 0 deletions gantt-chart/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

const LICENSE_HEADER = `/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/`;

module.exports = {
root: true,
extends: [
'@elastic/eslint-config-kibana',
'plugin:@elastic/eui/recommended',
'plugin:react-hooks/recommended',
],
overrides: [
{
files: ['**/*.{js,ts,tsx}'],
rules: {
'no-console': 0,
'@osd/eslint/require-license-header': [
'error',
{
licenses: [LICENSE_HEADER],
},
],
},
},
],
};
9 changes: 0 additions & 9 deletions gantt-chart/.eslintrc.yaml

This file was deleted.

0 comments on commit 44aebba

Please sign in to comment.