Skip to content

Commit d6b9093

Browse files
authored
Merge pull request #34 from implydata/node-20
Node 20, code style, etc.
2 parents 76b7155 + cc5be02 commit d6b9093

11 files changed

+6352
-5517
lines changed

.changeset/loud-donuts-tie.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.eslintrc

-9
This file was deleted.

eslint.config.mjs

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* Copyright (c) Imply Data, Inc. All rights reserved.
3+
*
4+
* This software is the confidential and proprietary information
5+
* of Imply Data, Inc.
6+
*/
7+
8+
import awesomeCodeStyle, { configs } from '@awesome-code-style/eslint-config';
9+
import notice from 'eslint-plugin-notice';
10+
import globals from 'globals';
11+
12+
const TYPESCRIPT_FILES = ['**/*.ts', '**/*.tsx'];
13+
14+
export default [
15+
...awesomeCodeStyle,
16+
...configs.typeChecked.map(config => ({ ...config, files: TYPESCRIPT_FILES })),
17+
{
18+
plugins: {
19+
notice,
20+
},
21+
rules: {
22+
'notice/notice': [2, { mustMatch: 'Copyright (\\(c\\)|[\\d+-]+) Imply Data, Inc.' }],
23+
},
24+
},
25+
{
26+
files: ['*.mjs'],
27+
languageOptions: {
28+
globals: globals.node,
29+
},
30+
rules: {
31+
'@typescript-eslint/no-require-imports': [0],
32+
},
33+
},
34+
];

0 commit comments

Comments
 (0)