Skip to content

Commit

Permalink
Chore/fix eslint (#87)
Browse files Browse the repository at this point in the history
* chore: move devDependencies to root package.json

* fix: remove test files from tsconfig.json

* refactor: replace eslint config file

* refactor: lint files and fix type errors
  • Loading branch information
neodmy authored Nov 6, 2023
1 parent a581b4e commit 3e94b1b
Show file tree
Hide file tree
Showing 28 changed files with 1,487 additions and 1,492 deletions.
22 changes: 22 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
module.exports = {
env: {
es2021: true,
node: true
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended-type-checked',
'plugin:@typescript-eslint/stylistic-type-checked'
],
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['packages/*/*/tsconfig.json'],
},
plugins: ['@typescript-eslint'],
root: true,
ignorePatterns: ['node_modules', 'packages/*/*/dist'],
rules: {
'no-console': 'error'
}
};
29 changes: 0 additions & 29 deletions .eslintrc.json

This file was deleted.

Loading

0 comments on commit 3e94b1b

Please sign in to comment.