@spencerwhyte/gatsby-plugin-gdpr-cookies
Version:
Gatsby plugin to add google analytics, google tag manager facebook pixel, tik tok pixel and hotjar in a gdpr form to your site. Consent coming soon.
63 lines (62 loc) • 1.35 kB
Plain Text
{
"root": true,
"parser": "babel-eslint",
"extends": [
"google",
"eslint:recommended",
"plugin:flowtype/recommended",
"plugin:react/recommended",
"prettier",
"prettier/flowtype",
"prettier/react"
],
"plugins": ["flowtype", "prettier", "react", "filenames"],
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"globals": {
"before": true,
"after": true,
"spyOn": true,
"__PATH_PREFIX__": true,
"__BASE_PATH__": true,
"__ASSET_PREFIX__": true
},
"rules": {
"no-unused-expressions": [
"error",
{
"allowTaggedTemplates": true
}
],
"consistent-return": ["error"],
"filenames/match-regex": ["error", "^[a-z-\\d\\.]+$", true],
"no-console": "warn",
"no-inner-declarations": "off",
"prettier/prettier": "error",
"quotes": ["error", "backtick"],
"react/display-name": "off",
"react/jsx-key": "warn",
"react/no-unescaped-entities": "off",
"react/prop-types": "warn",
"require-jsdoc": "off",
"valid-jsdoc": "off",
"no-invalid-this": "off",
"no-unused-vars": "warn"
},
"settings": {
"react": {
"version": "16.4.2"
}
}
}