Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
fix(mistake release): reverts last release
Browse files Browse the repository at this point in the history
  • Loading branch information
kuceb committed Aug 5, 2019
1 parent ebda134 commit d5c1776
Show file tree
Hide file tree
Showing 19 changed files with 62 additions and 1,369 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
node_modules
*.log
package-lock.json
*.tgz
2 changes: 0 additions & 2 deletions .npmignore

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npm install --save-dev @cypress/eslint-plugin-dev
1) install the following `devDependencies`:
```sh
@cypress/eslint-plugin-dev
eslint-plugin-json-format
@cypress/eslint-plugin-json
@typescript-eslint/parser
@typescript-eslint/eslint-plugin
eslint-plugin-mocha
Expand Down Expand Up @@ -88,12 +88,12 @@ To auto-fix all staged & unstaged files, run `./node_modules/.bin/lint-changed -

_Should usually be used at the root of the package._
- The majority of the rules.
- auto-fixes `json` files and sorts your `package.json` via [`eslint-plugin-json-format`](https://github.com/bkucera/eslint-plugin-json-format)
- auto-fixes `json` files and sorts your `package.json` via [`@cypress/eslint-plugin-json`](https://github.com/cypress-io/eslint-plugin-json)


**requires you to install the following `devDependencies`**:
```sh
eslint-plugin-json-format
@cypress/eslint-plugin-json
@typescript-eslint/parser
@typescript-eslint/eslint-plugin
```
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 1 addition & 6 deletions lib/index.js → index.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,8 @@ module.exports = {
sourceType: 'module',
},
plugins: [
'json-format',
'@cypress/json',
],
settings: {
json: {
'sort-package-json': 'pro',
},
},
env: {
node: true,
es6: true,
Expand Down
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
"name": "@cypress/eslint-plugin-dev",
"version": "0.0.0-development",
"description": "Common ESLint rules shared by Internal Cypress packages",
"main": "./lib",
"scripts": {
"lint": "eslint --ext .js,json,.eslintrc .",
"lint-changed": "node ./lib/scripts/lint-changed",
"lint-changed": "node ./scripts/lint-changed",
"lint-fix": "npm run lint -- --fix",
"semantic-release": "semantic-release",
"test": "jest"
Expand All @@ -23,7 +22,8 @@
"shelljs": "^0.8.3"
},
"devDependencies": {
"@cypress/eslint-plugin-dev": "file:./shim",
"@cypress/eslint-plugin-dev": "file:./",
"@cypress/eslint-plugin-json": "^3.2.2",
"@fellow/eslint-plugin-coffee": "^0.4.13",
"@types/chai": "^4.1.7",
"@types/jest": "^24.0.15",
Expand All @@ -32,7 +32,6 @@
"@types/sinon-chai": "^3.2.2",
"chai": "^4.2.0",
"eslint": "^6.1.0",
"eslint-plugin-json-format": "^2.0.0",
"eslint-plugin-mocha": "^5.3.0",
"eslint-plugin-promise": "^4.2.1",
"husky": "^2.7.0",
Expand All @@ -45,17 +44,17 @@
"sinon-chai": "^3.3.0"
},
"peerDependencies": {
"@cypress/eslint-plugin-json": ">= 3.2.2",
"@typescript-eslint/eslint-plugin": ">= 1.11.0",
"@typescript-eslint/parser": ">= 1.11.0",
"babel-eslint": "^7.2.3",
"eslint": ">= 3.2.1",
"eslint-plugin-json-format": ">= 2.0.0",
"eslint-plugin-mocha": "^4.11.0",
"eslint-plugin-react": "^7.2.1"
},
"bin": {
"lint-changed": "./lib/scripts/lint-changed.js",
"lint-pre-commit": "./lib/scripts/lint-pre-commit.js"
"lint-changed": "./scripts/lint-changed.js",
"lint-pre-commit": "./scripts/lint-pre-commit.js"
},
"license": "MIT",
"repository": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 0 additions & 5 deletions shim/package.json

This file was deleted.

Loading

0 comments on commit d5c1776

Please sign in to comment.