front/.eslintrc.js

25 lines
407 B
JavaScript
Raw Normal View History

2018-11-18 20:23:48 +01:00
module.exports = {
2019-04-13 13:59:58 +02:00
env: {
browser: true,
es6: true,
},
extends: 'airbnb',
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaFeatures: {
jsx: true,
2018-11-18 20:23:48 +01:00
},
2019-04-13 13:59:58 +02:00
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: [
'react',
],
rules: {
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
},
};