123456789101112131415161718192021222324252627282930313233 |
- module.exports = {
- env: {
- browser: true,
- es6: true,
- },
- extends: [
- 'standard',
- ],
- globals: {
- Atomics: 'readonly',
- SharedArrayBuffer: 'readonly',
- },
- parser: '@typescript-eslint/parser',
- parserOptions: {
- ecmaFeatures: {
- jsx: true,
- },
- ecmaVersion: 2018,
- sourceType: 'module',
- },
- plugins: [
- 'react',
- '@typescript-eslint',
- ],
- rules: {
- semi: ['error', 'always'],
- 'react/jsx-tag-spacing': ['error', {
- beforeSelfClosing: 'always'
- }],
- 'react/jsx-uses-react': 'error',
- 'react/jsx-uses-vars': 'error',
- },
- };
|