Skip to content

Commit

Permalink
Update linter, dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
dscalzi committed Aug 13, 2023
1 parent 5da3d6c commit 11f8a72
Show file tree
Hide file tree
Showing 24 changed files with 273 additions and 316 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
dist
dist
.eslintrc.cjs
54 changes: 54 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
module.exports = {
root: true,
plugins: [
'@typescript-eslint'
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: true,
tsconfigRootDir: __dirname
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended-type-checked',
'plugin:@typescript-eslint/stylistic-type-checked'
],
rules: {
semi: 'off',
'@typescript-eslint/semi': [
'error',
'never'
],
quotes: 'off',
'@typescript-eslint/quotes': [
'error',
'single'
],
indent: 'off',
'@typescript-eslint/indent': [
'error',
4
],
'@typescript-eslint/member-delimiter-style': [
'error',
{
multiline: {
delimiter: 'none',
requireLast: false
},
singleline: {
delimiter: 'comma',
requireLast: false
}
}
],
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/explicit-function-return-type': ['warn'],
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/require-await': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/consistent-indexed-object-style': 'off',
'@typescript-eslint/prefer-nullish-coalescing': 'off'
}
}
43 changes: 0 additions & 43 deletions .eslintrc.json

This file was deleted.

Loading

0 comments on commit 11f8a72

Please sign in to comment.