tissue/.eslintrc.js

29 lines
794 B
JavaScript
Raw Normal View History

2020-06-06 17:37:01 +09:00
module.exports = {
env: {
browser: true,
es2020: true,
node: true,
},
extends: [
'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
],
parser: 'vue-eslint-parser',
2020-06-06 17:37:01 +09:00
parserOptions: {
ecmaVersion: 11,
parser: '@typescript-eslint/parser',
sourceType: 'module',
2020-06-06 17:37:01 +09:00
},
plugins: ['prettier', 'vue', '@typescript-eslint'],
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 17:37:01 +09:00
};