Hopefully stop lint command from erroring

This commit is contained in:
abias 2023-05-23 08:34:20 -04:00
parent 7030eb8949
commit 06a553c7a4
4 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,7 @@
generate_translations.js
webpack.config.js
src/api_tests
**/*.png
**/*.css
**/*.scss
**/*.svg

View file

@ -12,7 +12,7 @@
"build:prod": "webpack --mode=production",
"clean": "yarn run rimraf dist",
"dev": "yarn start",
"lint": "node generate_translations.js && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
"lint": "node generate_translations.js && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
"prepare": "husky install",
"start": "yarn build:dev --watch"
},

View file

@ -612,4 +612,4 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
});
}
}
}
}

View file

@ -20,5 +20,9 @@
"strictNullChecks": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src/**/*", "node_modules/inferno/dist/index.d.ts"]
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"node_modules/inferno/dist/index.d.ts"
]
}