Skip to content

Commit

Permalink
Merge pull request #34 from implydata/node-20
Browse files Browse the repository at this point in the history
Node 20, code style, etc.
  • Loading branch information
jgoz authored Nov 27, 2024
2 parents 76b7155 + cc5be02 commit d6b9093
Show file tree
Hide file tree
Showing 11 changed files with 6,352 additions and 5,517 deletions.
2 changes: 2 additions & 0 deletions .changeset/loud-donuts-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
9 changes: 0 additions & 9 deletions .eslintrc

This file was deleted.

34 changes: 34 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* Copyright (c) Imply Data, Inc. All rights reserved.
*
* This software is the confidential and proprietary information
* of Imply Data, Inc.
*/

import awesomeCodeStyle, { configs } from '@awesome-code-style/eslint-config';
import notice from 'eslint-plugin-notice';
import globals from 'globals';

const TYPESCRIPT_FILES = ['**/*.ts', '**/*.tsx'];

export default [
...awesomeCodeStyle,
...configs.typeChecked.map(config => ({ ...config, files: TYPESCRIPT_FILES })),
{
plugins: {
notice,
},
rules: {
'notice/notice': [2, { mustMatch: 'Copyright (\\(c\\)|[\\d+-]+) Imply Data, Inc.' }],
},
},
{
files: ['*.mjs'],
languageOptions: {
globals: globals.node,
},
rules: {
'@typescript-eslint/no-require-imports': [0],
},
},
];
Loading

0 comments on commit d6b9093

Please sign in to comment.