mirror of
https://github.com/fosrl/pangolin.git
synced 2025-06-20 20:35:43 +02:00
add typescript specific linting
This commit is contained in:
parent
3b10453af3
commit
2047aa30e1
1 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
|||
// eslint.config.js
|
||||
export default [
|
||||
import tseslint from 'typescript-eslint';
|
||||
|
||||
export default tseslint.config(
|
||||
tseslint.configs.recommended,
|
||||
{
|
||||
files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
|
||||
rules: {
|
||||
|
@ -7,4 +9,4 @@ export default [
|
|||
"prefer-const": "error"
|
||||
}
|
||||
}
|
||||
];
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue