diff options
author | Sam Potts <sam@potts.es> | 2020-06-27 21:59:22 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2020-11-14 12:55:06 +1100 |
commit | 1c715bc88922e20360c7ad2d5b625cccb16247fa (patch) | |
tree | 26fcce45cdb7b79b92eaed0ca8d28e2a9a967007 /.eslintrc | |
parent | 35ef42246b233973017724ace1df906c18408f82 (diff) | |
download | plyr-1c715bc88922e20360c7ad2d5b625cccb16247fa.tar.lz plyr-1c715bc88922e20360c7ad2d5b625cccb16247fa.tar.xz plyr-1c715bc88922e20360c7ad2d5b625cccb16247fa.zip |
ESLint to use common config
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 44 |
1 files changed, 16 insertions, 28 deletions
@@ -1,30 +1,18 @@ { - "parser": "babel-eslint", - "extends": ["airbnb-base", "prettier"], - "plugins": ["simple-import-sort", "import"], - "env": { - "browser": true, - "es6": true - }, - "globals": { - "Plyr": false, - "jQuery": false - }, - "rules": { - "import/no-cycle": "warn", - "padding-line-between-statements": [ - "error", - { - "blankLine": "never", - "prev": ["singleline-const", "singleline-let", "singleline-var"], - "next": ["singleline-const", "singleline-let", "singleline-var"] - } - ], - "sort-imports": "off", - "import/order": "off", - "simple-import-sort/sort": "error" - }, - "parserOptions": { - "sourceType": "module" - } + "parser": "babel-eslint", + "extends": ["@sampotts/eslint-config/es6"], + "env": { + "browser": true, + "es6": true + }, + "globals": { + "Plyr": false, + "jQuery": false + }, + "rules": { + "import/no-cycle": "warn" + }, + "parserOptions": { + "sourceType": "module" + } } |