mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 22:19:24 +00:00
42 lines
835 B
JavaScript
42 lines
835 B
JavaScript
module.exports = {
|
|
extends: [
|
|
'airbnb-typescript',
|
|
'airbnb/hooks',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:jest/recommended',
|
|
'prettier',
|
|
'prettier/react',
|
|
'prettier/@typescript-eslint',
|
|
'plugin:prettier/recommended',
|
|
],
|
|
plugins: ['react', '@typescript-eslint', 'jest'],
|
|
env: {
|
|
browser: true,
|
|
es6: true,
|
|
jest: true,
|
|
},
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly',
|
|
},
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
},
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
project: './tsconfig.json',
|
|
},
|
|
rules: {
|
|
'linebreak-style': 'off',
|
|
'react/prop-types': 'off',
|
|
'prettier/prettier': [
|
|
'error',
|
|
{
|
|
endOfLine: 'auto',
|
|
},
|
|
],
|
|
},
|
|
};
|