Skip to content

Commit

Permalink
replace tslint with eslint + resolve linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
horstenwillem committed Nov 8, 2022
1 parent e3bdc90 commit d283d18
Show file tree
Hide file tree
Showing 19 changed files with 14,570 additions and 1,444 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
@@ -0,0 +1,4 @@
# compiled output
/build
/node_modules
@types
12 changes: 12 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,12 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
env: {
node: true,
},
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
rules: {
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_', ignoreRestSiblings: true }],
},
};
2 changes: 1 addition & 1 deletion .npmignore
Expand Up @@ -15,7 +15,7 @@ npm-debug.log*
tsconfig.json

# Linter
tslint.json
.eslintrc.js

# 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
}

0 comments on commit d283d18

Please sign in to comment.