Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
release: 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
shenlq committed Dec 24, 2016
1 parent 43d94d6 commit 0fece3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
const inProduction = process.env.NODE_ENV === 'production';


module.exports = {
parserOptions: {
ecmaVersion: 8,
Expand Down Expand Up @@ -169,6 +172,8 @@ module.exports = {
'standard/computed-property-even-spacing': [2, 'even'],

'promise/param-names': 2,
'no-debugger': inProduction ? 2 : 0,
'no-console': inProduction ? 2 : 0,
},
};

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "eslint-config-vue-impression",
"version": "1.0.3",
"version": "1.0.4",
"description": "ESlint shareable config for Vue support in javaScript standard style.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepublish": "npm config set registry http://registry.npmjs.org",
"prepublish": "npm config set registry http://registry.npmjs.org",
"postpublish": "npm config set registry https://registry.npm.taobao.org/"
},
"repository": {
Expand Down

0 comments on commit 0fece3a

Please sign in to comment.