Skip to content
This repository was archived by the owner on Dec 22, 2024. It is now read-only.

Commit f800839

Browse files
committed
build: format eslintrc
1 parent cbbfd5e commit f800839

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.eslintrc.js

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
11
module.exports = {
22
env: {
33
browser: true,
4-
es2021: true
4+
es2021: true,
55
},
6-
extends: ['plugin:react/recommended', 'airbnb', 'airbnb-typescript', 'plugin:react/jsx-runtime', 'plugin:prettier/recommended', 'plugin:storybook/recommended'],
6+
extends: [
7+
'plugin:react/recommended',
8+
'airbnb',
9+
'airbnb-typescript',
10+
'plugin:react/jsx-runtime',
11+
'plugin:prettier/recommended',
12+
'plugin:storybook/recommended',
13+
],
714
parser: '@typescript-eslint/parser',
815
parserOptions: {
916
ecmaFeatures: {
10-
jsx: true
17+
jsx: true,
1118
},
1219
ecmaVersion: 13,
1320
sourceType: 'module',
14-
project: './tsconfig.json'
21+
project: './tsconfig.json',
1522
},
1623
plugins: ['react', '@typescript-eslint'],
1724
rules: {
1825
'import/prefer-default-export': 'off',
1926
'import/no-relative-packages': 'off',
2027
'import/no-extraneous-dependencies': 'off',
2128
'react/require-default-props': 'off',
22-
'react/jsx-fragments': ['error', 'element']
23-
}
24-
};
29+
'react/jsx-fragments': ['error', 'element'],
30+
},
31+
};

0 commit comments

Comments
 (0)