1234567891011121314151617181920212223242526272829303132333435 |
- 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'
- }],
- 'no-unused-vars': 'off',
- 'react/jsx-uses-react': 'error',
- 'react/jsx-uses-vars': 'error',
- '@typescript-eslint/no-unused-vars': 'error'
- },
- };
|