You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
570 B
30 lines
570 B
import globals from "globals"; |
|
import eslintConfigPrettier from "eslint-plugin-prettier/recommended"; |
|
|
|
export default [ |
|
{ |
|
ignores: ["build/**/*"], |
|
}, |
|
{ |
|
files: ["lib/**/*.js"], |
|
languageOptions: { |
|
sourceType: "module", |
|
globals: { |
|
...globals.browser, |
|
gobalThis: "readonly", |
|
}, |
|
}, |
|
}, |
|
{ |
|
files: ["test/**/*.js"], |
|
languageOptions: { |
|
globals: { |
|
...globals.browser, |
|
...globals.mocha, |
|
...globals.chai, |
|
...globals.nodeBuiltin, |
|
}, |
|
}, |
|
}, |
|
eslintConfigPrettier, |
|
];
|
|
|