Skip to content

Commit

Permalink
Switch to eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
anttiviljami committed Oct 14, 2023
1 parent df9cf82 commit 87bb2cb
Show file tree
Hide file tree
Showing 27 changed files with 1,619 additions and 522 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dist
21 changes: 21 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* eslint-env node */
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
root: true,
ignorePatterns: ["lib/*"],
env: {
node: true,
jest: true
},
rules: {
"ordered-imports": 0,
"object-literal-sort-keys": 0,
"no-string-literal": 0,
"object-literal-key-quotes": 0,
"no-console": 0,
"@typescript-eslint/no-explicit-any": 1,
"@typescript-eslint/no-unused-vars": [1, { "argsIgnorePattern": "^_" }],
}
};
Loading

0 comments on commit 87bb2cb

Please sign in to comment.