mirror of
https://github.com/fosrl/pangolin.git
synced 2025-06-21 04:45:41 +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
|
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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue