Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

[CHORE] Run Prettier on the other files in the project #237

Merged
merged 13 commits into from
Dec 18, 2018
10 changes: 5 additions & 5 deletions .github/no-response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ responseRequiredLabel: "awaiting response"

# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.
11 changes: 0 additions & 11 deletions .prettierrc

This file was deleted.

2 changes: 2 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
jsxBracketSameLine: true
trailingComma: es5
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
language: node_js
sudo: false
node_js:
- "6"
- "8"
- "10"
- "11"
- "6"
- "8"
- "10"
- "11"
install: yarn
script:
- yarn lint
- yarn format-check
- yarn docs:check
- yarn test
- yarn lint
- yarn format-check
- yarn docs:check
- yarn test
116 changes: 58 additions & 58 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
{
"name": "eslint-plugin-typescript",
"version": "0.14.0",
"description": "TypeScript plugin for ESLint",
"keywords": [
"eslint",
"eslintplugin",
"eslint-plugin"
],
"repository": "nzakas/eslint-plugin-typescript",
"author": "Nicholas C. Zakas",
"main": "lib/index.js",
"scripts": {
"lint": "eslint lib/ tests/",
"lint:fix": "eslint lib/ tests/ --fix",
"docs": "eslint-docs",
"docs:check": "eslint-docs check",
"prettier": "prettier **/*.{md,yml,json}",
"format-no-write": "prettier-eslint *.js lib/**/*.js tests/**/*.js --eslint-config-path=.eslintrc --eslint-ignore --prettier-ignore --eslint-path=node_modules/eslint --config=.prettierrc",
"format": "yarn format-no-write --write && yarn prettier --write",
"format-check": "yarn format-no-write --list-different && yarn prettier --list-different",
"test": "mocha tests --recursive --reporter=dot"
},
"dependencies": {
"requireindex": "^1.2.0",
"typescript-eslint-parser": "21.0.2"
},
"devDependencies": {
"eslint": "^5.9.0",
"eslint-config-eslint": "^5.0.1",
"eslint-config-prettier": "^3.3.0",
"eslint-docs": "^0.2.6",
"eslint-plugin-eslint-plugin": "^2.0.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^1.2.0",
"lint-staged": "^8.1.0",
"mocha": "^5.2.0",
"prettier-eslint-cli": "^4.7.1",
"typescript": "~3.1.1"
},
"peerDependencies": {
"eslint": ">=4.13.1 < 6"
},
"lint-staged": {
"*.js": [
"yarn format",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn check --verify-tree && yarn lint && yarn format-check && yarn test && yarn docs:check && lint-staged"
}
},
"engines": {
"node": ">=6"
},
"license": "MIT"
"name": "eslint-plugin-typescript",
"version": "0.14.0",
"description": "TypeScript plugin for ESLint",
"keywords": [
"eslint",
"eslintplugin",
"eslint-plugin"
],
"repository": "nzakas/eslint-plugin-typescript",
"author": "Nicholas C. Zakas",
"main": "lib/index.js",
"scripts": {
"lint": "eslint lib/ tests/",
"lint:fix": "eslint lib/ tests/ --fix",
"docs": "eslint-docs",
"docs:check": "eslint-docs check",
"prettier": "prettier **/*.{md,yml,json}",
"format-no-write": "prettier-eslint *.js lib/**/*.js tests/**/*.js --eslint-config-path=.eslintrc --eslint-ignore --prettier-ignore --eslint-path=node_modules/eslint --config=.prettierrc",
"format": "yarn format-no-write --write && yarn prettier --write",
"format-check": "yarn format-no-write --list-different && yarn prettier --list-different",
"test": "mocha tests --recursive --reporter=dot"
},
"dependencies": {
"requireindex": "^1.2.0",
"typescript-eslint-parser": "21.0.2"
},
"devDependencies": {
"eslint": "^5.9.0",
"eslint-config-eslint": "^5.0.1",
"eslint-config-prettier": "^3.3.0",
"eslint-docs": "^0.2.6",
"eslint-plugin-eslint-plugin": "^2.0.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^1.2.0",
"lint-staged": "^8.1.0",
"mocha": "^5.2.0",
"prettier-eslint-cli": "^4.7.1",
"typescript": "~3.1.1"
},
"peerDependencies": {
"eslint": ">=4.13.1 < 6"
},
"lint-staged": {
"*.js": [
"yarn format",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn check --verify-tree && yarn lint && yarn format-check && yarn test && yarn docs:check && lint-staged"
}
},
"engines": {
"node": ">=6"
},
"license": "MIT"
}
4 changes: 2 additions & 2 deletions tests/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
env:
mocha: true
mocha: true
rules:
node/no-unpublished-require: off # we’re using devDeps here.
node/no-unpublished-require: off # we’re using devDeps here.