mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-03-02 16:08:23 +00:00
36 lines
628 B
JavaScript
36 lines
628 B
JavaScript
|
module.exports = {
|
||
|
env: {
|
||
|
browser: true,
|
||
|
es6: true,
|
||
|
},
|
||
|
plugins: ["@typescript-eslint"],
|
||
|
globals: {
|
||
|
Atomics: "readonly",
|
||
|
SharedArrayBuffer: "readonly",
|
||
|
},
|
||
|
overrides: [
|
||
|
{
|
||
|
files: ["**/*.tsx"],
|
||
|
plugins: ["react"],
|
||
|
},
|
||
|
{
|
||
|
files: ["**/*.{test,spec}.{ts,tsx}"],
|
||
|
env: {
|
||
|
jest: true,
|
||
|
},
|
||
|
plugins: ["jest"],
|
||
|
},
|
||
|
],
|
||
|
parser: "@typescript-eslint/parser",
|
||
|
parserOptions: {
|
||
|
ecmaFeatures: {
|
||
|
jsx: true,
|
||
|
},
|
||
|
ecmaVersion: 2018,
|
||
|
sourceType: "module",
|
||
|
},
|
||
|
rules: {
|
||
|
"@typescript-eslint/no-unused-vars-experimental": "error",
|
||
|
},
|
||
|
};
|