diff --git a/.eslintignore b/.eslintignore index d9d25c0..1e7bb4f 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,2 +1,4 @@ /src/embarkArtifacts/* -embark/packages \ No newline at end of file +embark/packages +embarkjs-plasma +embark-plasma \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..6897df9 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,23 @@ +{ + "root": true, + "env": { + "node": true + }, + "extends": [ + "plugin:vue/essential", + "eslint:recommended" + ], + "rules": { + "no-console": "off", + "no-restricted-syntax": [ + "error", + { + "selector": "CallExpression[callee.object.name='console'][callee.property.name!=/^(log|warn|error|info|trace)$/]", + "message": "Unexpected property on console object was called" + } + ] + }, + "parserOptions": { + "parser": "babel-eslint" + } +} \ No newline at end of file diff --git a/package.json b/package.json index 8623555..79c9ac2 100644 --- a/package.json +++ b/package.json @@ -41,29 +41,6 @@ "eslint-plugin-vue": "^5.0.0", "vue-template-compiler": "^2.6.10" }, - "eslintConfig": { - "root": true, - "env": { - "node": true - }, - "extends": [ - "plugin:vue/essential", - "eslint:recommended" - ], - "rules": { - "no-console": "off", - "no-restricted-syntax": [ - "error", - { - "selector": "CallExpression[callee.object.name='console'][callee.property.name!=/^(log|warn|error|info|trace)$/]", - "message": "Unexpected property on console object was called" - } - ] - }, - "parserOptions": { - "parser": "babel-eslint" - } - }, "postcss": { "plugins": { "autoprefixer": {} diff --git a/src/App.vue b/src/App.vue index dfcb8ba..38aa3f9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -17,7 +17,8 @@ limitations under the License.