Skip to content

Commit

Permalink
option for linting and prettier added and prettier ran for the first …
Browse files Browse the repository at this point in the history
…time
  • Loading branch information
niczem committed Dec 7, 2023
1 parent e79bb78 commit 57dc3da
Show file tree
Hide file tree
Showing 15 changed files with 5,776 additions and 1,226 deletions.
23 changes: 23 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
env: {
es2021: true,
node: true,
},
extends: "standard-with-typescript",
overrides: [
{
env: {
node: true,
},
files: [".eslintrc.{js,cjs}"],
parserOptions: {
sourceType: "script",
},
},
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
rules: {},
};
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
declare module 'position-api' {
// Define the exported types and interfaces here
}
declare module "position-api" {
// Define the exported types and interfaces here
}
Loading

0 comments on commit 57dc3da

Please sign in to comment.