Skip to content

Commit

Permalink
eslint 9, flat config
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoz committed Oct 15, 2024
1 parent e1c1704 commit 0005fe6
Show file tree
Hide file tree
Showing 16 changed files with 3,705 additions and 2,949 deletions.
5 changes: 5 additions & 0 deletions .changeset/tender-poets-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-immutable-class": major
---

Switch to eslint flat config
12 changes: 0 additions & 12 deletions .eslintrc

This file was deleted.

21 changes: 21 additions & 0 deletions eslint-config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import awesomeCodeStyle, { configs } from '@awesome-code-style/eslint-config';
import notice from 'eslint-plugin-notice';

export default [
...awesomeCodeStyle,
...configs.typeChecked,
{
plugins: {
notice,
},
rules: {
'notice/notice': [
2,
{
mustMatch: 'Copyright [0-9-]+ Imply Data, Inc\\.',
},
],
'max-classes-per-file': [0],
},
},
];
Loading

0 comments on commit 0005fe6

Please sign in to comment.