mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-10 23:10:56 +08:00
Clean up web code errors and make CI enforce them
This commit is contained in:
@@ -12,12 +12,6 @@ module.exports = {
|
||||
ecmaVersion: "latest",
|
||||
project: "./tsconfig.json",
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
extends: ["plugin:@typescript-eslint/disable-type-checked"],
|
||||
files: [".eslintrc.cjs"],
|
||||
},
|
||||
],
|
||||
ignorePatterns: [
|
||||
// Ignore generated directories
|
||||
"node_modules/",
|
||||
@@ -28,6 +22,12 @@ module.exports = {
|
||||
"!.*.js",
|
||||
"!.*.ts",
|
||||
],
|
||||
overrides: [
|
||||
{
|
||||
extends: ["plugin:@typescript-eslint/disable-type-checked"],
|
||||
files: ["./*.js", "./*.cjs"],
|
||||
},
|
||||
],
|
||||
rules: {
|
||||
// Standard ESLint config (for ordinary JS syntax linting)
|
||||
indent: "off",
|
||||
|
||||
Reference in New Issue
Block a user