Skip to content

Instantly share code, notes, and snippets.

@mousemke
Last active May 20, 2022 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mousemke/74331ab909b1e1bca2aaee0813038a96 to your computer and use it in GitHub Desktop.
Save mousemke/74331ab909b1e1bca2aaee0813038a96 to your computer and use it in GitHub Desktop.
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'airbnb-base',
'plugin:prettier/recommended',
],
globals: {
describe: 'readonly',
beforeEach: 'readonly',
expect: 'readonly',
it: 'readonly',
jest: 'readonly',
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: [
'@typescript-eslint',
'prettier',
],
rules: {
'prettier/prettier': ['error'],
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment