mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-10 20:02:26 +00:00
add typescript specific linting
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
// eslint.config.js
|
import tseslint from 'typescript-eslint';
|
||||||
export default [
|
|
||||||
|
export default tseslint.config(
|
||||||
|
tseslint.configs.recommended,
|
||||||
{
|
{
|
||||||
files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
|
files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
|
||||||
rules: {
|
rules: {
|
||||||
@@ -7,4 +9,4 @@ export default [
|
|||||||
"prefer-const": "error"
|
"prefer-const": "error"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user