mirror of https://github.com/cocosolos/ixion.git
34 lines
722 B
JavaScript
34 lines
722 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
},
|
|
extends: [
|
|
'airbnb',
|
|
'airbnb-typescript',
|
|
'airbnb/hooks',
|
|
'plugin:react/recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:prettier/recommended',
|
|
'plugin:tailwindcss/recommended',
|
|
],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module',
|
|
project: ['./tsconfig.json', './tsconfig.node.json'],
|
|
tsconfigRootDir: __dirname,
|
|
},
|
|
plugins: [
|
|
'react',
|
|
'@typescript-eslint',
|
|
'prettier',
|
|
'tailwindcss',
|
|
'react-refresh',
|
|
],
|
|
rules: {
|
|
'react/react-in-jsx-scope': 0,
|
|
'react-refresh/only-export-components': 'warn',
|
|
},
|
|
};
|