|
1 | 1 | { |
2 | 2 | "parser": "babel-eslint", |
3 | | - "plugins": ["react-native"], |
| 3 | + "plugins": ["react-native", "uilib"], |
4 | 4 | "extends": ["airbnb"], |
5 | 5 | "rules": { |
6 | | - "object-curly-spacing": "off", |
7 | | - "react/prefer-stateless-function": "off", |
8 | | - "react/jsx-filename-extension": "off", |
9 | | - "react/require-default-props": "off", |
| 6 | + "arrow-body-style": "off", |
| 7 | + "class-methods-use-this": "off", |
| 8 | + "consistent-return": "off", |
| 9 | + "global-require": "off", |
| 10 | + "import/prefer-default-export": "off", |
| 11 | + "no-plusplus": "off", |
| 12 | + "no-return-assign": "off", |
10 | 13 | "no-use-before-define": "off", |
| 14 | + "max-len": [2, 120, 4, {"ignoreUrls": true}], |
| 15 | + "object-curly-spacing": "off", |
11 | 16 | "react/forbid-prop-types": "off", |
| 17 | + "react/jsx-filename-extension": "off", |
12 | 18 | "react/jsx-space-before-closing": "off", |
13 | 19 | "react/jsx-tag-spacing": "off", |
14 | | - "max-len": [2, 120, 4, {"ignoreUrls": true}], |
15 | | - "class-methods-use-this": "off", |
16 | | - "arrow-body-style": "off", |
17 | | - "no-plusplus": "off", |
18 | | - "import/prefer-default-export": "off", |
19 | | - "global-require": "off", |
20 | | - "consistent-return": "off", |
21 | | - "no-return-assign": "off" |
| 20 | + "react/prefer-stateless-function": "off", |
| 21 | + "react/require-default-props": "off", |
| 22 | + "uilib/no-hard-coded-font": "warn" |
22 | 23 | }, |
23 | 24 | "env": { |
24 | 25 | "browser": true, |
|
0 commit comments