-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(parser): rewriting the library in typescript #932
Changes from 9 commits
79bb52b
1d37388
bb1a912
9e2d21f
8c5861c
edde00e
0184c5a
ccc4a7a
7663342
a8fd68f
52f807e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"extends": ["@readme/eslint-config", "@readme/eslint-config/typescript", "@readme/eslint-config/esm"], | ||
"root": true | ||
"root": true, | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "explicit" | ||
}, | ||
"editor.formatOnSave": true, | ||
} |
Large diffs are not rendered by default.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,10 @@ | ||
{ | ||
"root": true, | ||
"extends": [ | ||
"@readme/eslint-config", | ||
"@readme/eslint-config/typescript", | ||
], | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
}, | ||
"rules": { | ||
"camelcase": ["error", { "allow": ["OpenAPIV3_1"] }], | ||
"lines-between-class-members": "off", | ||
"no-continue": "off", | ||
"no-plusplus": "off", | ||
"no-restricted-syntax": "off", | ||
"no-underscore-dangle": "off", | ||
"no-use-before-define": "off", | ||
"prefer-rest-params": "off", | ||
"prefer-spread": "off" | ||
"prefer-spread": "off", | ||
}, | ||
"overrides": [ | ||
{ | ||
// The typings in this file are pretty bad right now, when we have native types we can | ||
// remove this. | ||
"files": ["lib/index.d.ts"], | ||
"rules": { | ||
"@typescript-eslint/consistent-indexed-object-style": "off", | ||
"@typescript-eslint/consistent-type-imports": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/sort-type-constituents": "off", | ||
"eslint-comments/no-unused-disable": "off", | ||
"lines-between-class-members": "off", | ||
"max-classes-per-file": "off", | ||
"quotes": "off", | ||
"typescript-sort-keys/interface": "off" | ||
} | ||
}, | ||
{ | ||
// These can all get removed when the library is moved over to native TS. | ||
"files": ["*.js"], | ||
"rules": { | ||
"@typescript-eslint/no-this-alias": "off", | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"@typescript-eslint/no-use-before-define": "off", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"eslint-comments/no-unused-disable": "off", | ||
"func-names": "off" | ||
} | ||
} | ||
] | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
considering this is now a named import:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was already planning on making all of this a breaking change once the warning work is in
planning on doing a docs only followup after merging this