Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor #1

Merged
merged 13 commits into from
Oct 25, 2022
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
test
node_modules
dist
.eslintrc.js
13 changes: 7 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/**
* @type {import("eslint").Linter.Config}
*/
module.exports = {
env: {
browser: true
},
// The only thing we want ESLint to do is yell at us if we accidentally use ES2015+.
// This is because we don't want/need to use Babel in this project.
// We specifically DO NOT want ESLint to try to enforce a style guide on us.
// We use prettier for that.
plugins: ['es5'],
extends: ['plugin:es5/no-es2015', 'plugin:es5/no-es2016', 'prettier']
plugins: ['@typescript-eslint'],
extends: ['prettier'],
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended']
};
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run precommit
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

31 changes: 0 additions & 31 deletions demo/demo.css

This file was deleted.

106 changes: 0 additions & 106 deletions demo/index.html

This file was deleted.

Loading