Skip to content

Commit

Permalink
Improve build configurations (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
G4brym authored Jun 19, 2023
2 parents cdda926 + ebfd1bb commit 29be203
Show file tree
Hide file tree
Showing 18 changed files with 1,726 additions and 900 deletions.
28 changes: 28 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"linebreak-style": ["error", "unix"],
"prefer-const": "off",
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"semi": ["error", "never"],
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
}
}
13 changes: 0 additions & 13 deletions .eslintrc.js

This file was deleted.

6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.github
.husky
config
tools
src
coverage
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
trailingComma: 'es5'
tabWidth: 2
semi: false
singleQuote: true
7 changes: 0 additions & 7 deletions .prettierrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion config/preparePublish.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var fs = require('fs')
import fs from 'fs'

const files = ['package.json']

Expand Down
14 changes: 0 additions & 14 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit 29be203

Please sign in to comment.