{ "parser": "babel-eslint", "extends": ["standard", "standard-jsx"], "env": { "browser": true, "node": true, "jest": true }, "globals": { "window": true, "hexo": true }, "plugins": ["jest", "compat", "jsdoc"], "rules": { "jsx-quotes": ["error", "prefer-double"], "compat/compat": ["error"], "react/jsx-handler-names": ["warn"], // maybe we want to do this in the future? "jsdoc/check-alignment": ["warn"], "jsdoc/check-examples": ["warn"], "jsdoc/check-param-names": ["warn"], "jsdoc/check-syntax": ["warn"], "jsdoc/check-tag-names": ["warn"], "jsdoc/check-types": ["warn"], "jsdoc/newline-after-description": ["warn"], "jsdoc/valid-types": ["warn"], "jsdoc/check-indentation": ["off"] }, "settings": { "react": { "pragma": "h" }, "polyfills": [ "Promise", "fetch", "Object.assign", "document.querySelector" ] }, "overrides": [{ "files": [ "*.test.js", "test/endtoend/*.js", "website/*.js", "bin/*.js" ], "rules": { "compat/compat": "off" } },{ "files": [ "packages/@uppy/locales/src/*.js", "packages/@uppy/locales/template.js" ], "rules": { "camelcase": "off", "quote-props": "off" } }] }