Skip to content

Commit

Permalink
style: migrate to @bifravst/eslint-config-typescript and vite
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Feb 20, 2024
1 parent 10de4bf commit 9357896
Show file tree
Hide file tree
Showing 10 changed files with 4,553 additions and 12,182 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

11 changes: 0 additions & 11 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] }
module.exports = { extends: ["@commitlint/config-conventional"] };
13 changes: 2 additions & 11 deletions dev/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
Expand All @@ -21,15 +21,6 @@
</head>
<body>
<div id="root" />
<script
src="https://unpkg.com/react@16/umd/react.development.js"
defer
></script>
<script
src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"
defer
></script>
<script src="./lib.js" defer></script>
<script src="./demo.js" defer></script>
<script src="/src/demo.tsx" type="module"></script>
</body>
</html>
2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import config from '@bifravst/eslint-config-typescript'
export default [...config, { ignores: ['dist/**', 'vite.config.ts'] }]
Loading

0 comments on commit 9357896

Please sign in to comment.