Skip to content

Commit

Permalink
🚨 add linter configuration
Browse files Browse the repository at this point in the history
Signed-off-by: JAGFx <contact@jagfx.fr>
  • Loading branch information
JAGFx committed Jul 28, 2021
1 parent e9d0bd7 commit 673e09f
Show file tree
Hide file tree
Showing 61 changed files with 2,704 additions and 22,352 deletions.
19 changes: 8 additions & 11 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
extends: [
'eslint:recommended',
'plugin:vue/essential',
'eslint:recommended'
"plugin:vue/strongly-recommended",
"plugin:vue/recommended",
],
parserOptions: {
parser: 'babel-eslint'
},
rules: {
'no-unused-vars': 1,
'no-prototype-builtins': 0,
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-mixed-spaces-and-tabs': [ 2, 'smart-tabs' ]
'no-console': 2,
'no-debugger': 2,
'no-mixed-spaces-and-tabs': [ 2, 'smart-tabs' ],
'vue/no-v-html': 'off'
}
};
Loading

0 comments on commit 673e09f

Please sign in to comment.