forked from Materialfy/M-Dash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
complete re-scaffold package.json and .eslintrc.js for issue Material…
- Loading branch information
Showing
4 changed files
with
64 additions
and
9,672 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,35 @@ | ||
/* eslint-disable no-undef */ | ||
module.exports = { | ||
root: true, | ||
// this section will be used to determine which APIs are available to us | ||
// (i.e are we running in a browser environment or a node.js env) | ||
env: { | ||
//node: true, | ||
browser: true, | ||
}, | ||
extends: [ | ||
// use the recommended rule set for both plain javascript and vue, this changes warning level | ||
'eslint:recommended', | ||
'plugin:vue/essential', | ||
'plugin:vuetify/base', | ||
//'prettier/vue', | ||
//'plugin:prettier/recommended' | ||
], | ||
rules: { | ||
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
'template-curly-spacing': 'off', | ||
'indent': 'off', | ||
'vue/multi-word-component-names': ['error', { | ||
'ignores': ['Footer', 'Error', 'Calendar', 'Notifications', 'Settings', 'Toasts', 'apexchart', 'Dash'] | ||
}] | ||
}, | ||
parserOptions: { | ||
parser: '@babel/eslint-parser', | ||
'sourceType': 'module', | ||
'requireConfigFile': false | ||
}, | ||
root: true, | ||
// this section will be used to determine which APIs are available to us | ||
// (i.e are we running in a browser environment or a node.js env) | ||
env: { | ||
//node: true, | ||
browser: true, | ||
}, | ||
extends: [ | ||
// use the recommended rule set for both plain javascript and vue, this changes warning level | ||
// All the "prettier" and "vuetify" linting give errors, possibly due to version mismatches | ||
'plugin:vue/essential', | ||
'eslint:recommended', | ||
// 'plugin:prettier/recommended' | ||
// '@vue/prettier' | ||
// 'plugin:vuetify/base', | ||
//'prettier/vue', | ||
], | ||
rules: { | ||
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
'template-curly-spacing': 'off', | ||
'indent': 'off', | ||
// For later versions | ||
// 'vue/multi-word-component-names': ['error', { | ||
// 'ignores': ['Footer', 'Error', 'Calendar', 'Notifications', 'Settings', 'Toasts', 'apexchart', 'Dash'] | ||
// }] | ||
}, | ||
parserOptions: { | ||
parser: 'babel-eslint', | ||
'sourceType': 'module', | ||
'requireConfigFile': false | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
module.exports = { | ||
presets: [ | ||
'@vue/app' | ||
] | ||
} | ||
presets: ["@vue/cli-plugin-babel/preset"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.