Skip to content

Commit

Permalink
Move to eslint-config-love
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Apr 11, 2024
1 parent aa074b0 commit b001a02
Show file tree
Hide file tree
Showing 5 changed files with 352 additions and 329 deletions.
5 changes: 1 addition & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["standard-with-typescript", "prettier"],
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": ["love", "prettier"],
"rules": {
"@typescript-eslint/no-import-type-side-effects": "error",
"@typescript-eslint/consistent-type-imports": [
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Bootstrap a new TypeScript module in five minutes or less.
- Native [ECMAScript module] compatible with [Node.js].
- Package management with [npm].
- Examples with configurable options and arguments powered by [yargs] with [landlubber].
- Linting with the [JavaScript Standard Style] using [ESLint].
- Linting with the [JavaScript Standard Style] and [eslint-config-love] using [ESLint].
- [Prettier] code.
- Futuristic debuggable unit testing with [AVA].
- Code coverage reporting with [Istanbul] and [c8].
Expand All @@ -31,6 +31,7 @@ Bootstrap a new TypeScript module in five minutes or less.
[GitHub Actions]: https://github.com/features/actions
[Istanbul]: https://istanbul.js.org/
[JavaScript Standard Style]: https://standardjs.com/
[eslint-config-love]: https://github.com/mightyiam/eslint-config-love
[Keep a CHANGELOG]: https://keepachangelog.com/
[Node.js]: https://nodejs.org/
[Prettier]: https://prettier.io/
Expand Down
2 changes: 1 addition & 1 deletion makenew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ makenew () {
read -p '> GitHub user or organization name (my-user): ' mk_user
read -p '> GitHub repository name (my-repo): ' mk_repo

sed_delete README.md '10,103d'
sed_delete README.md '10,104d'
sed_insert README.md '10i' 'TODO'

find_replace "s/^ \"version\": \".*\"/ \"version\": \"0.0.0\"/g"
Expand Down
Loading

0 comments on commit b001a02

Please sign in to comment.