Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
88 commits
Select commitHold shift + click to select a range
132c078
chore: rename and reorg packages (#82)
JamesHenryJan 19, 2019
27a3b75
build: use travis-deploy-once for now
JamesHenryJan 19, 2019
33d0e53
build: revert use travis-deploy-once for now
JamesHenryJan 19, 2019
5ab031a
chore: publish v0.2.1
JamesHenryJan 20, 2019
dbd27c5
build: remove deploy job for now
JamesHenryJan 20, 2019
cbb7ffe
test(plugin-tslint): update tslint tests (#83)
armano2Jan 20, 2019
5900649
chore: update .codecov.yml comment config (#84)
j-f1Jan 20, 2019
c13b21a
docs: align readme across packages (#86)
armano2Jan 20, 2019
c5aabf7
docs(plugin-typescript): fix readme instructions (#91)
kripodJan 20, 2019
b321736
feat(parser): support ecmaFeatures.jsx flag and tests (#85)
armano2Jan 20, 2019
2df5e0c
fix(eslint-plugin): no-unused-vars: mark declared statements as used …
armano2Jan 20, 2019
3f51d51
fix(eslint-plugin): fix crash in rule indent for eslint 5.12.1 (#89)
armano2Jan 20, 2019
7d178a9
build: separate job for integration tests (#93)
JamesHenryJan 20, 2019
0ddb93c
feat(eslint-plugin): remove exported parser (#94)
JamesHenryJan 20, 2019
f0e4d1d
docs: some fixes and consistency (#95)
JamesHenryJan 20, 2019
c51d4e0
chore: versions on issue templates
JamesHenryJan 20, 2019
055c3fc
fix(eslint-plugin): update remaining parser refs (#97)
JamesHenryJan 20, 2019
af460d4
chore: publish v1.0.0
JamesHenryJan 20, 2019
09f67ff
chore: set up CI with Azure Pipelines (#98)
azure-pipelines[bot]Jan 21, 2019
378fbe5
build: enable eslint checks for ci builds (#67)
armano2Jan 21, 2019
193b434
fix(eslint-plugin): improve detection of used vars in heritage (#102)
armano2Jan 21, 2019
d12b634
chore: fix package names (#105)
JamesHenryJan 21, 2019
34fbe62
test(typescript-estree): enable more alignment tests (#114)
JamesHenryJan 21, 2019
857cdc0
refactor(typescript-estree): correct warnings reported by sonarlint (…
armano2Jan 22, 2019
e0f4093
build: try example canary conditional job (#116)
JamesHenryJan 22, 2019
33ac99f
build: publish all packages in canary job (#117)
JamesHenryJan 22, 2019
819b640
build: npm auth
JamesHenryJan 22, 2019
5841cd2
fix(eslint-plugin): don’t mark `declare class` as unused (#110)
j-f1Jan 22, 2019
4e781f1
fix(typescript-estree): fix range of assignment in parameter (#115)
armano2Jan 22, 2019
c541ede
feat(eslint-plugin): add new rule restrict-plus-operands (#70)
armano2Jan 22, 2019
74802b1
refactor(typescript-estree): simplify range calculation for body node…
armano2Jan 22, 2019
91eedf2
fix(typescript-estree): correct range of parameters with comments (#128)
armano2Jan 22, 2019
9f501a1
feat(eslint-plugin): add option to no-object-literal-type-assertion r…
armano2Jan 22, 2019
da7e91e
chore: publish v1.1.0
JamesHenryJan 23, 2019
7ed0997
docs(eslint-plugin): update rule names in the roadmap (#108)
j-f1Jan 23, 2019
ba8ebb2
chore: add vscode shared config files (#126)
bradzacherJan 23, 2019
aa9d1e1
fix(eslint-plugin): make parser services error clearer (#132)
JamesHenryJan 23, 2019
d8243b4
fix(ts-estree): include modifiers in exported node range (#133)
armano2Jan 24, 2019
9068b62
fix(ts-estree): expand optional property to include question token (#…
armano2Jan 25, 2019
e442d28
test(ts-estree): add broken test cases (#140)
armano2Jan 27, 2019
5e16003
fix(parser): add visiting of type parameters in JSXOpeningElement (#150)
armano2Jan 27, 2019
bdf880b
chore: update peer dependencies and node engines (#151)
adamelliotfieldsJan 27, 2019
4954ed2
refactor(ts-estree): simplify methods location calculation (#152)
armano2Jan 27, 2019
e291ec3
refactor(ts-estree): remove dead legacy code (#153)
armano2Jan 27, 2019
5017c11
chore: upgrade husky and lint-staged (#144)
ikeryo1182Jan 29, 2019
aacf5b0
perf(ts-estree): don't create Program in parse() (#148)
JamesHenryJan 29, 2019
5b0b3d9
chore: publish v1.1.1
JamesHenryJan 29, 2019
38abc28
feat(eslint-plugin): add no-unnecessary-type-assertion rule (#157)
uniqueiniquityJan 29, 2019
6147de1
fix(parser): fix regression with no-unused-vars for jsx attributes (#…
armano2Jan 29, 2019
f8f9b90
docs(eslint-plugin): no-unnecessary-type-assertion rule name in READM…
vkrolJan 30, 2019
c779ad4
docs(eslint-plugin): add docs on using Prettier with the plugin (#104)
j-f1Jan 30, 2019
417c7fb
docs(readme): add notes about package versions (#164)
JamesHenryJan 30, 2019
f0dddbc
chore(eslint-plugin): add tsutils as dependency (#165)
uniqueiniquityJan 30, 2019
1f868ce
fix(eslint-plugin): use bracket for infer type in array-type rule (#173)
armano2Jan 31, 2019
b1dbb64
fix(eslint-plugin): fix no-extraneous-class for class without name (#…
armano2Jan 31, 2019
1ecc2f2
test(eslint-plugin): add test case for eslint arrow-parens (#176)
armano2Feb 1, 2019
00d020d
fix(eslint-plugin): fix wrong URL (#180)
mysticateaFeb 1, 2019
3fb57a5
feat(eslint-plugin): add eslint rule no-useless-constructor (#167)
armano2Feb 1, 2019
76600a5
chore: publish v1.2.0
JamesHenryFeb 1, 2019
3efb265
test(ts-estree): add regression test for decorators on variables (#186)
armano2Feb 2, 2019
3b0fed6
docs(eslint-plugin): fix rule URLs still point to the old repository …
lukythFeb 3, 2019
f03ed07
docs(eslint-plugin): replace whitespaces with <br> tag (#198)
armano2Feb 3, 2019
f35c20b
chore: removed unnecessary path prefix from .vscode/launch.json (#196)
Feb 3, 2019
f856e76
test(*): update eslint-plugin-jest and enable recommended rules (#190)
armano2Feb 3, 2019
a36e727
test(ts-estree): add test for parsing nested jsx tag names (#191)
armano2Feb 3, 2019
bf13399
docs(eslint-plugin): add missing rule and remove duplicate rule (#200)
lukythFeb 3, 2019
773723b
refactor(ts-estree): add types to converter (#156)
armano2Feb 3, 2019
2e5b46e
docs(eslint-plugin): add instructions for using Airbnb's config (#177)
aboytonFeb 4, 2019
e37a1ed
fix(ts-estree): fix issue with nested jsx tag names (#197)
armano2Feb 4, 2019
f513a14
feat(*): change TypeScript version range to >=3.2.1 <3.4.0 (#184)
JamesHenryFeb 4, 2019
d4dfa3b
fix(ts-estree): fix issues with typeParams in FunctionExpression (#208)
armano2Feb 4, 2019
c1abae9
refactor(ts-estree): improve definition of parameters (#209)
armano2Feb 5, 2019
fdac435
test(parser): add missing test cases for parser options (#213)
armano2Feb 6, 2019
7777cae
test(ts-estree): upgrade babel to 7.3.2 (#217)
armano2Feb 6, 2019
690bff3
test(ts-estree): correct jsx for semantic-diagnostics tests (#218)
armano2Feb 6, 2019
3306198
fix(ts-estree): align typeArguments and typeParameters across nodes (…
armano2Feb 7, 2019
7cd3bc2
refactor(parser): add ast types to parser (#205)
armano2Feb 7, 2019
07e950e
fix(eslint-plugin): fix false positive from adjacent-overload-signatu…
lukythFeb 7, 2019
84162ba
feat(eslint-plugin): add new rule no-for-in-array (#155)
uniqueiniquityFeb 7, 2019
0a1777f
fix(ts-estree): convert decorators on var and fn decs (#211)
JamesHenryFeb 7, 2019
a005541
docs(eslint-plugin): removed counts from ROADMAP (#225)
JamesHenryFeb 7, 2019
fc50167
feat(ts-estree): enable errors 1098 and 1099 (#219)
armano2Feb 7, 2019
5f3aec9
feat(eslint-plugin): added new rule promise-function-async (#194)
Feb 7, 2019
683e5bc
feat(eslint-plugin): add new rule no-require-imports (#199)
lukythFeb 7, 2019
d178499
chore: publish v1.3.0
JamesHenryFeb 7, 2019
317405a
fix(typescript-estree, eslint-plugin): stop adding ParenthesizedExpre…
uniqueiniquityFeb 8, 2019
b95c4cf
feat(eslint-plugin): add prefer-function-type rule (#222)
uniqueiniquityFeb 8, 2019
5e3e285
docs(eslint-plugin): fix metadata for prefer-function-type (#232)
uniqueiniquityFeb 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions.codecov.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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
View file
Open in desktop
Original file line numberDiff line numberDiff 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
View file
Open in desktop
Original file line numberDiff line numberDiff 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
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
---
name: eslint-plugin-tslint
about: Report an issue with the eslint-plugin-tslint package
name:'@typescript-eslint/eslint-plugin-tslint'
about: Report an issue with the'@typescript-eslint/eslint-plugin-tslint' package
title: ''
labels: 'package: eslint-plugin-tslint, triage'
labels: 'package:@typescript-eslint/eslint-plugin-tslint, triage'
assignees: ''
---

**What version of Node.js and npm are you using?**

- Node: <!-- Please fill in -->
- npm: <!-- Please fill in -->

**What version of the following packages are you using?**

- eslint-plugin-tslint: <!-- Please fill in -->
- typescript-eslint-parser: <!-- Please fill in -->
- TypeScript: <!-- Please fill in -->
- ESLint: <!-- Please fill in -->

**What code were you trying to parse?**

```ts
Expand All@@ -27,3 +15,14 @@ assignees: ''
**What did you expect to happen?**

**What actually happened?**

**Versions**

| package | version |
| ----------------------------------------- | ------- |
| `@typescript-eslint/eslint-plugin-tslint` | `X.Y.Z` |
| `@typescript-eslint/parser` | `X.Y.Z` |
| `TypeScript` | `X.Y.Z` |
| `ESLint` | `X.Y.Z` |
| `node` | `X.Y.Z` |
| `npm` | `X.Y.Z` |
17 changes: 10 additions & 7 deletions.github/ISSUE_TEMPLATE/eslint-plugin-typescript.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
---
name: eslint-plugin-typescript
about: Report an issue with the eslint-plugin-typescript package
name:'@typescript-eslint/eslint-plugin'
about: Report an issue with the'@typescript-eslint/eslint-plugin' package
title: ''
labels: 'package: eslint-plugin, triage'
assignees: ''
Expand DownExpand Up@@ -38,8 +38,11 @@ Please try to avoid code that isn't directly related to the bug, as it makes it

**Versions**

| package | version |
| -------------------------- | ------- |
| `eslint-plugin-typescript` | `X.Y.Z` |
| `typescript-eslint-parser` | `X.Y.Z` |
| `typescript` | `X.Y.Z` |
| package | version |
| ---------------------------------- | ------- |
| `@typescript-eslint/eslint-plugin` | `X.Y.Z` |
| `@typescript-eslint/parser` | `X.Y.Z` |
| `TypeScript` | `X.Y.Z` |
| `ESLint` | `X.Y.Z` |
| `node` | `X.Y.Z` |
| `npm` | `X.Y.Z` |
25 changes: 12 additions & 13 deletions.github/ISSUE_TEMPLATE/typescript-eslint-parser.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
---
name: 'typescript-eslint-parser'
about: Report an issue with the typescript-eslint-parser package
name: '@typescript-eslint/parser'
about: Report an issue with the'@typescript-eslint/parser' package
title: ''
labels: 'package: parser, triage'
assignees: ''
---

**What version of Node.js and npm are you using?**

- Node: <!-- Please fill in -->
- npm: <!-- Please fill in -->

**What version of the following packages are you using?**

- typescript-eslint-parser: <!-- Please fill in -->
- TypeScript: <!-- Please fill in -->
- ESLint: <!-- Please fill in -->

**What code were you trying to parse?**

```ts
Expand All@@ -26,3 +15,13 @@ assignees: ''
**What did you expect to happen?**

**What actually happened?**

**Versions**

| package | version |
| --------------------------- | ------- |
| `@typescript-eslint/parser` | `X.Y.Z` |
| `TypeScript` | `X.Y.Z` |
| `ESLint` | `X.Y.Z` |
| `node` | `X.Y.Z` |
| `npm` | `X.Y.Z` |
17 changes: 11 additions & 6 deletions.github/ISSUE_TEMPLATE/typescript-estree.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
---
name: typescript-estree
about: Report an issue with the `typescript-estree` package
name:'@typescript-eslint/typescript-estree'
about: Report an issue with the `@typescript-eslint/typescript-estree` package
title: ''
labels: 'package: typescript-estree, triage'
assignees: ''
---

**What version of TypeScript are you using?**

**What version of `typescript-estree` are you using?**

**What code were you trying to parse?**

```ts
Expand All@@ -19,3 +15,12 @@ assignees: ''
**What did you expect to happen?**

**What actually happened?**

**Versions**

| package | version |
| -------------------------------------- | ------- |
| `@typescript-eslint/typescript-estree` | `X.Y.Z` |
| `TypeScript` | `X.Y.Z` |
| `node` | `X.Y.Z` |
| `npm` | `X.Y.Z` |
1 change: 0 additions & 1 deletion.gitignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -61,6 +61,5 @@ typings/
.next

.DS_Store
.vscode
.idea
dist
8 changes: 8 additions & 0 deletions.huskyrc
View file
Open in desktop
Original file line numberDiff line numberDiff 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
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
{
"*.{ts,js,json,md}": [
"prettier --write",
"git add"
]
}
2 changes: 1 addition & 1 deletion.prettierignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
**/tests/fixtures/**/*
**/dist
**/coverage
**/typescript-eslint-shared-fixtures
**/shared-fixtures
**/tests/integration/fixtures/**/*
**/lib/configs/recommended.json
**/.vscode
Expand Down
31 changes: 0 additions & 31 deletions.travis.yml
View file
Open in desktop

This file was deleted.

8 changes: 8 additions & 0 deletions.vscode/extensions.json
View file
Open in desktop
Original file line numberDiff line numberDiff 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
View file
Open in desktop
Original file line numberDiff line numberDiff 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
View file
Open in desktop
Original file line numberDiff line numberDiff 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"
}
Loading

[8]ページ先頭

©2009-2025 Movatter.jp