Skip to content

Commit

Permalink
Resolve problems, complete prettier and eslint integration
Browse files Browse the repository at this point in the history
  • Loading branch information
febeling committed Dec 7, 2023
1 parent a835948 commit 04fc547
Show file tree
Hide file tree
Showing 6 changed files with 433 additions and 13 deletions.
18 changes: 13 additions & 5 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
/* eslint-env node */
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
root: true
};
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "prettier"],
rules: {
"no-console": 1, // warning
"prettier/prettier": 2, // error
},
root: true,
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock.json -diff
Loading

0 comments on commit 04fc547

Please sign in to comment.