Skip to content

Commit 888fd98

Browse files
committed
Prettier & ESLint
- added prettier & eslint - fixed eslint errors/warnings Signed-off-by: JBBianchi <[email protected]>
1 parent 8d14b72 commit 888fd98

File tree

10 files changed

+2601
-33
lines changed

10 files changed

+2601
-33
lines changed

.eslintignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# don't ever lint node_modules
2+
node_modules
3+
# don't lint definitions
4+
src/lib/definitions/**/*
5+
# don't lint build output
6+
dist
7+
out-tsc

.eslintrc.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
root: true,
3+
parser: '@typescript-eslint/parser',
4+
plugins: [
5+
'@typescript-eslint',
6+
],
7+
extends: [
8+
'eslint:recommended',
9+
'plugin:@typescript-eslint/eslint-recommended',
10+
'plugin:@typescript-eslint/recommended',
11+
'prettier'
12+
],
13+
rules: {
14+
'@typescript-eslint/no-explicit-any': 0,
15+
'@typescript-eslint/no-inferrable-types': 0
16+
}
17+
};

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
dist
3+
out-tsc

.prettierrc.js

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)