Skip to content

Commit

Permalink
Fix rules being overwritten by vue
Browse files Browse the repository at this point in the history
  • Loading branch information
beschoenen committed Feb 9, 2020
1 parent 0fabac6 commit 2177aae
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
extends: [
'./node.js',
'./promise.js',
'./es6.js',
'./vue.js',
'./es6.js',
],
};
6 changes: 1 addition & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mapcreator/eslint-config",
"version": "1.1.0",
"version": "1.1.1",
"description": "Mapcreator eslint configs",
"main": "index.js",
"repository": "[email protected]:MapcreatorIO/eslint-config.git",
Expand Down
8 changes: 8 additions & 0 deletions rules/es6/stylisticIssues.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,12 @@ module.exports = {
'switch-colon-spacing': prod(),
'template-tag-spacing': [prod(), 'always'],
},
overrides: [
{
files: ['*.vue'],
rules: {
indent: 'off',
},
},
],
};

0 comments on commit 2177aae

Please sign in to comment.