Add eslint-plugin-eslint-comments

This commit is contained in:
Yuya Ochiai
2019-03-12 23:31:45 +09:00
parent 4725bd9bf9
commit 6d6d586b3b
12 changed files with 47 additions and 4 deletions

View File

@@ -1,5 +1,8 @@
{
"extends": "./.eslintrc-webapp.json",
"extends": [
"./.eslintrc-webapp.json",
"plugin:eslint-comments/recommended"
],
"parserOptions": {
"ecmaVersion": 2017
},
@@ -7,6 +10,7 @@
"import/resolver": "node"
},
"rules": {
"eslint-comments/no-unused-disable": "error",
"header/header": [2, "line", [
" Copyright (c) 2015-2016 Yuya Ochiai",
" Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.",