Skip to content

Commit acfc01f

Browse files
authored
Merge pull request #119 from sanason/supported-browsers
Add linter to check browser compatibility.
2 parents ccbb4d9 + 9285b98 commit acfc01f

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)