Skip to content

Commit

Permalink
move eslint config to .eslintrc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
raineorshine committed Jan 1, 2021
1 parent 4e8254f commit 4d43553
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
29 changes: 29 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module.exports = {
extends: [
'eslint:recommended',
'plugin:jest-dom/recommended',
'plugin:testing-library/recommended',
'plugin:vue/vue3-recommended',
'raine'
],
parserOptions: {
parser: 'babel-eslint'
},
plugins: [
'jest-dom',
'testing-library'
],
rules: {
'vue/component-name-in-template-casing': [
2,
'PascalCase'
],
'vue/max-attributes-per-line': 0,
'vue/singleline-html-element-content-newline': 0,
'vue/html-closing-bracket-newline': 0,
'vue/attribute-hyphenation': 0,
'vue/require-prop-types': 0,
'vue/require-default-prop': 0,
'vue/multiline-html-element-content-newline': 0
}
}
29 changes: 0 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,35 +71,6 @@
"vue-jest": "^5.0.0-0",
"vue-svg-loader": "^0.17.0-beta.2"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:jest-dom/recommended",
"plugin:testing-library/recommended",
"plugin:vue/vue3-recommended",
"raine"
],
"parserOptions": {
"parser": "babel-eslint"
},
"plugins": [
"jest-dom",
"testing-library"
],
"rules": {
"vue/component-name-in-template-casing": [
2,
"PascalCase"
],
"vue/max-attributes-per-line": 0,
"vue/singleline-html-element-content-newline": 0,
"vue/html-closing-bracket-newline": 0,
"vue/attribute-hyphenation": 0,
"vue/require-prop-types": 0,
"vue/require-default-prop": 0,
"vue/multiline-html-element-content-newline": 0
}
},
"browserslist": [
"> 1%",
"last 2 versions",
Expand Down

0 comments on commit 4d43553

Please sign in to comment.