mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-02 02:30:29 +00:00
38 lines
644 B
JavaScript
38 lines
644 B
JavaScript
module.exports = {
|
|
extends: [
|
|
'airbnb-typescript',
|
|
'airbnb/hooks',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:jest/recommended',
|
|
'plugin:prettier/recommended'
|
|
],
|
|
plugins: ['react', '@typescript-eslint', 'jest'],
|
|
env: {
|
|
browser: true,
|
|
es6: true,
|
|
jest: true
|
|
},
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly'
|
|
},
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaFeatures: {
|
|
jsx: true
|
|
},
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
project: './tsconfig.json'
|
|
},
|
|
rules: {
|
|
'linebreak-style': 'off',
|
|
'prettier/prettier': [
|
|
'error',
|
|
{
|
|
endOfLine: 'auto'
|
|
}
|
|
]
|
|
}
|
|
};
|