Skip to content

lint errors on npm run build #1861

Closed
@bdefore

Description

@bdefore

I can't run npm build due to linting errors:

> [email protected] build /[REDACTED]/node_modules/material-ui
> npm run eslint && babel --stage 1 ./src --out-dir ./lib


> [email protected] eslint /[REDACTED]/node_modules/material-ui
> gulp eslint

[14:25:12] Using gulpfile /[REDACTED]/node_modules/material-ui/gulpfile.js
[14:25:12] Starting 'eslint'...
[14:25:13] 'eslint' errored after 1.08 s
[14:25:13] ESLintError in plugin 'gulp-eslint'
Message:
    mixins must be placed after childContextTypes
Details:
    fileName: /[REDACTED]/node_modules/material-ui/src/app-bar.jsx
    lineNumber: 13

There's a lot more than just that one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: eslintSpecific to eslint-plugin-material-ui

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions