mirror of
https://ghproxy.com/https://github.com/StreakingMan/solvable-sheep-game
synced 2025-05-23 03:26:09 +08:00
32 lines
791 B
JavaScript
32 lines
791 B
JavaScript
/**
|
|
* eslint config
|
|
* @ref http://eslint.cn/
|
|
* @desc generated at 9/15/2022, 12:51:49 PM by streakingman-cli@1.9.2
|
|
*/
|
|
|
|
module.exports = {
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
sourceType: 'module',
|
|
ecmaVersion: 11,
|
|
},
|
|
env: {
|
|
es6: true,
|
|
node: true,
|
|
},
|
|
plugins: ['eslint-plugin-prettier', '@typescript-eslint'],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:react/recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:prettier/recommended',
|
|
],
|
|
rules: {
|
|
'prettier/prettier': 'error',
|
|
'@typescript-eslint/no-explicit-any': 0,
|
|
'@typescript-eslint/ban-ts-comment': 0,
|
|
'@typescript-eslint/no-non-null-assertion': 0,
|
|
},
|
|
};
|