diff --git a/popup/.eslintrc.js b/popup/.eslintrc.js new file mode 100644 index 0000000..a393912 --- /dev/null +++ b/popup/.eslintrc.js @@ -0,0 +1,44 @@ +module.exports = { + "env": { + "browser": true, + "es6": true + }, + "extends": ["eslint:recommended", "plugin:react/recommended"], + "globals": { + "Atomics": "readonly", + "SharedArrayBuffer": "readonly" + }, + "parserOptions": { + "ecmaFeatures": { + "jsx": true + }, + "ecmaVersion": 2018, + "sourceType": "module" + }, + "plugins": [ + "react" + ], + "rules": { + "indent": [ + "error", + "tab" + ], + "linebreak-style": [ + "error", + "unix" + ], + "quotes": [ + "error", + "double" + ], + "semi": [ + "error", + "always" + ] + }, + "settings": { + "react": { + "version": "detect" + } + } +};