Skip to content

Commit 9285b98

Browse files
committed
Add linter to check browser compatibility.
1 parent 7c14bb3 commit 9285b98

5 files changed

Lines changed: 1349 additions & 1 deletion

File tree

.browserslistrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Supported browsers
2+
last 2 versions
3+
not dead
4+
> 0.1%
5+
Firefox ESR

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/node_modules

eslint.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const compat = require("eslint-plugin-compat");
2+
3+
module.exports = [
4+
compat.configs["flat/recommended"]
5+
];

0 commit comments

Comments
 (0)