UNPKG

react-native-ui-lib

Version:

[![Build Status](https://travis-ci.org/wix/react-native-ui-lib.svg?branch=master)](https://travis-ci.org/wix/react-native-ui-lib) [![npm](https://img.shields.io/npm/v/react-native-ui-lib.svg)](https://www.npmjs.com/package/react-native-ui-lib) [![NPM Down

48 lines (46 loc) 1.69 kB
// const validColors = require("./src/style/colorsPalette").colorsPalette; // const extraFixColorsMap = require("./src/style/colorsPalette").extraFixColorsMap; // const assetsDepJson = require('./eslint-rules/tests/assets_deprecation.json'); module.exports = { "parser": "babel-eslint", "plugins": ["react-native", "uilib"], "extends": ["airbnb"], "rules": { "no-unneeded-ternary": "off", "arrow-body-style": "off", "class-methods-use-this": "off", "consistent-return": "off", "global-require": "off", "import/prefer-default-export": "off", "no-nested-ternary": "off", "no-plusplus": "off", "no-return-assign": "off", "no-use-before-define": "off", "max-len": [2, 130, 4, {"ignoreUrls": true}], "object-curly-spacing": "off", "react/forbid-prop-types": "off", "react/jsx-filename-extension": "off", "react/jsx-space-before-closing": "off", "react/jsx-tag-spacing": "off", "react/prefer-stateless-function": "off", "react/require-default-props": "off", "no-else-return": "off", "no-trailing-spaces": "off", "import/no-extraneous-dependencies": ["error", {"devDependencies": true, "optionalDependencies": false, "peerDependencies": true}], // "uilib/no-hard-coded-color": ["error", validColors, extraFixColorsMap], // "uilib/no-hard-coded-font": "warn" // 'uilib/assets-deprecation': ['error', {deprecations: assetsDepJson, source: '../../assets', dueDate: '2 November, Friday'}] }, "env": { "browser": true, "node": true, "jest": true }, "settings": { "import/resolver": { "node": { "extensions": [".js", ".ios.js", ".android.js"] } } } }