Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
whitespaces#235
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
dannygriffin000 wants to merge88 commits intotypescript-eslint:snapshot-testsfromdannygriffin000:master
Uh oh!
There was an error while loading.Please reload this page.
Closed
whitespaces#235
Changes fromall commits
Commits
Show all changes
88 commits Select commitHold shift + click to select a range
132c078 chore: rename and reorg packages (#82)
JamesHenry27a3b75 build: use travis-deploy-once for now
JamesHenry33d0e53 build: revert use travis-deploy-once for now
JamesHenry5ab031a chore: publish v0.2.1
JamesHenrydbd27c5 build: remove deploy job for now
JamesHenrycbb7ffe test(plugin-tslint): update tslint tests (#83)
armano25900649 chore: update .codecov.yml comment config (#84)
j-f1c13b21a docs: align readme across packages (#86)
armano2c5aabf7 docs(plugin-typescript): fix readme instructions (#91)
kripodb321736 feat(parser): support ecmaFeatures.jsx flag and tests (#85)
armano22df5e0c fix(eslint-plugin): no-unused-vars: mark declared statements as used …
armano23f51d51 fix(eslint-plugin): fix crash in rule indent for eslint 5.12.1 (#89)
armano27d178a9 build: separate job for integration tests (#93)
JamesHenry0ddb93c feat(eslint-plugin): remove exported parser (#94)
JamesHenryf0e4d1d docs: some fixes and consistency (#95)
JamesHenryc51d4e0 chore: versions on issue templates
JamesHenry055c3fc fix(eslint-plugin): update remaining parser refs (#97)
JamesHenryaf460d4 chore: publish v1.0.0
JamesHenry09f67ff chore: set up CI with Azure Pipelines (#98)
azure-pipelines[bot]378fbe5 build: enable eslint checks for ci builds (#67)
armano2193b434 fix(eslint-plugin): improve detection of used vars in heritage (#102)
armano2d12b634 chore: fix package names (#105)
JamesHenry34fbe62 test(typescript-estree): enable more alignment tests (#114)
JamesHenry857cdc0 refactor(typescript-estree): correct warnings reported by sonarlint (…
armano2e0f4093 build: try example canary conditional job (#116)
JamesHenry33ac99f build: publish all packages in canary job (#117)
JamesHenry819b640 build: npm auth
JamesHenry5841cd2 fix(eslint-plugin): don’t mark `declare class` as unused (#110)
j-f14e781f1 fix(typescript-estree): fix range of assignment in parameter (#115)
armano2c541ede feat(eslint-plugin): add new rule restrict-plus-operands (#70)
armano274802b1 refactor(typescript-estree): simplify range calculation for body node…
armano291eedf2 fix(typescript-estree): correct range of parameters with comments (#128)
armano29f501a1 feat(eslint-plugin): add option to no-object-literal-type-assertion r…
armano2da7e91e chore: publish v1.1.0
JamesHenry7ed0997 docs(eslint-plugin): update rule names in the roadmap (#108)
j-f1ba8ebb2 chore: add vscode shared config files (#126)
bradzacheraa9d1e1 fix(eslint-plugin): make parser services error clearer (#132)
JamesHenryd8243b4 fix(ts-estree): include modifiers in exported node range (#133)
armano29068b62 fix(ts-estree): expand optional property to include question token (#…
armano2e442d28 test(ts-estree): add broken test cases (#140)
armano25e16003 fix(parser): add visiting of type parameters in JSXOpeningElement (#150)
armano2bdf880b chore: update peer dependencies and node engines (#151)
adamelliotfields4954ed2 refactor(ts-estree): simplify methods location calculation (#152)
armano2e291ec3 refactor(ts-estree): remove dead legacy code (#153)
armano25017c11 chore: upgrade husky and lint-staged (#144)
ikeryo1182aacf5b0 perf(ts-estree): don't create Program in parse() (#148)
JamesHenry5b0b3d9 chore: publish v1.1.1
JamesHenry38abc28 feat(eslint-plugin): add no-unnecessary-type-assertion rule (#157)
uniqueiniquity6147de1 fix(parser): fix regression with no-unused-vars for jsx attributes (#…
armano2f8f9b90 docs(eslint-plugin): no-unnecessary-type-assertion rule name in READM…
vkrolc779ad4 docs(eslint-plugin): add docs on using Prettier with the plugin (#104)
j-f1417c7fb docs(readme): add notes about package versions (#164)
JamesHenryf0dddbc chore(eslint-plugin): add tsutils as dependency (#165)
uniqueiniquity1f868ce fix(eslint-plugin): use bracket for infer type in array-type rule (#173)
armano2b1dbb64 fix(eslint-plugin): fix no-extraneous-class for class without name (#…
armano21ecc2f2 test(eslint-plugin): add test case for eslint arrow-parens (#176)
armano200d020d fix(eslint-plugin): fix wrong URL (#180)
mysticatea3fb57a5 feat(eslint-plugin): add eslint rule no-useless-constructor (#167)
armano276600a5 chore: publish v1.2.0
JamesHenry3efb265 test(ts-estree): add regression test for decorators on variables (#186)
armano23b0fed6 docs(eslint-plugin): fix rule URLs still point to the old repository …
lukythf03ed07 docs(eslint-plugin): replace whitespaces with <br> tag (#198)
armano2f35c20b chore: removed unnecessary path prefix from .vscode/launch.json (#196)
f856e76 test(*): update eslint-plugin-jest and enable recommended rules (#190)
armano2a36e727 test(ts-estree): add test for parsing nested jsx tag names (#191)
armano2bf13399 docs(eslint-plugin): add missing rule and remove duplicate rule (#200)
lukyth773723b refactor(ts-estree): add types to converter (#156)
armano22e5b46e docs(eslint-plugin): add instructions for using Airbnb's config (#177)
aboytone37a1ed fix(ts-estree): fix issue with nested jsx tag names (#197)
armano2f513a14 feat(*): change TypeScript version range to >=3.2.1 <3.4.0 (#184)
JamesHenryd4dfa3b fix(ts-estree): fix issues with typeParams in FunctionExpression (#208)
armano2c1abae9 refactor(ts-estree): improve definition of parameters (#209)
armano2fdac435 test(parser): add missing test cases for parser options (#213)
armano27777cae test(ts-estree): upgrade babel to 7.3.2 (#217)
armano2690bff3 test(ts-estree): correct jsx for semantic-diagnostics tests (#218)
armano23306198 fix(ts-estree): align typeArguments and typeParameters across nodes (…
armano27cd3bc2 refactor(parser): add ast types to parser (#205)
armano207e950e fix(eslint-plugin): fix false positive from adjacent-overload-signatu…
lukyth84162ba feat(eslint-plugin): add new rule no-for-in-array (#155)
uniqueiniquity0a1777f fix(ts-estree): convert decorators on var and fn decs (#211)
JamesHenrya005541 docs(eslint-plugin): removed counts from ROADMAP (#225)
JamesHenryfc50167 feat(ts-estree): enable errors 1098 and 1099 (#219)
armano25f3aec9 feat(eslint-plugin): added new rule promise-function-async (#194)
683e5bc feat(eslint-plugin): add new rule no-require-imports (#199)
lukythd178499 chore: publish v1.3.0
JamesHenry317405a fix(typescript-estree, eslint-plugin): stop adding ParenthesizedExpre…
uniqueiniquityb95c4cf feat(eslint-plugin): add prefer-function-type rule (#222)
uniqueiniquity5e3e285 docs(eslint-plugin): fix metadata for prefer-function-type (#232)
uniqueiniquityFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
The table of contents is too big for display.
Diff view
Diff view
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions.codecov.yml
This file contains hidden or 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 |
|---|---|---|
| @@ -7,3 +7,7 @@ coverage: | ||
| default: | ||
| target: auto | ||
| threshold: 2% | ||
| comment: | ||
| layout: diff, flags, files | ||
| require_changes: true | ||
8 changes: 8 additions & 0 deletions.eslintignore
This file contains hidden or 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,8 @@ | ||
| node_modules | ||
| dist | ||
| jest.config.js | ||
| fixtures | ||
| coverage | ||
| packages/typescript-estree/src/estree | ||
| packages/eslint-plugin-tslint/tests |
75 changes: 75 additions & 0 deletions.eslintrc.json
This file contains hidden or 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,75 @@ | ||
| { | ||
| "root": true, | ||
| "plugins": ["eslint-plugin", "@typescript-eslint", "jest"], | ||
| "env": { | ||
| "es6": true, | ||
| "node": true | ||
| }, | ||
| "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"], | ||
| "rules": { | ||
| "no-mixed-operators": "error", | ||
| "no-console": "off", | ||
| "no-undef": "off", | ||
| "@typescript-eslint/indent": "off", | ||
| "@typescript-eslint/no-explicit-any": "off", | ||
| "@typescript-eslint/no-non-null-assertion": "off", | ||
| "@typescript-eslint/explicit-function-return-type": "off", | ||
| "@typescript-eslint/explicit-member-accessibility": "off", | ||
| "@typescript-eslint/no-var-requires": "off", | ||
| "@typescript-eslint/no-use-before-define": "off", | ||
| "@typescript-eslint/no-object-literal-type-assertion": "off", | ||
| "@typescript-eslint/no-parameter-properties": "off" | ||
| }, | ||
| "parserOptions": { | ||
| "sourceType": "module", | ||
| "ecmaFeatures": { | ||
| "jsx": false | ||
| } | ||
| }, | ||
| "overrides": [ | ||
| { | ||
| "files": [ | ||
| "packages/eslint-plugin-tslint/tests/**/*.ts", | ||
| "packages/eslint-plugin/tests/**/*.js", | ||
| "packages/parser/tests/**/*.ts", | ||
| "packages/typescript-estree/tests/**/*.ts" | ||
| ], | ||
| "env": { | ||
| "jest/globals": true | ||
| }, | ||
| "rules": { | ||
| "jest/no-disabled-tests": "warn", | ||
| "jest/no-focused-tests": "error", | ||
| "jest/no-alias-methods": "error", | ||
| "jest/no-identical-title": "error", | ||
| "jest/no-jasmine-globals": "error", | ||
| "jest/no-jest-import": "error", | ||
| "jest/no-test-prefixes": "error", | ||
| "jest/no-test-callback": "error", | ||
| "jest/no-test-return-statement": "error", | ||
| "jest/prefer-to-have-length": "warn", | ||
| "jest/prefer-spy-on": "error", | ||
| "jest/valid-expect": "error" | ||
| } | ||
| }, | ||
| { | ||
| "files": ["packages/eslint-plugin/**/*.js"], | ||
| "rules": { | ||
| "eslint-plugin/fixer-return": "error", | ||
| "eslint-plugin/no-identical-tests": "error", | ||
| "eslint-plugin/no-missing-placeholders": "error", | ||
| "eslint-plugin/no-unused-placeholders": "error", | ||
| "eslint-plugin/no-useless-token-range": "error", | ||
| "eslint-plugin/require-meta-fixable": "error", | ||
| "eslint-plugin/prefer-placeholders": "error", | ||
| "eslint-plugin/prefer-replace-text": "error", | ||
| "eslint-plugin/no-deprecated-report-api": "error", | ||
| "eslint-plugin/report-message-format": ["error", "^[A-Z'{].*[\\.}]$"], | ||
| "eslint-plugin/no-deprecated-context-methods": "error", | ||
| "eslint-plugin/prefer-output-null": "error", | ||
| "eslint-plugin/test-case-shorthand-strings": "error", | ||
| "eslint-plugin/require-meta-type": "error" | ||
| } | ||
| } | ||
| ] | ||
| } |
29 changes: 14 additions & 15 deletions.github/ISSUE_TEMPLATE/eslint-plugin-tslint.md
This file contains hidden or 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
17 changes: 10 additions & 7 deletions.github/ISSUE_TEMPLATE/eslint-plugin-typescript.md
This file contains hidden or 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
25 changes: 12 additions & 13 deletions.github/ISSUE_TEMPLATE/typescript-eslint-parser.md
This file contains hidden or 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
17 changes: 11 additions & 6 deletions.github/ISSUE_TEMPLATE/typescript-estree.md
This file contains hidden or 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
1 change: 0 additions & 1 deletion.gitignore
This file contains hidden or 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 |
|---|---|---|
| @@ -61,6 +61,5 @@ typings/ | ||
| .next | ||
| .DS_Store | ||
| .idea | ||
| dist | ||
8 changes: 8 additions & 0 deletions.huskyrc
This file contains hidden or 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,8 @@ | ||
| { | ||
| "hooks": { | ||
| "pre-commit": [ | ||
| "yarn test && lint-staged" | ||
| ], | ||
| "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | ||
| } | ||
| } |
6 changes: 6 additions & 0 deletions.lintstagedrc
This file contains hidden or 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,6 @@ | ||
| { | ||
| "*.{ts,js,json,md}": [ | ||
| "prettier --write", | ||
| "git add" | ||
| ] | ||
| } |
2 changes: 1 addition & 1 deletion.prettierignore
This file contains hidden or 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
31 changes: 0 additions & 31 deletions.travis.yml
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
8 changes: 8 additions & 0 deletions.vscode/extensions.json
This file contains hidden or 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,8 @@ | ||
| { | ||
| "recommendations": [ | ||
| "esbenp.prettier-vscode", | ||
| "dbaeumer.vscode-eslint", | ||
| "editorconfig.editorconfig" | ||
| ], | ||
| "unwantedRecommendations": ["hookyqr.beautify", "dbaeumer.jshint"] | ||
| } |
21 changes: 21 additions & 0 deletions.vscode/launch.json
This file contains hidden or 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,21 @@ | ||
| { | ||
| // Use IntelliSense to learn about possible attributes. | ||
| // Hover to view descriptions of existing attributes. | ||
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "type": "node", | ||
| "request": "launch", | ||
| "name": "Jest Test Current eslint-plugin Rule", | ||
| "cwd": "${workspaceFolder}/packages/eslint-plugin/", | ||
| "program": "${workspaceFolder}/node_modules/jest/bin/jest.js", | ||
| "args": [ | ||
| "--colors", | ||
| "tests/lib/rules/${fileBasename}" | ||
| ], | ||
| "console": "integratedTerminal", | ||
| "internalConsoleOptions": "neverOpen" | ||
| } | ||
| ] | ||
| } |
26 changes: 26 additions & 0 deletions.vscode/settings.json
This file contains hidden or 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,26 @@ | ||
| { | ||
| // An array of language ids which should be validated by ESLint | ||
| "eslint.validate": [ | ||
| "javascript", | ||
| "javascriptreact", | ||
| { | ||
| "language": "typescript", | ||
| "autoFix": true | ||
| }, | ||
| { | ||
| "language": "typescriptreact", | ||
| "autoFix": true | ||
| } | ||
| ], | ||
| // When enabled, will trim trailing whitespace when saving a file. | ||
| "files.trimTrailingWhitespace": true, | ||
| // typescript auto-format settings | ||
| "typescript.tsdk": "node_modules/typescript/lib", | ||
| "javascript.preferences.importModuleSpecifier": "auto", | ||
| "typescript.preferences.importModuleSpecifier": "auto", | ||
| "javascript.preferences.quoteStyle": "single", | ||
| "typescript.preferences.quoteStyle": "single" | ||
| } |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.