Skip to content

Commit

Permalink
eslint dev config fix, README and TODO documents changed
Browse files Browse the repository at this point in the history
  • Loading branch information
burtek committed May 13, 2023
1 parent 32b0989 commit 8e7788e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 6 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

This is repository with my `eslint` configs for multiple purposes that are used (or will be used) in my other projects.

## WARNING

This README is outdated, please wait for 2.0.0 docs.

## Install

```bash
Expand Down
10 changes: 10 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# TODO

- update README and docs
- create github page
- create no-splice-add and no-splice-remove rules and include in base
- fix TS issues and upgrade plugins as they transition to FlatConfig
- add tests
- create release workflow for github
- TS declaration for config
- run `tsc` on precommit
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineFlatConfig } from 'eslint-define-config';
import globals from 'globals';

import { prepareConfig } from './src/configs/index.js';
import { prepareConfig } from './configs/index.js';


export default defineFlatConfig([
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@
"node": ">=14"
},
"type": "module",
"main": "index.js"
"main": "index.js",
"types": "index.d.ts"
}
10 changes: 6 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"moduleResolution": "nodenext",
"allowJs": true,
"checkJs": true,
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "types",
// "declaration": true,
// "emitDeclarationOnly": true,
// "outFile": "index.js",
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"exactOptionalPropertyTypes": true
}
},
"exclude": ["types.d.ts"]
}

0 comments on commit 8e7788e

Please sign in to comment.