Граф коммитов

26 Коммитов

Автор SHA1 Сообщение Дата
Konrad Jamrozik 83e289a7e5
`/web/pixel-server/` -> `/tools/pixel-server/` (#5624) 2023-03-06 12:24:45 -08:00
Konrad Jamrozik 32847c38f7
https://github.com/Azure/azure-sdk-tools/pull/4963 2023-01-26 11:22:46 -08:00
Scott Beddall 83548953ea
remove esoteric java tool (#1872) 2021-08-02 11:12:08 -07:00
Wes Haggard 9717e57a67
Update references from master to main (#1739) 2021-06-24 17:37:21 -07:00
Mike Harder af619585cf
Add http-fault-injector to repo README 2021-01-14 19:55:52 -08:00
Scott Beddall 6417a861e5
Maven CodeSnippet Plugin (#544)
* adding a plugin that can replace embedme and codesnippet usage in the azure-sdk CI builds
2020-05-12 10:31:15 -07:00
KarishmaGhiya 3261e7e7f6
Merge pull request #442 from willmtemple/remove-eslint-plugin
Removed eslint-plugin-azure-sdk
2020-03-25 10:38:34 -07:00
Wes Haggard 2d6ea6ff2d
add eng/common package sync badge 2020-03-20 16:20:27 -07:00
Will Temple ed34e4e47f
Removed eslint-plugin-azure-sdk
This plugin has been migrated to the JavaScript SDK repo at
https://github.com/Azure/azure-sdk-for-js
2020-03-20 11:36:29 -07:00
Wes Haggard 9b575291dd
Update README.md 2020-03-18 16:12:56 -07:00
Jonathan Giles 7302ae2f4b
Update README.md 2019-09-27 10:39:02 +12:00
Mitch Denny a74846e79a
Added a README file for Check Enforcer. (#198)
* Added a README file for Check Enforcer.

* Updated root README.

* Update README.md

* Added a README file for Check Enforcer.

* Updated root README.

* Update README.md
2019-09-26 11:14:02 +10:00
Arpan Laha 361ac8ff13
Add more rules to eslint-plugin-azure-sdk (#72)
* add contributors

* change package name

* change version

* forgot to add '-sdk' to one instance of plugin name

* add typescript-specific linting rules (for this repo)

* change snake_case to camelCase

* remove unnecessary identifiers

* remove explicit anys unless necessary

* add lint to prepare script

* fix ts-config-lib to want empty array instead of being not used at all

* change version and make typescript a dev/peer dependency

* move imported .gitignore to repo base .gitignore

* add package lock

* update descriptions

* add tests verifying plugin structure

* cleanup

* test using compiled JS instead of TS

* use same directory for tests and final dist

* restructure scripts

* update package-lock.json

* add ts-modules-no-default

* change filename checking to occur at highest level possible for least repetitions

* remove filename param from package.json rules

* add ts-modules-no-default tests

* fix ts-modules-no-default

* change ts-modules-no-default to ts-modules-named-only (need to add more checks

* forgot file

* clean up ts-modules-only-named

* change report node locations to better describe error sources

* add ts-error-handling rule

* use @types/node for path module declaration instead of separate file

* add ts-error-handling tests

* ts-error-handling-coercion placeholder

* restructure scripts

* remove npm hooks

* add ts-include-original-source rule

* clean up loop syntax

* add ts-include-original-source tests and fix rule

* forgot to add new file in previous commit

* clean up lint warnings

* remove redundant files from package.json files array

* add ts-package-json-files-required rule

* add comments explaining regex

* combine ts-include-original-source into ts-package-json-files-required

* remove ts-error-handling-coercion (will be added in a different pr)

* fix ts-package-json-files-required regex logic

* add ts-ship-type-declarations rule

* format

* add ts-ship-type-declarations tests

* make esquery syntax more strict when querying for property nodes

* add type checking to ts-ship-type-declarations

* add type checking to verifiers and jsdocs

* add jsdocs to tests

* rename ts-ship-type-declarations to ts-package-json-types

* add ts-package-json-engine-is-present rule

* add ts-package-json-engine-is-present tests

* add ts-versioning-semver rule

* add ts-versioning-semver rules

* clarify info on ts-versioning-semver

* move from src/ts to tools/

* add ts-config-target rule

* add ts-config-target tests

* move types to devDependencies

* make ts-config-module case-insensitive

* remove types from tsconfig.build.json

* reorder imports

* update package location in README

* add ts-config-moduleresolution rule

* add ts-config-moduleresolution tests

* add ts-package-json-main-is-cjs rule

* remove unnecessary replaces

* add ts-package-json-main-is-cjs tests

* add ts-package-json-module rule

* add ts-package-json-module tests

* ignore path import and remove @types/node dependency

* add github-source-headers rule

* fix github-source-headers

* add github-source-headers tests

* add a hyphen

* first attempt at identifier type checking

* make ts-error-handling check identifier types

* add ts-use-interface-parameters rule

* update tests

* add ts-use-interface-parameters tests

* fix type checking

* switch off ts-error-handling

* explicit checking for undefined on find

* add overload functionality to ts-use-interface-parameters

* fix ts-use-interface-parameters logic

* add ts-no-const-enums

* add ts-no-const-enums tests

* more descriptive error messages on ts-use-interface-parameters

* restrict scope of ts-use-interface-parameters and refactor

* attempt deep search of params for types

* fix type conventions

* accept all optional params for ts-use-interface-params

* fix nested object search in ts-use-interface-parameters

* move optional checking to outermost level

* check optional nested params

* change overload detection to use typescript language service

* move npm commands under single script

* add tabs

* add some conditions and displayNames

* remove npm global installs

* add one back

* change npm run pack to npm pack

* rename artifact

* add ts-modules-no-default

* add ts-modules-no-default tests

* fix ts-modules-no-default

* change ts-modules-no-default to ts-modules-named-only (need to add more checks

* forgot file

* clean up ts-modules-only-named

* change report node locations to better describe error sources

* add ts-error-handling rule

* use @types/node for path module declaration instead of separate file

* add ts-error-handling tests

* ts-error-handling-coercion placeholder

* add ts-include-original-source rule

* add ts-include-original-source tests and fix rule

* forgot to add new file in previous commit

* add ts-package-json-files-required rule

* add comments explaining regex

* combine ts-include-original-source into ts-package-json-files-required

* remove ts-error-handling-coercion (will be added in a different pr)

* fix ts-package-json-files-required regex logic

* add ts-ship-type-declarations rule

* format

* add ts-ship-type-declarations tests

* add type checking to ts-ship-type-declarations

* rename ts-ship-type-declarations to ts-package-json-types

* add ts-package-json-engine-is-present rule

* add ts-package-json-engine-is-present tests

* add ts-versioning-semver rule

* add ts-versioning-semver rules

* clarify info on ts-versioning-semver

* add ts-config-target rule

* add ts-config-target tests

* reorder imports

* add ts-config-moduleresolution rule

* add ts-config-moduleresolution tests

* add ts-package-json-main-is-cjs rule

* add ts-package-json-main-is-cjs tests

* add ts-package-json-module rule

* add ts-package-json-module tests

* ignore path import and remove @types/node dependency

* add github-source-headers rule

* fix github-source-headers

* add github-source-headers tests

* first attempt at identifier type checking

* add a hyphen

* make ts-error-handling check identifier types

* add ts-use-interface-parameters rule

* update tests

* add ts-use-interface-parameters tests

* fix type checking

* switch off ts-error-handling

* explicit checking for undefined on find

* add overload functionality to ts-use-interface-parameters

* fix ts-use-interface-parameters logic

* add ts-no-const-enums

* add ts-no-const-enums tests

* more descriptive error messages on ts-use-interface-parameters

* restrict scope of ts-use-interface-parameters and refactor

* attempt deep search of params for types

* fix type conventions

* accept all optional params for ts-use-interface-params

* fix nested object search in ts-use-interface-parameters

* move optional checking to outermost level

* check optional nested params

* change overload detection to use typescript language service

* update version

* check for array types

* ignore private class methods

* add github-source-headers docs

* add ts-config-moduleresolution docs

* add ts-config-target docs

* add ts-error-handling docs

* add ts-modules-only-named docs

* add ts-no-const-enums docs

* add ts-package-json-engine-is-present docs

* add ts-package-json-files-required docs

* add ts-package-json-main-is-cjs docs

* add ts-package-json-module docs

* add ts-package-json-types docs

* add ts-use-interface-parameters docs

* add ts-versioning-semver docs

* add tsdocs

* format

* add markdownlint to lint script

* fix typo

* move optional and external checking to outermost type in parameter, not just nested types

* add to tsdoc-ignore-helpers but disable

* start working on ts-use-promises

* forgot to save

* initial version of ts-use-promises

* add ts-use-promises tests

* add ts-use-promises docs

* minor changes

* start on tsdoc-ignore-helpers again

* remove async and promise from tsdoc-ignore-helpers (leftover from previous implementation)

* use program to get SourceFile instead of CompilerHOst

* able to fetch local exported objects (deep search)

* forgot to add new files

* tsdoc-ignore-helpers works!

* rename tsdoc-ignore-helpers to ts-doc-internal, add tests, docs and general cleanup

* format

* remove Array.flat() for compatibility

* remove format from build script and add format:check script

* add format:check to CI

* cite suggestion and add link

* check that number of rules is expected

* add ts-doc-external rule

* flesh out ts-doc-external (no test cases, need to figure out how to test)

* remove ts-doc-external and clean up

* minimize dependencies on typescript-estree

* update package construction

* begin changing metadata to helper method for less repeaded code

* finish using metadata helper

* general cleanup of code

* change scope to azure

* remove src/ts (somehow got back in?)

* fix ci.yml

* not sure where the changes are coming from

* changed again

* update ts-versioning-semver logic

* Update on GitHub so that code formatter won't affect it
2019-07-16 14:24:44 -07:00
Arpan Laha e0c06ca7ff
Rescope eslint-plugin-azure-sdk from @tscommon to @azuresdktools (#76) 2019-07-11 10:08:31 -07:00
Arpan Laha ce586875d8
Add eslint-plugin-azure-sdk status badge (#73)
* add status badge

* minor formatting
2019-07-08 16:32:42 -07:00
Arpan Laha 21ef707776
Add eslint-plugin-azure-sdk (#53)
* Initial commit

* remove link to sdk repo from README

* add gitignore

* yeoman setup

* update package.json with json library, keywords, and repository info

* reconfigure package.json

* attempt at including json processor

* styling

* move json processor import to lib/index.js

* add .eslintrc

* remove json plugin from .eslintrc

* update json processor with variable assignment

* add first rule (empty) to lib and tests

* create docs folder with first rule

* starter docs for ts-config-strict

* Fix sample JSON syntax

* forgot a comma

* setup ts-config-strict (empty create method)

* attempt at esquery syntax

* forgot a colon

* change typescript version to one currently compatible with eslint

* esquery works, need to get processor running and handle invalid case properly

* use require instead of import in index

* temporary fix to json processing

* hacky workaround to what seems to be deficiencies in ruletester, will implement reports to verify

* report on ts-config-strict failure

* identify compilerOptions.strict value in ts-config-strict error message

* ensure proper nesting in json for ts-config-strict

* create helper to feed processor information to RuleTester

* add header to processTests.js

* change Object.Assign to Object.Create to avoid modifying in-place

* better handle how current filename detection works

* more comprehensive tests (still need to implement robust structural tests)

* check that compilerOptions is in the outermost level

* modify checking for compilerOptions to look for existence at outermost level of the object

* forgot to save on top of previous commit

* check that strict is a member of compilerOptions

* make strict-checking esquery case more specific

* change rule url to official docs

* remove rules folder from docs (urls will point to official guideline documentation)

* make nested value checking modular

* rename nestedValue to structure (will be more general)

* feed info into helper in object instead of individual params

* rename to more general case and more intuitive names

* attempt at typescript conversion

* implement ts-config-esmoduleinterop

* implement ts-config-allowsyntheticdefaultimports

* Create LICENSE

* proper casing for rule type

* add ts-config-isolatedmodules rule

* add ts-config-isolatedmodules test

* add recommended config to index.js

* add typescript parser to recommended config

* update fileoverview headers with respective rule info

* fix comments to match proper object requirements

* add ts-config-forceconsistentcasinginfilenames rule

* add ts-config-forceconsistentcasinginfilenames to tests and index.js

* update comments in tests to reflect respective rule (was left as 'strict' from copy-paste)

* add ts-config-module rule

* add ts-config-module tests

* add ts-config-declaration rule

* add ts-config-declaration tests

* remove unnecessary parser options from tests

* add ts-config-no-experimentaldecorators rule

* add ts-config-no-experimentaldecorators test

* add ts-config-importhelpers rule

* add ts-config-importherlpers rule & tests

* update rule comments with the expected value

* add outer comparison functionality to structure helpers

* add ts-package-json-repo rule

* add ts-package-json-repo tests

* cleanup leftovers from tsconfig testing

* add ts-package-json-bugs

* add ts-package-json-bugs tests

* something works

* update structure and add configs file

* convert ts-config-allowsyntheticdefaultimports to ts

* compiles through commonjs

* clean up/update package.json and tsconfig.json

* more tsconfig.json changes

* move items out of tests/lib to tests

* convert ts-config-declaration to ts

* convert ts-config-esmoduleinterop and ts-config-forceconsistentcasinginfilenames to ts

* remove default imports

* convert ts-config-importhelpers to ts

* convert ts-config-isolatedmodules to ts

* convert ts-config-module to ts

* convert ts-config-noexperimentaldecorators to ts

* convert ts-package-json-bugs to ts

* make inner and fileName inputs to structure methods optional

* clean up package.json

* convert ts-config-strict to ts

* initial setup for processor testing

* finish testing of current processor functionality

* move dependences to and from devDependencies

* formatting

* fix postprocess to take in proper types and ignore no-unused-vars rule

* change export syntax for rules

* strip unnecessary info from path to verify filename

* change 'export =' to 'export default'

* revert previous export changes

* standardize imports

* use same export syntax on structure.js

* use consistent export syntax on processJSON.ts (previously processTests.ts)

* add processJSON.ts (forgot to add in previous commit)

* remove unused listener from ts-package-json-repo and other leftover clutter from copy-paste

* format does not affect .js files (only found in /dist)

* add ts-package-json-author rule

* add ts-package-json-author tests

* add ts-package-json-sideeffects rule

* add ts-package-json-sideeffects tests

* add ts-package-json-license rule

* add helper to extract filename from path

* add fields required/recommended for npm publication

* add rules to recommended config

* change warning to warn

* more pre-publish cleanup

* move processors and configs to respective folders

* fix casing

* add configuration instructions and list of currently supported rules

* clean up unused packages and inconsistencies

* add file overview

* add prepublish script

* add outerContainsExpected helper

* rename expectedValue to expected to denote type ambiguity

* add ts-package-json-keywords rule

* update comment grammar and consistency

* add ts-package-json-keywords tests (failing)

* add filename checking to outerContainsExpected

* move eslint to devDependencies and peerDependencies

* change config env from array to object

* properly export ts-config-no-experimentaldecorators

* remove filename from reports (already mentioned by default

* fix ts-config-no-experimentaldecorators file name

* add ts-package-json-license test

* rename prepublish (deprecated) to prepare

* add typescript-specific unused vars rule to json excluded messages

* add ts-config-exclude rule

* fix typo

* add ts-config-exclude tests

* fix comments

* add ts-config-sourcemap rule

* add ts-config-exclude and ts-config-sourcemap to README.md

* fix README.md lint issues

* add ts-config-sourcemap tests

* fix comments

* add ts-config-lib rule

* add ts-config-lib tests

* add ts-package-json-required-scripts rule

* add ts-package-json-required-scripts-tests

* clean up syntax

* add ts-package-json-name rule

* change checkers variable name to verifiers

* add ts-package-json-license back into rules/index.ts (was removed somehow)

* check for existence of service in eslint settings

* remove reliance on settings and implement regex

* add kebab-case checking

* add ts-package-json-name tests

* remove prefix testing from structure.js

* fix regex

* add ts-package-json-homepage rule

* add ts-package-json-homepage tests

* add ts-package-json-homepage tests (file not added on previous commit)

* rename structure to verifiers

* change let and var to const where appropriate

* change syntax (still incorrect)

* it works?

* remove processor

* change test timeout

* add instructions about adding parserOptions.project to .eslintrc

* add processor back in to exempt json files from no-unused-expression rule

* fix improper param naming in file headers

* change owner to Microsoft Corporation

* add contributors

* change package name

* change version

* forgot to add '-sdk' to one instance of plugin name

* add typescript-specific linting rules (for this repo)

* change snake_case to camelCase

* remove unnecessary identifiers

* remove explicit anys unless necessary

* add lint to prepare script

* fix ts-config-lib to want empty array instead of being not used at all

* change version and make typescript a dev/peer dependency

* move imported .gitignore to repo base .gitignore

* add package lock

* update descriptions

* add tests verifying plugin structure

* cleanup

* test using compiled JS instead of TS

* use same directory for tests and final dist

* restructure scripts

* update package-lock.json

* change filename checking to occur at highest level possible for least repetitions

* remove filename param from package.json rules

* restructure scripts

* remove npm hooks

* clean up loop syntax

* clean up lint warnings

* remove redundant files from package.json files array

* make esquery syntax more strict when querying for property nodes

* add type checking to verifiers and jsdocs

* add jsdocs to tests

* move from src/ts to tools/

* move types to devDependencies

* make ts-config-module case-insensitive

* remove types from tsconfig.build.json

* update package location in README

* remove unnecessary replaces

* move npm commands under single script

* add tabs

* add some conditions and displayNames

* remove npm global installs

* add one back

* change npm run pack to npm pack

* rename artifact
2019-07-08 15:33:37 -07:00
Marsh Macy 1b24e0a171
Fix link to pixel-server README 2019-04-02 13:48:19 -07:00
scbedd e16972b02e correcting capitalization 2019-03-05 15:13:07 -08:00
scbedd 4f86b1130c updating wording in the general readme 2019-03-04 18:17:32 -08:00
scbedd 6c1de6edd8 Adding tool to insert/update a tracking pixel located in every readme.md or readme.rst. 2019-03-04 18:14:30 -08:00
scbedd 2262e0b0c4 updating gitignore. adding pixel server. removing extraneous dependencies. 2019-03-04 11:13:06 -08:00
scbedd b3be1d44c6 removing 2019-02-14 17:16:52 -08:00
scbedd eaf304ee98 status badges 2019-02-14 16:58:24 -08:00
scbedd 2ba2c8f7bf Creating doc-warden package. Updating the repo wide readme with an intro + a index. 2019-02-14 16:26:29 -08:00
scbedd 94b8db06a7 adding doc-warden to the packages folder. updating readme with index. 2019-02-13 16:56:59 -08:00
Microsoft Open Source 1b629506bd Initial commit 2019-02-13 14:55:51 -08:00