-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: Use a single file for general config (#181)
* Update: Use a single file for general config * Update dependencies to match main branch
- Loading branch information
1 parent
ae694d1
commit b214222
Showing
8 changed files
with
115 additions
and
134 deletions.
There are no files selected for viewing
This file contains 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,5 @@ | ||
--- | ||
'@zazen/eslint-config': patch | ||
--- | ||
|
||
Use a single file for general config |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -1,81 +1,79 @@ | ||
{ | ||
"name": "@zazen/eslint-config", | ||
"description": "Lint JavaScript, free of weariness and confusion", | ||
"license": "ISC", | ||
"author": "Jeff <rustyangel@gmail.com> (https://tidaltheory.co)", | ||
"homepage": "https://github.com/stormwarning/zazen-eslint-config", | ||
"repository": "stormwarning/zazen-eslint-config", | ||
"version": "2.1.1", | ||
"scripts": { | ||
"changeset": "changeset add", | ||
"eslint-check": "eslint --print-config . | eslint-config-prettier-check", | ||
"lint": "eslint '**/*.js'", | ||
"release": "changeset publish", | ||
"test": "npm run lint" | ||
}, | ||
"optionalDependencies": { | ||
"eslint-plugin-vue": "7.6.x" | ||
}, | ||
"dependencies": { | ||
"babel-eslint": "10.1.0", | ||
"eslint-config-prettier": "8.0.0", | ||
"eslint-config-standard": "16.0.2", | ||
"eslint-plugin-import": "2.22.1", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-prefer-let": "1.1.0", | ||
"eslint-plugin-prettier": "3.3.1", | ||
"eslint-plugin-promise": "4.3.1", | ||
"eslint-plugin-standard": "5.0.0" | ||
}, | ||
"peerDependencies": { | ||
"eslint": ">=6", | ||
"prettier": ">=1.18" | ||
}, | ||
"devDependencies": { | ||
"@changesets/changelog-github": "0.2.8", | ||
"@changesets/cli": "2.14.x", | ||
"eslint": "7.20.x", | ||
"husky": "4.3.x", | ||
"lint-staged": "10.5.x", | ||
"prettier": "2.2.x", | ||
"prettier-plugin-packagejson": "2.2.x" | ||
}, | ||
"keywords": [ | ||
"eslint-config", | ||
"standard style" | ||
"name": "@zazen/eslint-config", | ||
"version": "2.1.1", | ||
"description": "Lint JavaScript, free of weariness and confusion", | ||
"keywords": [ | ||
"eslint-config", | ||
"standard style" | ||
], | ||
"homepage": "https://github.com/stormwarning/zazen-eslint-config", | ||
"repository": "stormwarning/zazen-eslint-config", | ||
"license": "ISC", | ||
"author": "Jeff <rustyangel@gmail.com> (https://tidaltheory.co)", | ||
"scripts": { | ||
"changeset": "changeset add", | ||
"eslint-check": "eslint --print-config . | eslint-config-prettier-check", | ||
"lint": "eslint '**/*.js'", | ||
"release": "changeset publish", | ||
"test": "npm run lint" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"eslint --fix", | ||
"git add" | ||
], | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"eslint --fix", | ||
"git add" | ||
], | ||
"package.json": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"prettier": { | ||
"arrowParens": "always", | ||
"semi": false, | ||
"singleQuote": true, | ||
"tabWidth": 4, | ||
"trailingComma": "all" | ||
}, | ||
"changelog": { | ||
"repo": "stormwarning/zazen-eslint-config", | ||
"labels": { | ||
"breaking": "💣 Breaking Change", | ||
"removed": "🗑️ Removed", | ||
"deprecated": "🚚 Deprecated", | ||
"changed": "♻️ Changed", | ||
"added": "🎁 Added", | ||
"fixed": "🐛 Fixed", | ||
"security": "🔒 Security" | ||
} | ||
"package.json": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"prettier": { | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
}, | ||
"dependencies": { | ||
"babel-eslint": "10.1.0", | ||
"eslint-config-prettier": "8.0.0", | ||
"eslint-config-standard": "16.0.2", | ||
"eslint-plugin-import": "2.22.1", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-prefer-let": "1.1.0", | ||
"eslint-plugin-prettier": "3.3.1", | ||
"eslint-plugin-promise": "4.3.1", | ||
"eslint-plugin-standard": "5.0.0" | ||
}, | ||
"devDependencies": { | ||
"@changesets/changelog-github": "0.2.8", | ||
"@changesets/cli": "2.14.x", | ||
"eslint": "7.20.x", | ||
"husky": "4.3.x", | ||
"lint-staged": "10.5.x", | ||
"prettier": "2.2.x", | ||
"prettier-plugin-packagejson": "2.2.x" | ||
}, | ||
"peerDependencies": { | ||
"eslint": ">=6", | ||
"prettier": ">=1.18" | ||
}, | ||
"optionalDependencies": { | ||
"eslint-plugin-vue": "7.6.x" | ||
}, | ||
"changelog": { | ||
"repo": "stormwarning/zazen-eslint-config", | ||
"labels": { | ||
"breaking": "💣 Breaking Change", | ||
"removed": "🗑️ Removed", | ||
"deprecated": "🚚 Deprecated", | ||
"changed": "♻️ Changed", | ||
"added": "🎁 Added", | ||
"fixed": "🐛 Fixed", | ||
"security": "🔒 Security" | ||
} | ||
} | ||
} |
This file contains 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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/** | ||
* Vuejs project rules. | ||
* @see https://eslint.vuejs.org/rules/ | ||
*/ | ||
module.exports = { | ||
extends: ['plugin:vue/recommended', 'prettier/vue'], | ||
extends: ['plugin:vue/recommended'], | ||
} |