-
Notifications
You must be signed in to change notification settings - Fork 629
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc2a122
commit 2944f2e
Showing
839 changed files
with
4,567 additions
and
2,566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@atproto/oauth-types": patch | ||
--- | ||
|
||
Support environments not providing URL.canParse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,95 @@ | ||
{ | ||
"root": true, | ||
// parse TypeScript files | ||
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser | ||
"parser": "@typescript-eslint/parser", | ||
// configure eslint using options described at | ||
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin | ||
"plugins": ["@typescript-eslint"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/base", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended", | ||
"prettier" | ||
"plugin:import/recommended", | ||
"plugin:import/typescript", | ||
"prettier", | ||
], | ||
"plugins": ["n"], | ||
"ignorePatterns": ["dist", "node_modules"], | ||
"rules": { | ||
"no-var": "error", | ||
"prefer-const": "warn", | ||
"no-misleading-character-class": "warn", | ||
"eqeqeq": ["error", "always", { "null": "ignore" }], | ||
"n/global-require": "error", | ||
"n/no-extraneous-import": "error", | ||
"n/prefer-node-protocol": "error", | ||
"import/export": "off", | ||
"import/namespace": "off", | ||
"import/order": [ | ||
"error", | ||
{ | ||
"named": true, | ||
"distinctGroup": true, | ||
"alphabetize": { "order": "asc" }, | ||
"newlines-between": "always", | ||
"groups": [ | ||
"builtin", | ||
"external", | ||
"internal", | ||
"parent", | ||
["index", "sibling"], | ||
"object", | ||
], | ||
}, | ||
], | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" } | ||
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }, | ||
], | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
"@typescript-eslint/no-empty-interface": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/no-explicit-any": "off" | ||
"@typescript-eslint/no-explicit-any": "off", | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["jest.config.js"], | ||
"env": { "commonjs": true } | ||
"env": { "commonjs": true }, | ||
}, | ||
{ | ||
"files": ["jest.setup.js"], | ||
"env": { "jest": true } | ||
"env": { "jest": true }, | ||
}, | ||
{ | ||
"files": "*.js", | ||
"rules": { | ||
"@typescript-eslint/no-var-requires": "off" | ||
} | ||
} | ||
] | ||
"@typescript-eslint/no-var-requires": "off", | ||
}, | ||
}, | ||
{ | ||
"files": ["**/*.test.ts", "**/tests/**/*.ts"], | ||
"rules": { | ||
"n/no-extraneous-import": [ | ||
"error", | ||
{ "allowModules": ["@atproto/dev-env"] }, | ||
], | ||
}, | ||
}, | ||
], | ||
"settings": { | ||
"node": { "version": ">=18.7.0" }, | ||
"import/internal-regex": "^@atproto(?:-labs)?/", | ||
"import/parsers": { "@typescript-eslint/parser": [".ts", ".tsx"] }, | ||
"import/resolver": { | ||
"typescript": { | ||
"project": [ | ||
"tsconfig.json", | ||
"packages/oauth/*/tsconfig.json", | ||
"packages/internal/*/tsconfig.json", | ||
"packages/*/tsconfig.json", | ||
], | ||
}, | ||
"node": { | ||
"extensions": [".js", ".jsx", ".json"], | ||
}, | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.