File tree Expand file tree Collapse file tree 3 files changed +447
-17
lines changed
Expand file tree Collapse file tree 3 files changed +447
-17
lines changed Original file line number Diff line number Diff line change 1+ module . exports = {
2+ parser : 'babel-eslint' ,
3+ env : {
4+ es6 : true ,
5+ } ,
6+ plugins : [ 'jest' ] ,
7+ overrides : {
8+ files : 'src/**/*.test.js' ,
9+ env : {
10+ 'jest/globals' : true ,
11+ } ,
12+ } ,
13+ extends : [
14+ 'eslint:recommended' ,
15+ 'plugin:prettier/recommended' ,
16+ 'plugin:react/recommended' ,
17+ ] ,
18+ parserOptions : {
19+ ecmaFeatures : {
20+ jsx : true ,
21+ } ,
22+ ecmaVersion : 2018 ,
23+ sourceType : 'module' ,
24+ } ,
25+ rules : {
26+ 'react/prop-types' : 'off' ,
27+ } ,
28+ settings : {
29+ react : {
30+ version : 'detect' ,
31+ } ,
32+ } ,
33+ }
Original file line number Diff line number Diff line change 2525 "build" : " exit 0" ,
2626 "commit" : " git-cz" ,
2727 "format" : " yarn prettier --write" ,
28- "lint" : " yarn prettier --list-different " ,
28+ "lint" : " eslint src/**/*.js react-native-fast-image-example/src/**/*.js " ,
2929 "prepare" : " git submodule update --init --recursive" ,
3030 "semantic-release" : " semantic-release" ,
3131 "test" : " jest ./src/*.js" ,
4343 "@semantic-release/git" : " ^7.0.7" ,
4444 "@semantic-release/npm" : " ^5.1.3" ,
4545 "@semantic-release/release-notes-generator" : " ^7.1.4" ,
46+ "babel-eslint" : " ^10.0.1" ,
4647 "babel-jest" : " ^24.1.0" ,
4748 "commitizen" : " ^3.0.5" ,
4849 "cz-conventional-changelog" : " ^2.1.0" ,
50+ "eslint" : " ^5.14.1" ,
51+ "eslint-config-prettier" : " ^4.0.0" ,
52+ "eslint-plugin-jest" : " ^22.3.0" ,
53+ "eslint-plugin-prettier" : " ^3.0.1" ,
54+ "eslint-plugin-react" : " ^7.12.4" ,
4955 "jest" : " ^24.1.0" ,
5056 "metro-react-native-babel-preset" : " 0.48.1" ,
51- "prettier" : " ^1.15.3 " ,
57+ "prettier" : " ^1.16.4 " ,
5258 "prettier-check" : " ^2.0.0" ,
5359 "prop-types" : " ^15.6.2" ,
5460 "react" : " 16.6.0-alpha.8af6728" ,
You can’t perform that action at this time.
0 commit comments