gatsby-theme-events-typescript
Version:
This is a starter kit for GatsbyJS Themes written in TypeScript. It includes the bare essentials for you to get started.
26 lines • 649 B
JavaScript
module.exports = {
parser: '@typescript-eslint/parser',
extends: [
'plugin:react/recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint',
'plugin:prettier/recommended',
],
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
settings: {
react: {
version: 'detect',
},
},
rules: {
'react/prop-types': 'off',
'@typescript-eslint/explicit-function-return-type': 'off'
},
};