diff --git a/.eslintrc b/.eslintrc.yml similarity index 100% rename from .eslintrc rename to .eslintrc.yml diff --git a/.npmignore b/.npmignore index 3442f1156..8d019b34a 100644 --- a/.npmignore +++ b/.npmignore @@ -3,11 +3,14 @@ reports/ resolvers/ # config -.eslintrc +.babelrc +.eslintrc.yml .travis.yml appveyor.yml +.coveralls.yml .editorconfig .gitignore +gulpfile.js # project stuff *.sublime-* diff --git a/README.md b/README.md index a8bf7c0fb..a2eeaf12e 100644 --- a/README.md +++ b/README.md @@ -54,15 +54,15 @@ or if you manage ESLint as a dev dependency: npm install eslint-plugin-import --save-dev ``` -As of v0.9, all rules are off by default. However, you may configure them manually -in your `.eslintrc`, or extend one of the canned base configs from the `eslint-config-import` -package: +All rules are off by default. However, you may configure them manually +in your `.eslintrc.(yml|json|js)`, or extend one of the canned configs: ```yaml --- extends: - - "eslint:recommended" - - import/warnings # after `npm i -D eslint-config-import`-ing + - eslint:recommended + - plugin:import/errors + - plugin:import/warnings # or configure manually: plugins: diff --git a/config/README.md b/config/README.md deleted file mode 100644 index 2a4ded603..000000000 --- a/config/README.md +++ /dev/null @@ -1,11 +0,0 @@ -This package contains some pre-fabricated ESLint config files, intended for use -with [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import). - -The following stock configurations are provided: - -- `import` (index): just the bare-bones rules that catch misspelled/missing names. -- `import/warnings`: the above, plus warnings for common mistakes. -- `import/es7-jsx`: `import` + parser settings for stage 1 ES7 syntax and JSX. - -All configure the plugin for you. You may opt to combine the latter two for -maximum plugin goodness. diff --git a/config/package.json b/config/package.json deleted file mode 100644 index ec3dea747..000000000 --- a/config/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "eslint-config-import", - "version": "0.13.0", - "description": "Sibling config package for eslint-plugin-import.", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/benmosher/eslint-plugin-import.git" - }, - "keywords": [ - "eslint", - "eslint-config", - "eslint-plugin-import", - "import" - ], - "author": "Ben Mosher ", - "license": "MIT", - "bugs": { - "url": "https://github.com/benmosher/eslint-plugin-import/issues" - }, - "peerDependencies": { - "eslint-plugin-import": "0.13.x" - }, - "homepage": "https://github.com/benmosher/eslint-plugin-import#readme" -}