2020-06-06 17:37:01 +09:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2020: true,
|
|
|
|
node: true,
|
|
|
|
},
|
|
|
|
extends: [
|
2020-06-06 17:51:17 +09:00
|
|
|
'eslint:recommended',
|
|
|
|
'plugin:vue/essential',
|
|
|
|
'plugin:prettier/recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
'prettier',
|
|
|
|
'prettier/@typescript-eslint',
|
|
|
|
'prettier/vue',
|
2020-06-06 17:37:01 +09:00
|
|
|
],
|
2020-06-06 17:51:17 +09:00
|
|
|
parser: 'vue-eslint-parser',
|
2020-06-06 17:37:01 +09:00
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 11,
|
2020-06-06 17:51:17 +09:00
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
sourceType: 'module',
|
2020-06-06 17:37:01 +09:00
|
|
|
},
|
2020-06-06 17:51:17 +09:00
|
|
|
plugins: ['prettier', 'vue', '@typescript-eslint'],
|
2020-06-06 18:11:49 +09:00
|
|
|
rules: {
|
|
|
|
'@typescript-eslint/explicit-module-boundary-types': 0,
|
2020-06-06 18:40:49 +09:00
|
|
|
'@typescript-eslint/no-explicit-any': 0,
|
|
|
|
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
|
2020-06-06 18:11:49 +09:00
|
|
|
},
|
2020-06-06 17:37:01 +09:00
|
|
|
};
|