Skip to content

Commit

Permalink
switch tslint to eslint + prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
horstenwillem committed Jul 22, 2022
1 parent a187af5 commit 637c9d0
Show file tree
Hide file tree
Showing 10 changed files with 1,797 additions and 762 deletions.
12 changes: 12 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,12 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
};
3 changes: 2 additions & 1 deletion .npmignore
Expand Up @@ -15,7 +15,8 @@ npm-debug.log*
tsconfig.json

# Linter
tslint.json
.eslintrc.js
.prettierrc

# Testing and coverage
test
Expand Down
8 changes: 8 additions & 0 deletions .prettierrc
@@ -0,0 +1,8 @@
{
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"bracketSpacing": true,
"printWidth": 120
}
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

0 comments on commit 637c9d0

Please sign in to comment.