mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-13 11:09:20 +01:00
use eslint
This commit is contained in:
parent
de46a5c6fe
commit
604792707f
2 changed files with 1 additions and 12 deletions
11
.eslintrc
11
.eslintrc
|
@ -1,18 +1,7 @@
|
|||
{
|
||||
"parser": "babel-eslint",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 8,
|
||||
"sourceType": "module",
|
||||
"ecmaFeatures": {
|
||||
"jsx": true,
|
||||
"modules": true
|
||||
}
|
||||
},
|
||||
"plugins": [
|
||||
"react", "standard"
|
||||
],
|
||||
"env": {
|
||||
"es6": true
|
||||
},
|
||||
"extends": ["standard", "standard-react"]
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
"ios": "react-native-scripts ios",
|
||||
"postinstall": "./node_modules/.bin/rn-nodeify --install buffer,events,process,stream,util,inherits,fs,path --hack",
|
||||
"test": "nodejs ./node_modules/.bin/mocha tests/* && node node_modules/jest/bin/jest.js",
|
||||
"lint": "./node_modules/.bin/standard | ./node_modules/.bin/snazzy"
|
||||
"lint": "./node_modules/.bin/eslint *.js screen/**/*.js"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "jest-expo"
|
||||
|
|
Loading…
Add table
Reference in a new issue