Exclude test from eslint checking since it always was excluded, and I can't get it to check

This commit is contained in:
Andy Balaam 2023-02-23 17:10:06 +00:00
parent 26a308d8c6
commit f960700a2a
3 changed files with 6 additions and 6 deletions

View file

@ -21,7 +21,7 @@ module.exports = {
}, },
overrides: [ overrides: [
{ {
files: ["src/**/*.ts", "test/**/*.ts"], files: ["src/**/*.ts"],
extends: ["plugin:matrix-org/typescript"], extends: ["plugin:matrix-org/typescript"],
rules: { rules: {
// Things we do that break the ideal style // Things we do that break the ideal style

View file

@ -21,11 +21,11 @@
"start": "yarn run build:ts && yarn run build:res && electron .", "start": "yarn run build:ts && yarn run build:res && electron .",
"lint": "yarn lint:types && yarn lint:js", "lint": "yarn lint:types && yarn lint:js",
"lint:js": "yarn lint:js:src && yarn lint:js:scripts && yarn lint:js:hak", "lint:js": "yarn lint:js:src && yarn lint:js:scripts && yarn lint:js:hak",
"lint:js:src": "eslint --max-warnings 0 src test", "lint:js:src": "eslint --max-warnings 0 src",
"lint:js:scripts": "eslint --max-warnings 0 --config .eslintrc-scripts.js scripts", "lint:js:scripts": "eslint --max-warnings 0 --config .eslintrc-scripts.js scripts",
"lint:js:hak": "eslint --max-warnings 0 --config .eslintrc-hak.js hak", "lint:js:hak": "eslint --max-warnings 0 --config .eslintrc-hak.js hak",
"lint:js-fix": "yarn lint:js-fix:src && yarn lint:js-fix:scripts && yarn lint:js-fix:hak", "lint:js-fix": "yarn lint:js-fix:src && yarn lint:js-fix:scripts && yarn lint:js-fix:hak",
"lint:js-fix:src": "eslint --fix --max-warnings 0 src test", "lint:js-fix:src": "eslint --fix --max-warnings 0 src",
"lint:js-fix:scripts": "eslint --fix --max-warnings 0 --config .eslintrc-scripts.js scripts", "lint:js-fix:scripts": "eslint --fix --max-warnings 0 --config .eslintrc-scripts.js scripts",
"lint:js-fix:hak": "eslint --fix --max-warnings 0 --config .eslintrc-hak.js hak", "lint:js-fix:hak": "eslint --fix --max-warnings 0 --config .eslintrc-hak.js hak",
"lint:types": "yarn lint:types:src && yarn lint:types:scripts && yarn lint:types:hak", "lint:types": "yarn lint:types:src && yarn lint:types:scripts && yarn lint:types:hak",

View file

@ -7,12 +7,12 @@
"target": "es2016", "target": "es2016",
"sourceMap": false, "sourceMap": false,
"outDir": "./lib", "outDir": "./lib",
"rootDir": ".", "rootDir": "./src",
"declaration": true, "declaration": true,
"typeRoots": ["src/@types", "node_modules/@types"], "typeRoots": ["src/@types", "node_modules/@types"],
"lib": ["es2019", "dom"], "lib": ["es2019", "dom"],
"types": ["jest", "node"], "types": ["node"],
"strict": true "strict": true
}, },
"include": ["./src/**/*.ts", "./test/**/*.ts"] "include": ["./src/**/*.ts"]
} }