main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
558 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | module.exports = {
|
---|
| 2 | env: {
|
---|
| 3 | browser: true,
|
---|
| 4 | es2020: true
|
---|
| 5 | },
|
---|
| 6 | extends: [
|
---|
| 7 | 'eslint:recommended',
|
---|
| 8 | 'plugin:react/recommended',
|
---|
| 9 | 'plugin:prettier/recommended',
|
---|
| 10 | 'plugin:jest/recommended'
|
---|
| 11 | ],
|
---|
| 12 | parser: 'babel-eslint',
|
---|
| 13 | parserOptions: {
|
---|
| 14 | ecmaFeatures: {
|
---|
| 15 | jsx: true
|
---|
| 16 | },
|
---|
| 17 | ecmaVersion: 11,
|
---|
| 18 | sourceType: 'module'
|
---|
| 19 | },
|
---|
| 20 | plugins: ['react', 'jest'],
|
---|
| 21 | rules: {
|
---|
| 22 | 'react/prop-types': 0
|
---|
| 23 | },
|
---|
| 24 | overrides: [
|
---|
| 25 | {
|
---|
| 26 | files: ['scripts/*', '.eslintrc.js', 'babel.config.js'],
|
---|
| 27 | env: {
|
---|
| 28 | node: true
|
---|
| 29 | }
|
---|
| 30 | }
|
---|
| 31 | ]
|
---|
| 32 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.