Name: eslint-config-yoctol
Owner: YOCTOL INFO INC.
Description: Yoctol specific linting rules for ESLint
Created: 2016-02-27 07:34:41.0
Updated: 2017-02-15 07:26:23.0
Pushed: 2018-01-07 03:58:00.0
Size: 55
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Yoctol Info. ESLint config, fork from eslint-config-airbnb
Our default export contains all of our ESLint rules, including EcmaScript 6+
and React. It requires eslint
, eslint-plugin-import
, eslint-plugin-react
, eslint-plugin-jsx-a11y
and eslint-plugin-prettier
.
info "eslint-config-yoctol@latest" peerDependencies
Linux/OSX users can simply run
port PKG=eslint-config-yoctol;
m info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
Which produces and runs a command like:
install --save-dev eslint-config-yoctol eslint@^#.#.# eslint-plugin-jsx-a11y@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-react@^#.#.# eslint-plugin-prettier@^#.#.#
Windows users can either install all the peer dependencies manually, or use the install-peerdeps cli tool.
install -g install-peerdeps
all-peerdeps --dev eslint-config-yoctol
The cli will produce and run a command like:
install --save-dev eslint-config-yoctol eslint@^#.#.# eslint-plugin-jsx-a11y@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-react@^#.#.# eslint-plugin-prettier@^#.#.#
"extends": "yoctol"
to your .eslintrcThis entry point is deprecated. See eslint-config-yoctol-base.
This entry point is deprecated. See eslint-config-yoctol-base.
See Airbnb's Javascript styleguide and the ESlint config docs for more information.
act/sort-prop-types: ['error', {
llbacksLast: true,
noreCase: false,
quiredFirst: false,
act/no-deprecated: ['warn']
act/prefer-stateless-function: 'off'
act/jsx-filename-extension: ['error', { extensions: ['.js'] }]