aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorAustin Siew <17107540+Aquafina-water-bottle@users.noreply.github.com>2023-03-22 23:59:35 -0600
committerAustin Siew <17107540+Aquafina-water-bottle@users.noreply.github.com>2023-03-22 23:59:35 -0600
commita14251ea2b2b77b94fa5436b8c055a99c5f66e95 (patch)
treeafffa86f0eca551154e9ebdc04b4a13a0c8431da /.eslintrc.json
parenta2b239886eab4975d93b8be689fb321e6a0e3afa (diff)
fixed eslint, changed header to only use 2 spaces, added missing headers to test
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json25
1 files changed, 7 insertions, 18 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 26355f22..756acbda 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -169,24 +169,13 @@
"*.js"
],
"rules": {
- "header/header": ["error", "block", [
- "",
- {"pattern": " \\* Copyright \\(C\\) (\\d+-)?2022 Yomichan Authors"},
- " *",
- " * This program is free software: you can redistribute it and/or modify",
- " * it under the terms of the GNU General Public License as published by",
- " * the Free Software Foundation, either version 3 of the License, or",
- " * (at your option) any later version.",
- " *",
- " * This program is distributed in the hope that it will be useful,",
- " * but WITHOUT ANY WARRANTY; without even the implied warranty of",
- " * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the",
- " * GNU General Public License for more details.",
- " *",
- " * You should have received a copy of the GNU General Public License",
- " * along with this program. If not, see <https://www.gnu.org/licenses/>.",
- " "
- ]]
+ "header/header": [
+ "error",
+ "block",
+ {
+ "pattern": " \\* Copyright \\(C\\) (\\d+-)?2023 Yomitan Authors(\n \\* Copyright \\(C\\) (\\d+-)?2022 Yomichan Authors)?\n \\*\n \\* This program is free software: you can redistribute it and/or modify\n \\* it under the terms of the GNU General Public License as published by\n \\* the Free Software Foundation, either version 3 of the License, or\n \\* \\(at your option\\) any later version\\.\n \\*\n \\* This program is distributed in the hope that it will be useful,\n \\* but WITHOUT ANY WARRANTY; without even the implied warranty of\n \\* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\\. See the\n \\* GNU General Public License for more details\\.\n \\*\n \\* You should have received a copy of the GNU General Public License\n \\* along with this program\\. If not, see <https://www\\.gnu\\.org/licenses/>\\.\n "
+ }
+ ]
}
},
{