Skip to content

Commit

Permalink
Swap out eslint-config-aqua for eslint-config-sora
Browse files Browse the repository at this point in the history
  • Loading branch information
Danktuary committed May 5, 2019
1 parent 70db480 commit 4c3e86e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 32 deletions.
28 changes: 1 addition & 27 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,4 @@
module.exports = {
extends: 'aqua/vue',
extends: 'sora/vue',
plugins: ['markdown'],
rules: {
'arrow-body-style': 'off',
'comma-dangle': ['error', 'always-multiline'],
radix: ['error', 'as-needed'],
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-negated-condition': 'off',
'operator-linebreak': ['error', 'before'],
'quote-props': ['error', 'as-needed'],
'vue/max-attributes-per-line': ['error', {
singleline: 4,
multiline: {
max: 1,
allowFirstline: false,
},
}],
'vue/html-self-closing': ['error', {
html: {
void: 'always',
normal: 'never',
component: 'always',
},
}],
'vue/require-default-prop': 'off',
'vue/require-prop-types': 'off',
},
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"devDependencies": {
"babel-eslint": "^10.0.1",
"eslint": "^4.17.0",
"eslint-config-aqua": "^4.4.1",
"eslint-plugin-markdown": "^1.0.0",
"eslint-config-sora": "^2.0.0",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-vue": "^5.2.2",
"vuepress": "^0.14.10"
},
Expand Down
7 changes: 4 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2549,9 +2549,10 @@ escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"

eslint-config-aqua@^4.4.1:
version "4.4.1"
resolved "https://registry.yarnpkg.com/eslint-config-aqua/-/eslint-config-aqua-4.4.1.tgz#eaf15713b7a9ca31d0c4ac9bdbddc1531a2055a7"
eslint-config-sora@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/eslint-config-sora/-/eslint-config-sora-2.0.0.tgz#4f919f8426671b863e416561f139db55220a6df0"
integrity sha512-iuELBbV9+TejOwrK1O6tUAUll3V4j19AzcLlt6mFWmVIxd4aQEV2fxGidkjThG+qfnVCMd4HBnUA3uSPXe+Qow==

eslint-plugin-markdown@^1.0.0:
version "1.0.0"
Expand Down

0 comments on commit 4c3e86e

Please sign in to comment.